From: Todd on 15 Jan 2010 19:35 Hi All, OS: CentOS 5.4 GUI: Xfce 4.4.2 I am trying to get Xvnc up and running. So far I can get past the password, get a big black screen with a movable "X" for the mouse, then after about 10 seconds, it dies. "Supposedly", I am suppose to see my gdm greater (logon) screen. What am I doing wrong? Many thanks, -T /etc/xinetd.d/Xvnc: service Xvnc { type = UNLISTED disable = no socket_type = stream protocol = tcp wait = yes user = root server = /usr/bin/Xvnc server_args = -inetd :1 -query localhost -geometry 1024x768 -depth 16 -once -fp /usr/share/X11/fonts/misc -DisconnectClients=0 -NeverShared passwordFile=/etc/Xvnc/.vncpasswd port = 5901 } I restart xinetd with: # (cd /etc/rc.d/init.d; ./xinetd stop; killall Xvnc; ./xinetd start)
From: Marty on 17 Jan 2010 05:17 On 01/15/2010 04:35 PM, Todd wrote: > Hi All, > > OS: CentOS 5.4 > GUI: Xfce 4.4.2 > > I am trying to get Xvnc up and running. So far I can > get past the password, get a big black screen with > a movable "X" for the mouse, then after about 10 seconds, > it dies. "Supposedly", I am suppose to see my gdm greater > (logon) screen. What am I doing wrong? > > Many thanks, > -T > > /etc/xinetd.d/Xvnc: > > service Xvnc > { > type = UNLISTED > disable = no > socket_type = stream > protocol = tcp > wait = yes > user = root > server = /usr/bin/Xvnc > server_args = -inetd :1 -query localhost -geometry 1024x768 > -depth 16 -once -fp /usr/share/X11/fonts/misc -DisconnectClients=0 > -NeverShared passwordFile=/etc/Xvnc/.vncpasswd > port = 5901 > } > > > I restart xinetd with: > # (cd /etc/rc.d/init.d; ./xinetd stop; killall Xvnc; ./xinetd start) What's in your ~/.vnc/xstartup? That controls what actually runs inside of the VNC X display. Sounds like the display itself initialized ok, but didn't have any valid X clients running, so it closed out. -- Reverse the parts of the e-mail address to reply by mail.
From: Todd on 17 Jan 2010 15:29 On 01/17/2010 02:17 AM, Marty wrote: > On 01/15/2010 04:35 PM, Todd wrote: >> Hi All, >> >> OS: CentOS 5.4 >> GUI: Xfce 4.4.2 >> >> I am trying to get Xvnc up and running. So far I can >> get past the password, get a big black screen with >> a movable "X" for the mouse, then after about 10 seconds, >> it dies. "Supposedly", I am suppose to see my gdm greater >> (logon) screen. What am I doing wrong? >> >> Many thanks, >> -T >> >> /etc/xinetd.d/Xvnc: >> >> service Xvnc >> { >> type = UNLISTED >> disable = no >> socket_type = stream >> protocol = tcp >> wait = yes >> user = root >> server = /usr/bin/Xvnc >> server_args = -inetd :1 -query localhost -geometry 1024x768 >> -depth 16 -once -fp /usr/share/X11/fonts/misc -DisconnectClients=0 >> -NeverShared passwordFile=/etc/Xvnc/.vncpasswd >> port = 5901 >> } >> >> >> I restart xinetd with: >> # (cd /etc/rc.d/init.d; ./xinetd stop; killall Xvnc; ./xinetd start) > > What's in your ~/.vnc/xstartup? That controls what actually runs inside > of the VNC X display. Sounds like the display itself initialized ok, > but didn't have any valid X clients running, so it closed out. I have been trying to get it to start the gdm greeter, which should be user free until you choose a user. I have tried various examples I have found on the Internet for ~/.vnc/xstartup, but they start some weird window manager with an xterm in it. And, when you exit, one of my processors max's out at 100%, until I kill Xvnc. And, the window manager is specific to a user. No gdm greeter. -T One of the examples I have tried: #!/bin/sh (-) # Add the following line to ensure you always have an xterm available. ( while true ; do xterm ; done ) & # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & twm &
|
Pages: 1 Prev: Custom facilities in syslog? Next: Software reset of ps2/usb adapter? |