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 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

How to Monitor Network Bandwidth with vnstat

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network...

Why do I see a rebuild limit on my VPS?

Depending on the size of the template selected, rebuilds can take an extended amount of time to...

Install EPEL Repository On RHEL / CentOS / Scientific linux 6 & 5

EPEL stands for Extra Packages for Enterprise Linux. It is a Fedora Special Interest Group that...

How to install Tomcat on CentOS 7

This tutorial is based on CentOS 7.0 server, so you should set up a basic CentOS 7.0 server...

Install LAMP Server (Apache, MySQL or MariaDB, PHP) On Ubuntu 14.04/13.10

Install Apache Apache is an open-source multi-platform web server. It provides a full range of...