• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Autostart Desktop Sharing on Linux box

bob4432

Lifer
how do i autostart the desktop sharing in linux? i am out of monitors and don't want to buy another kvm, so i was wondering how to autostart the desktop sharing in linux. i am a noob so please explain 🙂

thanks
 
Which desktop enviroment are you using? KDE or Gnome. (KDE has the sprockets, Gnome has the foot).

KDE's remote desktop, I beleive, is a slightly modified version of VNC, but I am not sure about Gnome.

The customary way to remotely access a Linux box is by using 'ssh'. SSH is like telnet, but it's encrypted and secure. Most of the time a ssh server is installed by default in most Linux distro versions.

There is a good SSH client for Windows called putty.exe. It's free and it's easy to use. Just download it and run it from your desktop, or install the bigger package. (with that you can use sftp and scp to transfer files around, too.)

SSH accesses the shell remotely, so it's not all graphical like VNC is... but you can do things like ssh into the machine remotely and start your remote desktop, or vnc that way. I don't think you can do kde's desktop sharing like that because it expects that you already have a X window session open...

vncserver or tightvncserver doesn't have that problem, though. It starts up a completley new X Window session just for that vnc service, so you can have dozens running at once.. but they dont' do the 'remote control' thing that happens when you start a vnc server on windows.

However the window manager that it uses by default is fairly ugly with a nasty gray screen. You have to edit a config file to fix it, but I dont' know if you want to do that just right now. Personally I prefer using just plain old ssh.

 
Here's what I put in to get rid of the horrid grey hatch screen:

For KDE:
WM="startkde"
WMPATH="/usr/bin /opt/bin /usr/local/bin /usr/X11R6/bin"

for p in $WMPATH ; do
[ -x $p/$WM ] && exec $p/$WM
done

exit 1

For gnome:

WM="gnome-session"
WMPATH="/usr/bin /usr/X11R6/bin /usr/local/bin"

for p in $WMPATH ; do
[ -x $p/$WM ] && exec $p/$WM
done

exit 1
 
Back
Top