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 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

MySQL - connect to a remote database

This tutorial will walk you through setting up a user on your MySQL server to connect remotely....

How to install Varnish and phpMyAdmin on a CentOS 7 VPS with Nginx, MariaDB and PHP-FPM

In this tutorial, we will show you how to install Varnish cache and phpMyAdmin on a CentOS 7 VPS...

Building a Custom Nginx Server From Source on Debian Wheezy

Article submitted by: Mike MallekIf you're looking for an SSH client to connnect to your VPS...

How do I see how much free ram I really have?

Linux Ate My RAM Don't panic. Your RAM is fine What's going on?Linux is borrowing unused memory...

Synchronize Files And Directories with RSYNC

Rsync is an open source software that can be used to synchronize files/folders from local to...