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, i get a terminal window on login. You can start gui application from this window. It use less CPU. If you need genome 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 &
  • 137 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to Access my Server

Once you have received a welcome letter that lets you know that your VPS order has been processed...

Install and Secure phpMyAdmin on a Ubuntu 14 VPS

Step One Install phpMyAdmin To get started, we can simply install phpMyAdmin from the default...

Nginx Basics - How to Install Nginx on RHEL and Debian based Operating Systems

This all changed with the release of Apache 2.4, which has an event based model with Worker MPM....

How To Find Last Time The User Logged In On The System

In this tutorial I will teach you how to find out who has recently used the unix-like server,...

Copying Files to Multiple Systems Simultaneously with PSSH

Have you ever wondered if there is a simple way to copy files and run commands on multiple...