remote gui with ssh

Jared Greenwald greenwaldjared at gmail.com
Sun Nov 1 10:18:38 UTC 2009


Maybe what you are looking for is vnc via ssh tunnel...

Quick use of the google brings back this interesting article...

http://www.devshed.com/c/a/BrainDump/Secure-Remote-Desktop-Sharing-with-VNC-on-Linux/2/

While the article is written from an rpm-based distro point of view, the
concepts should be the same for Ubuntu.

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

> my goal is simple.
>
> "mstsc" like remote desktop through a secure connection, under Linux.
>
> --- On *Sun, 11/1/09, Jared Greenwald <greenwaldjared at gmail.com>* wrote:
>
>
> From: Jared Greenwald <greenwaldjared at gmail.com>
> Subject: Re: remote gui with ssh
> To: "Ubuntu user technical support, not for general discussions" <
> ubuntu-users at lists.ubuntu.com>
> Date: Sunday, November 1, 2009, 10:01 AM
>
>
> 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<http://mc/compose?to=eugeneapolinary81@yahoo.com>
> > wrote:
>
>> ok, I tried:
>>
>> ssh -CX ubuntu at 192.168.56.101<http://mc/compose?to=ubuntu@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<http://mc/compose?to=eugeneapolinary81@yahoo.com>
>> >* wrote:
>>
>>
>> From: Eugeneapolinary Ju <eugeneapolinary81 at yahoo.com<http://mc/compose?to=eugeneapolinary81@yahoo.com>
>> >
>> Subject: remote gui with ssh
>> To: "ubuntu list" <ubuntu-users at lists.ubuntu.com<http://mc/compose?to=ubuntu-users@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<http://mc/compose?to=ubuntu@192.168.56.101>/etc/gdm/Xsession default
>> ubuntu at 192.168.56.101 <http://mc/compose?to=ubuntu@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<http://mc/compose?to=ubuntu-users@lists.ubuntu.com>
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>
>
> -----Inline Attachment Follows-----
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com<http://mc/compose?to=ubuntu-users@lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
> --
> 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/4732411b/attachment.html>


More information about the ubuntu-users mailing list