setting up vnc debian way

/ Published in: Bash
Save to your folder(s)

This is based upon a debian guide, it seems to work well for ubuntu as well, all these steps can be performed via remote ssh (no need to access the machine).

Copy this code and paste it in your HTML
  1. $ sudo apt-get install vnc4server
  2. # the following will require a password setup
  3. $ vnc4server -geometry 1024x768 -depth 24
  4. # the following will output something like New 'Hostname:1 (user)' desktop is Tethys:1
  5. $ vnc4server
  7. # Now all that is left is to add to ~/.vnc/xstartup, the following
  8. # The rest is the same
  9. # add the following which creates a gnome-session on startup
  10. gnome-session


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.