Jump to content

Load VNCServer on Ubuntu


Recommended Posts

Run the following commands to install your X server and the vnc server

sudo apt-get install ubuntu-desktop OR sudo apt-get install kubuntu-desktop

sudo apt-get install gdm

sudo /etc/init.d/gdm start

sudo dpkg-reconfigure xserver-xorg

sudo apt-get install tightvncserver

Set a VNC Password by running

sudo vncpasswd

You can now start the VNC: ( notice: Make sure you set a password and remember it when prompted | pass will have 7 character max )

Then run:

vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565

We want to configure it so the desktop environment uses GNOME. Open the startup file:

sudo nano ~/.vnc/xstartup

And add this line at the bottom:

gnome-session &

now restart your server with the reboot command

sudo reboot

Start the VNC again:

sudo vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...