Author Topic: Setting up a remote desktop for Ubuntu  (Read 5663 times)

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Setting up a remote desktop for Ubuntu
« on: September 18, 2008, 12:11:04 PM »
So I have Ubuntu Server running on my old desktop.  It is stashed away and I only directly access it when something goes horribly wrong and I can't remote into it.

I want to setup a desktop environment that I can run over SSH.  I've done something similar for school where I could use putty with x11 forwarding enabled and a program called xterm.

So anyone have a suggestion of which packages I need to install and configure?

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Setting up a remote desktop for Ubuntu
« Reply #1 on: September 18, 2008, 12:15:13 PM »
i use VNC with windows box's, and im new to ubuntu but this site has taught me alot already and maybe it can help ya:

http://ubuntu-tutorials.com/2007/06/12/vnc-over-ssh-securing-the-remote-desktop/

Heres a few others, as that one mostly talks about the security aspect:

http://ubuntuforums.org/showthread.php?t=656129
http://www.ubuntugeek.com/share-your-ubuntu-desktop-using-remote-desktop.html

Hope it helps some.
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Setting up a remote desktop for Ubuntu
« Reply #2 on: September 18, 2008, 12:27:41 PM »
Never tried with a full desktop, but try this.

1. Get the ssh daemon running on the server (sure you already have this)
2. Edit /etc/ssh/sshd_config and change X11Forwarding to "yes"
3. ssh in as normal but add the -X option to the command
4. Type the command for any sort of GUI app and it will open on the client as if it were installed there.

The app running will be running from the server. Try run gedit (or another text editor) and you'll notice you can save the file on the server.

Does this help at all?

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Setting up a remote desktop for Ubuntu
« Reply #3 on: September 18, 2008, 12:32:37 PM »
Dumah, I know how to use it.  What I really need to how to set it up to be used :P

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Setting up a remote desktop for Ubuntu
« Reply #4 on: September 18, 2008, 01:06:56 PM »
Dumah, I know how to use it.  What I really need to how to set it up to be used :P

Ugh! Set what up? ssh-server?

Quote
sudo apt-get install openssh-server
« Last Edit: September 18, 2008, 01:17:04 PM by Dumah »

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Setting up a remote desktop for Ubuntu
« Reply #5 on: September 18, 2008, 01:22:47 PM »
No, the desktop environment.  There are like a billion different ones out there (ok maybe a small overstatement...)

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Setting up a remote desktop for Ubuntu
« Reply #6 on: September 18, 2008, 01:26:08 PM »
Oh..you mean a proper display manager. When you mentioned ssh I thought you meant tunneling.

Quote
sudo apt-get install ubuntu-desktop

or

Quote
sudo apt-get install kubuntu-desktop

or

Quote
sudo apt-get install xubuntu-desktop

for gnome, KDE and XFCE respectively

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Setting up a remote desktop for Ubuntu
« Reply #7 on: September 18, 2008, 01:32:48 PM »
Yeah all the SSH stuff was setup within minutes of its birth :P

Is anyone particular better then the other?

Dumah

  • Jackass IV
  • Posts: 960
  • Karma: +21/-6
Re: Setting up a remote desktop for Ubuntu
« Reply #8 on: September 18, 2008, 01:34:26 PM »
They all use the same repositories and have many of the same apps.

I like gnome, Linus Torvalds likes KDE...meh...

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Setting up a remote desktop for Ubuntu
« Reply #9 on: September 18, 2008, 01:41:18 PM »
I'll go with gnome since I don't like Linus :P

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Setting up a remote desktop for Ubuntu
« Reply #10 on: September 18, 2008, 02:09:11 PM »
Weeeeeee

It worked with gedit.  Now to see if there are some useful apps :P

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Setting up a remote desktop for Ubuntu
« Reply #11 on: September 18, 2008, 02:10:10 PM »
ohhh I wonder if I can get pidgin to work on this setup...

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Setting up a remote desktop for Ubuntu
« Reply #12 on: September 18, 2008, 02:12:50 PM »
i dont see why not.

And +1 for gnome, i was never a kde fan
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

ahluka

  • Jackass IV
  • Posts: 794
  • Karma: +10/-201
Re: Setting up a remote desktop for Ubuntu
« Reply #13 on: September 18, 2008, 02:34:47 PM »
i dont see why not.

And +1 for gnome, i was never a kde fan

Me neither. I kinda like XFCE too.

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Setting up a remote desktop for Ubuntu
« Reply #14 on: September 20, 2008, 12:43:26 PM »
Hmm, is it possible to use the desktop manager in this configuration?