Remote Access/Control Linux Lite 3.x - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Tutorials (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=21) +--- Thread: Remote Access/Control Linux Lite 3.x (/showthread.php?tid=3845) |
Remote Access/Control Linux Lite 3.x - ralphy - 03-15-2017 Here is a quick tutorial on how to configure x11vnc (VNC Server) for remote access/control to your Linux Lite 3.x PC via VNC client. (please consider adding it to Lite Manual) A 30 seconds setup:
Code: sudo apt install -y x11vnc
Code: sudo mkdir /etc/x11vnc
Code: sudo x11vnc --storepasswd /etc/x11vnc/vncpwd
Code: gksu leafpad /lib/systemd/system/x11vnc.service Copy & paste the code below into leafpad: Quote:[Unit] Save changes and close leafpad. Then copy /lib/systemd/system/x11vnc.service to /etc/systemd/system/ Code: sudo cp /lib/systemd/system/x11vnc.service /etc/systemd/system/
Code: gksu leafpad /lib/systemd/system/graphical.target Update graphical.target file content as shown below: Quote:# This file is part of systemd. Save changes and close leafpad. Then copy /lib/systemd/system/graphical.target to /etc/systemd/system/ Code: sudo cp /lib/systemd/system/graphical.target /etc/systemd/system/
Code: sudo systemctl daemon-reload
Reboot: Code: sudo reboot now or start x11vnc without rebooting: Code: sudo systemctl start x11vnc.service Add Firewall Rule to allow VNC traffic IN Open Firewall Configuration, select the Rules tab and add a firewall rule as shown below Remotely accessing/controlling Linux Lite 3.x From a client computer in your network, using a VNC client of your choice (Remmina, Ultra VNC, TightVNC, Chicken VNC, VNC Viewer, Screen Sharing, (you name it) enter the IP address of your Linux Lite box or its hostname (if there is local DNS resolution available in your network) and enjoy your hard work For additional details on x11vnc configuration options such as file transfers, etc. read on x11vnc manual: Code: ~ $ man x11vnc Re: Remote Access/Control Linux Lite 3.x - Valtam - 03-15-2017 Brilliant! Will add to Help Manual. Sent from my mobile phone using Tapatalk Re: Remote Access/Control Linux Lite 3.x - torreydale - 04-27-2017 Er. Umm. "Quick" tutorial? Re: Remote Access/Control Linux Lite 3.x - Valtam - 04-27-2017 (04-27-2017, 12:55 AM)torreydale link Wrote: Er. Umm. "Quick" tutorial? I'm unsure what that means. Re: Remote Access/Control Linux Lite 3.x - torreydale - 04-27-2017 Quote:Here is a quick tutorial on how to configure x11vnc (VNC Server) for remote access/control [member=2]Jerry[/member], To me, it wasn't quick. But I'm just teasing. I'm glad for the contribution. Re: Remote Access/Control Linux Lite 3.x - Valtam - 04-27-2017 Ah I see. No worries. Sent from my Mobile phone using Tapatalk Re: Remote Access/Control Linux Lite 3.x - donbrew - 07-04-2022 Why copy the service unit? What is the use of having 2 of them. Why do either, it is already installed in /lib/systemd/system? Why bother editing graphical.target you don't need to enable x11vnc.service? But do need to enable graphical.target? Why reboot? Or, is it all different in 5.6? All I did was: sudo apt install x11vnc sudo systemctl start x11vnc (maybe not needed) sudo systemctl enable x11vnc Then I did the password thing. |