- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install xfce4
- sudo apt-get install vnc4server
- vncserver :3000
- sudo fallocate -l 4G /swapfile
- sudo chmod 600 /swapfile
- sudo mkswap /swapfile
- sudo swapon /swapfile
- Set permanent swapfile: nano /etc/fstab
- 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!
Tidak ada komentar:
Posting Komentar