Mandriva LE 2005, Xvnc, kdm and xinetd
Hi,
I'm having a really rough time getting Xvnc to start on demand through xinetd on my new Mandriva 2005 LE install.
xinetd is working fine, I use it to ssh to the Mandriva box.
X is also working fine, I can log in locally as root or a regular user
if I start Xvnc via the vncserver script, I can connect just fine.
I'm not running any firewall scripts
using linuxreviews.org/howtos/xvnc/ as a guide,
1. I configured /etc/kde/kdm/kdmrc to enable XDMCP on port 177
2. I commented out "DisplayManager.requestPort :0" in /etc/X11/xdm/xdm-config
3. /etc/X11/xdm/Xaccess has "* #allow any host to connect"
4. I added "vnc-1024x768x24 5951/tcp" to my /etc/services file
5. I created the file /etc/xinetd.d/xvncserver with the following contents:
service vnc-1024x768x24
{
disable = no
protocol = tcp
socket_type = stream
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = -inetd -query localhost -once -geometry 1024x768 -depth 24
}
When I try connect from the network or the localhost ("vncviewer localhost:51"), I get a vnc window with the proper dimensions, but just a grey hatched background and a cursor... no window manager or login dialog.
I've tried running the service as root and as a real user. I've tried adding the "-fp unix/:7100", "securitytypes=none", and "passwordfile=/home/username/.vnc/passwd" command line options with no luck.
Any ideas? This is driving me nuts!
-s.
|