I am trying to configure my gentoo linux server so that I can remoely
connect with a vnc client and see the entire desktop. I have done this in
the past, but I must be missing something. I would really really appreciate
any help anyone can offer.
I enable XDMCP in the kdmrc file.
In /etc/X11/xdm/xdm-config comment out the line that reads:
"DisplayManager.requestPort: 0"
Edit the /etc/X11/xdm/Xaccess and allow any client to access. (just until I
get it working)
Create an entry in the /etc/services for the port I will use to connect.
ex. vnc 5901/tcp # VNC Server
Finally I add an entry into the xinetd configuration dir.
service vnc
{
disable = no
port = 5901
socket_type = stream
wait = no
user = root
instances = 5
server = /usr/local/bin/Xvnc
server_args = -inetd -query localhost -once -geometry
1024x768 -depth 8
log_on_failure += USERID HOST
}
Restart xinetd, xdm, kdn and usually I am ready to connect.
Well, when restarting the xinetd service, it shows me that it started my vnc
entry.
When I scan UDP 177, XDMCP is running.
But when I try to connect, all I get is the following enrty in the syslog:
Jan 12 01:00:39 [xinetd] START: vnc pid=24377 from=192.168.0.2
Jan 12 01:00:39 [xinetd] FAIL: vnc address from=192.168.0.2
I cannot find a further explanation of what is going on. I's a very very
vague error message.
Please, if anyone has any suggestions or recommendations, please let me
know.
Thanks.
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list