Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First, let's install the gui
- sudo apt install xfce4 xfce4-goodies
- Then, install turbovnc
- mkdir turbovnc
- cd turbovnc
- wget https://freefr.dl.sourceforge.net/project/turbovnc/2.1.2/turbovnc_2.1.2_amd64.deb
- sudo dpkg -i turbovnc_*.deb
- now we have it installed, let's start it:
- /opt/TurboVNC/bin/vncserver
- Then, download tightvncviewer for your pc https://www.tightvnc.com/download/2.8.11/tightvnc-2.8.11-gpl-setup-64bit.msi
- (skip the server part, you dont' need that)
- 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:
- iptables -A INPUT -p tcp --dport 5901 --source YOURIP -j ACCEPT
- iptables -A INPUT -p tcp --dport 5901 -j DROP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement