Click to See Complete Forum and Search --> : VNC / Linux issues
sqlcursor
11-10-2003, 09:58 AM
OK,
I've been looking at the VNC documentation, but I have a few questions. First, When I start the session and login, all I see is a grey background with a terminal window. Is this all that VNC is? Is it possible to get the full blown gnome session? I've added the lines per the documentation, but the log file says:
gnome-session: you're already running a session manager.
Can someone let me know what the xstartup file is supposed to look like?
Thanks.
ph34r
11-10-2003, 10:08 AM
Be easier to just use SSH and tunnel an X session over that... http://www.afn.org/~afn57538/xforward.htm
rameyd
11-10-2003, 10:48 AM
This link, along with the VNC documentation should get you going with a remote desktop
Using VNC with Linux (http://www.justlinux.com/nhf/Networks/Using_VNC_with_Linux.html)
sqlcursor
11-10-2003, 12:46 PM
I did go through that documentation. This is what it says to put in the file:
!/bin/sh
[ -r $HOME/.Xresources ]
&& xrdb $HOME/.Xresources
xsetroot -solid grey
exec gnome-session &
However, when I put that, I get an error in the log stating that it can't find the !/bin/sh no such file or directory. Also, this is in my file, which is not in the documentation:
!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
If I comment out the xterm and twm lines, I only get a grey screen with no terminal window.
rameyd
11-13-2003, 10:58 PM
Sorry to have been late with the reply. I've been getting killed at work.
Here is my xstartup file
#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
exec fluxbox &
I like the clean desktop of fluxbox, so I surpressed the xterm window and I found that the xsetroot pooched the background colours and I had to force a refresh (within RealVNC on my win2k box)
I am actually hoping that you were able to resolve this before now.:)
Dave
sharth
11-13-2003, 11:07 PM
yeah, edit your file and its #!/bin/sh not !/bin/sh