-- MikeGore - 28 Oct 2010

Linux Remote Desktop Access

Note: covers Ubuntu 10.04 or newer - this includes VNC tools - XRDP, etc

Ubuntu 12.04LTS Desktop Sharing

updated 21 Mar 2013 Mike Gore
  • Applications - Systems Tools -> Preferences -> Desktop Sharing
  • Sharing
    • Allow other users to view your desktop
    • Allow other users to control your desktop
  • Security
    • You must confirm each access to this machine
    • Require the user to enter this password: *****
    • Automatically configure UPnP router to open and forward ports
  • Show Notification Area Icon
    • Always
    • Only when someone is connected
    • Never

FreeNX

  • See TWIKI link FreeNX
  • FreeNX is a system that allows you to access your desktop from another machine over the Internet. You can use this to login graphically to your desktop from a remote location. One example of its use would be to have a FreeNX server set up on your home computer, and graphically logging in to the home computer from your work computer, using a FreeNX client.

VNC

VNC Viewers

  • apt-get install xtightvncviewer xvnc4viewer

RDP Viewers

  • apt-get install rdesktop

VNC Servers

  • apt-get install xrdp vino
  • apt-get remove tightvncserver

Configuration

VINO

There are several method for configuring remote access - the easy one is vino-preferences
  • vino-preferences
    • make sure you enable a remote password
  • gconf-editor
    • desktop->gnome-remote_access
  • gconftool - example
    • gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true

XRDP

*Note: xrdp must be at least version 0.5 to work with Windows 7 clients
  • replace your /etc/xrdp/xrdp.ini with this:
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1

# set empty username because VNC auth 
# doesn't actually use username, so no
# point in asking the user for one.

[xrdp1]
name=Active Local Login
lib=libvnc.so
username=
password=ask
ip=127.0.0.1
port=5900

[xrdp2]
name=Clean Session
lib=libvnc.so
username=
password=ask
ip=127.0.0.1
port=5901

Notes

XRDP Servers

RDP compressors

  • NoMachine makes a free product that can compress RDP streams - unfortunately it is not a server

Trouble Shooting

Vino server does not have an init.d or upstart task - rather it's started by dbus

Linux Remote Desktop client usage

Usage

  • rdesktop scspcxxx.cs.uwaterloo.ca
(where scspcxxx is replaced by the name of the machine you are contacting)
  • xvnc4viewer scspcxxx.cs.uwaterloo.ca -ZlibLevel 9 -UseLocalCursor

Using VNC or RDP it with SSH

Then
  • rdesktop localhost::5999
- or -
  • xvnc4viewer localhost::5999 -ZlibLevel 9 -UseLocalCursor
Topic revision: r7 - 2013-03-21 - MikeGore
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback