ssh -x gui

James Michael Fultz croooow at gmail.com
Sat Oct 31 23:13:13 UTC 2009


* Eugeneapolinary Ju <eugeneapolinary81 at yahoo.com> [2009-10-31 15:36 -0700]:
> I know I could start a GUI program with SSH, on a remote machine:
> 
> ssh -X SOMEONE at 192.168.56.101 /usr/bin/network-admin
> 
> but how can I get access to the "full" GUI? [because I don't want to
> launch every program one-by-one]. :(

The short answer is that you can't.  However, you can leave the command
line open in order to run more programs in the background.

$ ssh -X SOMEONE at 192.168.56.101
$ /usr/bin/network-admin &

<https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding#Forwarding%20GUI%20Programs>

> The man of ssh say's I should use "ssh -Y", because it's more secure.
> 
> Has anyone has any tips for it?

You may prefer the Remote Desktop feature if you really want access to
the full remote desktop.

System > Preferences > Remote Desktop

VNC is another option.

<https://help.ubuntu.com/community/VNC>




More information about the ubuntu-users mailing list