Linux 下參考下面的設定方式...
http://forums.gentoo.org/viewtopic.php?t=72893
再安裝 xf4vnc
emerge xf4vnc
如果使用 xfce4 的話, 要讓 xdm 可以登入, 需...
which startxfce4 > /etc/X11/Sessions/xfce4
chmod 755 /etc/X11/Sessions/xfce4
在 /etc/rc.conf 中..
XSESSION="xfce4"
最後執行
/etc/init.d/xdm restart
要一開機就可以啟動服務, 再下
<B>rc-update add xdm default</B>
在 windows 使用 UltraVNC 登入
port 請參考 http://forums.gentoo.org/viewtopic.php?t=72893
中設定之解析度
PS: 如果使用遠端登入無法出現 XDM, Check 一下 /etc/X11/xdm/xdm.log 中是否有
***************************************************
xdm error (pid 1448): XDMCP socket creation failed, errno 97
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/cobol:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
***************************************************
訊息, 如果有的話, 請在 /etc/X11/xdm/Xaccess 中加入
LISTEN 0.0.0.0