remote gui with ssh

Jared Greenwald greenwaldjared at gmail.com
Sun Nov 1 10:01:37 UTC 2009


Dude, I don't really understand what exactly you are trying to accomplish,
but this seems like the least efficient and highest-bandwidth method.
Passing Gnome desktop information across ssh connections is about as high a
bandwidth operation as there could be.  You could generate huge amounts of
lag due to the large amounts of data being passed - even on the same local
network.  Also, there is a reason for turning off the DissallowTCP option as
it is highly insecure.  If this is the setting I'm thinking of, it allows
the trusted-ness of a remote system to be spoofed by any system thus
allowing any system on a given network access to running remote applications
on your system without any serious authentication.

If you are just trying to control the remote desktop (Gnome session) of
computer A from computer B, maybe you would be better served by using the
remote desktop applications.  You can setup the settings for computer A via
System -> Preferences -> Remote Desktop and then access it from computer B
via Applications -> Internet -> Remote Desktop Viewer.  Also, you could
setup a stripped-down system on computer B with a basic Xorg session and
xtightvncviewer.

If you are just attempting to run specific applications remotely, you can
accomplish that with ssh -Y (not -X).  This uses a secure connection to
accomplish Xorg forwarding - basically a secure way to get around the
DIsableTCP settings.

So yea, it really depends on what your ultimate goal is.

-Jared

On Sun, Nov 1, 2009 at 5:33 AM, Eugeneapolinary Ju <
eugeneapolinary81 at yahoo.com> wrote:

> ok, I tried:
>
> ssh -CX ubuntu at 192.168.56.101 /usr/bin/gnome-panel
>
> it gives me a panel, from where I can launch the applications on the remote
> machine, but it's still just an idea.
>
> There is no such thing as "remote ssh gui"? :O I mean the remote machines
> full desktop through ssh?
>
> thank you
>
> --- On *Sun, 11/1/09, Eugeneapolinary Ju <eugeneapolinary81 at yahoo.com>*wrote:
>
>
> From: Eugeneapolinary Ju <eugeneapolinary81 at yahoo.com>
> Subject: remote gui with ssh
> To: "ubuntu list" <ubuntu-users at lists.ubuntu.com>
> Date: Sunday, November 1, 2009, 9:05 AM
>
>
> Hi!
>
> client & "server" = Ubuntu 9.04
> Both has GNOME GUI installed.
>
> server [192.168.56.101]: I just install openssh-server on it, and set
> "DisallowTCP=false" in "/etc/gdm/gdm.config", then "/etc/init.d/gdm
> restart". Ok.
>
> client: I press "Alt+Ctrl+F2", ok, then I:
>
> $ ssh -X ubuntu at 192.168.56.101 /etc/gdm/Xsession default
> ubuntu at 192.168.56.101's password:
> /etc/gdm/Xsession: Beginning session setup...
> xrdb: Can't open display ''
> Setting IM through im-switch for locale=hu_HU.
> Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to
> /etc/X11/xinit/xinput.d/default.
> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
> I: caps.c: Dropping root privileges.
> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
> GPG_AGENT_INFO=/tmp/seahorse-k6FXTU/S.gpg-agent:6252:1; export
> GPG_AGENT_INFO
>
>
> Why isn't it working? Am I missing something?
>
> Please help..
>
> thanks
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20091101/92276611/attachment.html>


More information about the ubuntu-users mailing list