I run Xephyr:Xephyr -ac -screen 1024x768 -br -reset -terminate 2> /dev/null :1 & and then I can run there some window:
export DISPLAY=:1 xterm & When I check xorg processes ps ax | grep xorg I only see one xorg process but Xephyr also runs Xserver so why it is not visible ?
ps ax | grep xorgwill match the command line like/usr/lib/xorg/Xorg :0 ..... What makes you believe that the command line you are running (Xephyr -ac ...) should matchxorgdespite not containing thexorgstring anywhere?ps axwill still print just the command line (the same thing you can get withtr '\0' ' ' </proc/PID/cmdlineon linux).echo 'Section "Device" Identifier "dummy" Driver "dummy" EndSection' | PATH=/usr/lib/xorg:$PATH Xorg -config /dev/stdin :3