Advertisement
gregorst

Gui info

Jun 27th, 2018
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. First, let's install the gui
  2. sudo apt install xfce4 xfce4-goodies
  3.  
  4. Then, install turbovnc
  5. mkdir turbovnc
  6. cd turbovnc
  7. wget https://freefr.dl.sourceforge.net/project/turbovnc/2.1.2/turbovnc_2.1.2_amd64.deb
  8. sudo dpkg -i turbovnc_*.deb
  9.  
  10.  
  11. now we have it installed, let's start it:
  12.  
  13. /opt/TurboVNC/bin/vncserver
  14.  
  15. Then, download tightvncviewer for your pc https://www.tightvnc.com/download/2.8.11/tightvnc-2.8.11-gpl-setup-64bit.msi
  16.  
  17. (skip the server part, you dont' need that)
  18.  
  19.  
  20. When installed, open TightVNC Viewer and login using ip:5901 (i suggest to limit this port only to your ip , because there are lot bots trying to discover password:
  21. iptables -A INPUT -p tcp --dport 5901 --source YOURIP -j ACCEPT
  22. iptables -A INPUT -p tcp --dport 5901 -j DROP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement