Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can start the VNC server to make my desktop accessible?

share|improve this question
add comment

3 Answers 3

up vote 7 down vote accepted

Install vino:

sudo apt-get install vino

Configure vino:

vino-preferences

It open this windows :

alt text

You start the server with :

/usr/lib/vino/vino-server

Enter this command in your Autostarted Apps if you wish vino to start automatically.

share|improve this answer
    
I would advise to use vino over ssh, because it isn't a secure application. help.ubuntu.com/community/… –  lovinglinux Nov 9 '10 at 0:54
1  
For that last step, System > Preferences > Startup Applications should already have a "Remote Desktop" entry that just needs to be ticked. imgur.com/s4iTd.png –  andrewsomething Nov 9 '10 at 1:32
    
@andrewsomething - it was not the case on xunbutu. –  Guillaume Coté Nov 9 '10 at 3:18
    
You should tag your question with xubuntu otherwise people will assume you're using a default ubuntu setup. –  Jorge Castro Nov 9 '10 at 15:14
    
@Jorge, I think vino is a gnome tool ans work the same way in ubuntu. The only difference is the entry in startup application mentionned by andrewsomething. –  Guillaume Coté Nov 9 '10 at 23:34
add comment

For a bit more security, I don't leave VNC running the whole time. I SSH into the machine and then start the VNC server using the following command:

x11vnc -safer -localhost -nopw -once -display :0

For ease I have the command in a shell script, so it is just a case of SSH to the server, followed by the command startvnc.sh.

This way once you disconnect VNC is no longer available.

For even more security you can tunnel VNC over the SSH connection.

This link provides details on how to forward the correct ports.

share|improve this answer
add comment

To install VNC Server on Ubuntu 14.04

sudo apt-get install gnome-core xfce4 firefox nano -y --force-yes

and install vnc server

sudo apt-get install vnc4server -y --force-yes
share|improve this answer
add comment

Your Answer

 
discard

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.