Quote:
Originally Posted by r3sistance
you need to go into ~/.vnc/xstartup (as the user you are VNCing in as) and add an entry into that load a desktop. For my server I use kde and use the following two lines. the xterm line may already exist, these two lines should appear as the last lines in the file I believe.
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startkde &
As a note, make sure if you are using VNC, you are doing so encrypted, most default to unencrypted which sends usernames and passwords in plain text. If you wish to test if you have gnome or KDE, while in the default view, you get a terminal, you can type startkde to test for kde or gnome-session to test for gnome. If neither work then you'll likely have to install one.
|
Thanks for the info!! - I SSH'd to the server and typed in gnome-session and got a command not found. I tried kdestart and got this:
startkde
xsetroot: unable to open display ''
xset: unable to open display ""
xset: unable to open display ""
xsetroot: unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.
So it looks like kde is installed but not starting? Should I go ahead and edit .vnc/xstartup to have startkde - or should I try to install gnome