PDA

View Full Version : [ubuntu] Start remote desktop server from cli ?



bitrod
November 18th, 2008, 10:01 PM
Hello,

Is it possible to make an ssh connection to my machine logging in as the same user as the desktop user, and from the cli enabling & starting the remote desktop server (allowing to control the desktop without confirmation) ?

So I the can connect to the machine with vnc and control my desktop.

Thanks in advance.

johnkzin
November 19th, 2008, 12:29 AM
I think you can do something like that with x11vnc, if you know the display and all of that.

krunge
November 19th, 2008, 02:49 AM
Is it possible to make an ssh connection to my machine logging in as the same user as the desktop user, and from the cli enabling & starting the remote desktop server (allowing to control the desktop without confirmation) ?

So I the can connect to the machine with vnc and control my desktop.

Yes, you can do that with x11vnc:

http://www.karlrunge.com/x11vnc/#tunnelling