Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2012
    Posts
    23
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Adding GUI/Graphical Interface with access via VNC

    If your new to using a server running Ubuntu, then this guide will help you install a Graphical Interface, a bit like Windows, also known as a GUI. This guide also includes how to access the desktop via a VNC. This guide is good for VPS.

    Versions of Ubuntu: 8.04 though I've tested with the latest 11.04 and it appears to run smoothly aswel

    SSH into the VPS

    and execute the following commands

    Code:
    sudo apt-get install ubuntu-desktop
    Code:
    sudo /etc/init.d/gdm start
    Code:
    sudo dpkg-reconfigure xserver-xorg
    Code:
    sudo apt-get install tightvncserver
    Code:
    vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
    Now we need to change the config file:

    Code:
    sudo nano ~/.vnc/xstartup
    Comment "x-window-manager" and add this on the end of file:

    Code:
    gnome-session &
    so it will look like this:

    Code:
    #!/bin/sh
    
    xrdb $HOME/.Xresources
    xsetroot -solid grey
    x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #x-window-manager &
    gnome-session &
    Now reboot the server:

    Code:
    sudo reboot
    Start the VNC server:

    Code:
    vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
    You're vnc server is now running!

    Now open your vnc client and type in

    Code:
    YOURIP:1

  2. The Following User Says Thank You to wjack2010 For This Useful Post:

    Rob (05-24-2012)




  3. #2
    Join Date
    May 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks wjack2010 for this, I have been looking for this kind of tutorial, since I am trying to connect to a Ubuntu desktop using VNC but it seems its not working. But anyways thanks for this, nice tutorial..

 

 

Similar Threads

  1. Do you like Ubuntu's Unity interface?
    By lucasbytegenius in forum Desktop / X
    Replies: 19
    Last Post: 03-25-2013, 05:45 AM
  2. Replies: 0
    Last Post: 03-07-2012, 03:12 PM
  3. Replies: 0
    Last Post: 01-25-2012, 08:53 AM
  4. Replies: 0
    Last Post: 12-16-2011, 11:37 PM
  5. Replies: 0
    Last Post: 11-20-2011, 08:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,597
Threads: 3,922
Posts: 9,456
Top Poster: Fred (1,486)
Welcome to our newest member, SK!P0!D

» Links



Powered by vBadvanced CMPS