startup vnc server automatically with xdm
You may expect a xdm will display when you open a vnc viewer to a server, there are at least two benefits:
- no need vnc to maintain its own password
- automatically start vnc service
- http://ubuntuforums.org/showthread.php?t=259448
- http://www.oreilly.com/catalog/morelnxsvrhks/chapter/hack13.pdf
- http://gentoo-wiki.com/HOWTO_RealVNC,_TightVNC,_XF4VNC
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -ac -query localhost -once -geometry 1300x900 -depth 16
}
The reason to use 16 depth instead of 8 is eclipse cannot run on 256 colors.