Halaman

Jumat, 03 Juli 2015

Install Desktop on Linux VPS

Follow the following simple steps :

  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. sudo apt-get install xfce4
  4. sudo apt-get install vnc4server
  5. vncserver :3000
  6. sudo fallocate -l 4G /swapfile
  7. sudo chmod 600 /swapfile
  8. sudo mkswap /swapfile
  9. sudo swapon /swapfile
  10. Set permanent swapfile: nano /etc/fstab
  11. add the line to /etc/fstb : /swapfile   none    swap    sw    0   0
now your vncserver is running on port : 8900 (because when running vnc server, we specify :3000, so it is 5900 + 3000 = 8900)

Connect using vncviewer client to the ip address xxx.xxx.xxx.xxx:8900 specify the password you typed on step 5, and then when loged in to the desktop on the terminal run startxfce4

Enjoy!