Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to connect two PCs for desktop sharing, I was able to set up ssh shell and file sharing but I failed to connect to VNC server.

There are additional packages that i need to install on my machines?

And how should i fill this dialog:

enter image description here

share|improve this question

To use VNC, you must have a VNC server installed and running on the machine.

sudo aptitude install vnc4server 

Follow the instructions

You will require a password to access your desktops.

Password too long - only the first 8 characters will be used
xauth:  creating new authority file /home/server/.Xauthority

New 'server:1 (root)' desktop is server:1

Creating default startup script /home/server/.vnc/xstartup
Starting applications specified in /home/server/.vnc/xstartup
Log file is /home/media/.vnc/media:1.log

Now you can connect to this machine using Remmina on the other machine.


share|improve this answer
If I leave this machine on login screen, can I then connect to it? – zygimantus Nov 30 '15 at 15:14
Yes, as long as the server is running, you should be able to login. – Abhay Rana Nov 30 '15 at 16:06

For which protocol you wish to configure it?

For VNC or RDP or other it is very simple.

If you are going for the ABC user remote control then give that name in Name tab

Then choose protocol.

then put IP address of remote machine in Server Tab. Then press connect

If you already know Username/Password then you can fill it in appropriate tabs.

But first you need to enable/install VNC/RDP on the related machine.

for that go to Desktop Sharing and enable it.

share|improve this answer
I'm interested in VNC protocol, think it was quite explained in the question.. – neonboy Jun 2 '12 at 18:03
How can enable/install VNC/RDP on the related machine ? – neonboy Jun 2 '12 at 18:04
Very helpful, thank you. Typing 'users' in the Mac terminal gave me my username. – TenLeftFingers Mar 6 '13 at 10:55
How do you access Desktop Sharing on Xubuntu? I can't find it anywhere in the menus... – landroni Dec 12 '14 at 19:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.