Remote Desktop Access

Petter Adsen petter at synth.no
Thu Jul 30 07:29:44 UTC 2015


On Wed, 29 Jul 2015 16:47:36 -0800
Damien Hull <dhull at section9.us> wrote:

> What's the best way to get remote desktop access to an Ubuntu system?
> 
> I'm planning on running Ubuntu 14.04 LTS. Here's what I've looked at so far
> 1. VNC Server
> 2. XRDP
> 
> I need a solution that allows remote users on Windows to access the Ubuntu
> desktop.
> 
> Thanks!

Install the package 'vnc4server' on the Ubuntu machine, then add a
file /etc/lightdm/lightdm.conf with this content:

[VNCServer]
enabled=true
command=Xvnc4 -SecurityTypes=None
port=5900
width=1600
height=900
depth=24

Adjust to your needs, and restart lightdm. Then you can use any VNC
client to connect from a desktop and log in as usual.

Note: '-SecurityTypes=None' disables VNC authentication and relies on
the authentication in the lightdm login screen. That is fine for just
myself on my home network, you will probably want to read the Xvnc4 man
page for details. Tunnel it through ssh if you need to.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150730/5eae9bb3/attachment.sig>


More information about the ubuntu-users mailing list