Here is a little information from my testing methodology.
Code:
pjones@pkjones:/tmp$ tail /etc/gdm/Init/Default
fi
fi
fi
fi
touch /var/doesinitwork
/usr/bin/x11vnc -o /var/log/x11vnc -noxdamage -verbose -auth /var/lib/gdm/:1.Xauth -rfbauth /etc/.vncpasswd -rfbport 5900 -shared -forever -bg -scale 3/4 -users pjones -solid \#003399 -afteraccept "gconftool-2 --type bool --set /desktop/gnome/background/draw_background false" -gone "gconftool-2 --type bool --set /desktop/gnome/background/draw_background true"
exit 0
Here I show the last couple commands in /etc/gdm/Init/Default. Both of these commands should be run, and indeed do run successfully when I manually run /etc/gdm/Init/Default as root (like gdm should do).
Code:
pjones@pkjones:/tmp$ ls /var
backups crash lib lock mail run tmp
cache games local log opt spool www
you can see that /var/doesinitwork is not created.
Code:
pjones@pkjones:/tmp$ sudo ps -aef | grep x11vnc
[sudo] password for pjones:
pjones 3276 3228 0 11:01 pts/1 00:00:00 grep x11vnc
and that x11vnc is not running
Code:
pjones@pkjones:/tmp$ tail /var/log/x11vnc
03/11/2009 08:10:09 PointerEvent : 4164 | 24984/ 24984 ( 0.0%)
03/11/2009 08:10:09 FramebufferUpdate : 825 | 8250/ 8250 ( 0.0%)
03/11/2009 08:10:09 SetEncodings : 1 | 72/ 72 ( 0.0%)
03/11/2009 08:10:09 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
03/11/2009 08:10:09 TOTALS : 5187 | 34894/ 34894 ( 0.0%)
caught signal: 15
03/11/2009 08:10:32 deleted 105 tile_row polling images.
extra[1] signal: -1
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 2116201 requests (2116200 known processed) with 0 events remaining.
The machine was rebooted at 8:10, so the final line in the log was the running x11vnc process dieing. There are no more lines logged to the file from an x11vnc instance starting up after reboot.
Thank you again for your help on this. Sorry if I'm being dense, but the link in the other thread, http://x11vnc.sourceforge.net/dev/x11vnc-0.9.9.tar.gz , should be the new version your previous post spoke about? If so, I'll give that a try and see if that works any better. Is it correct that the 'touch /var/doesinitwork' should get executed, and I should see that file in /var?
Thanks!
Bookmarks