so i'm trying to get x11vnc working. it sort of does already. when a user has already logged in via xdm (or its visuallogin variant thingy) locally, it works fine. even 3d rendering can be used - although as expected, it looks like crap. : )
a second xdm instance (display :1) also works fine with Xvnc (no 3d rendering, though) - see below.
not to mention xdmcp with xephyr works fine too - i get a plain xdm login that way (and also no glx f course).
but when xdm has already been started but no user is logged in yet, x11vnc just hangs.
what is even more interesting is that x11vnc hangs the same way when i try to attach to display :1 (the Xvnc one), even after logging in there..
now it is pretty obvious that some do-magick is happening in /var/X11/xdm/Xlogin or Xstartup, but i cannot figure out what.
for reference, here's my /var/X11/xdm/Xservers:
Code: Select all
:0 secure /usr/bin/X11/X -auth /var/X11/xdm/xdm-auth-0 -bs -nobitscale -c -class TrueColor -pseudomap 4sight -solidroot black -cursorFG black -cursorBG white -depth 24
#:1 local /usr/nekoware/bin/Xvnc :1 -geometry 1280x720 -depth 24
(i tried changing 'secure' in the first line to 'local' but didn't help)
also, i'm starting x11vnc with this command:
Code: Select all
sudo x11vnc -display :0 -rfbport 5900 -repeat -auth /var/X11/xdm/xdm-auth-0
can someone who is an expert on this please help me out?
thanks in advance,
bamdad