Install GUI on Ubuntu VPS

After u get new ubuntu vps, first run apt-get update

apt-get update


Now install desktop, vps images won't have this by default

apt-get install ubuntu-desktop


Configure the Gnome Desktop Manager and XServer

sudo /etc/init.d/gdm start
sudo dpkg-reconfigure xserver-xorg


Install VNC software

sudo apt-get install vnc4server

 
Setup password

vncpasswd 
enter your desired password


Start vncserver

vncserver


Now you will be able to connect to ubuntu VPS with VNC.

On ubuntu, it won't start "vncconfig" on booting. You need to run "vncconfig" to share clip board between vnc.

vncconfig


On Ubuntu 10.04, you get a terminal window on login. You can start gui application from this window. It use less CPU. If you need gnome desktop, edit file

vi /root/.vnc/xstartup


Find

x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &


Replace with

xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
  • 72 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

25 Most Frequently Used Linux IPTables Rules Examples

In the below examples we are using ETH0 as network interface, however if you are using our...

Basic VPS Control Panel Functions

After loggin in the VPS Control panel you can chose any of your server and perform basic...

CentOS / Red Hat Linux Install VSFTPD FTP Server

Q. How do I configure and install an FTP server in CentOS / RHEL 5 / Fedora Linux server?...

Enable MySQL Caching

One of the best ways to speed up your web application is to enable query caching in your...

Guide to Install VNC and GNOME on CentOS VPS

1. Installing Desktop Environtment : # yum -y install gnome* # yum -y groupinstall “X...