![]() Remember, when using firewalld, if a zone is not specified with the -zone option, the specified rules will be applied on the default one. When using firewalld we should run: $ sudo firewall-cmd -add-service=vnc-serverĪs you can see, we didn’t actually specified the port to be allowed directly: instead, we used the service name directly, since it is by default associated with the port. The exact action to perform depends on the firewall software we are using on our system. To be able to share our desktop session using the vnc protocol, we must setup the firewall so that it allows incoming connections on port 5900 which is the default vnc-server port. Once installed, the program can be launched straight from the terminal, or via gui, using the desktop launcher that should be found in the applications menu. We can install it using pacman: $ sudo pacman -S x11vnc X11vnc is also available in the Archlinux repositories. On Debian, or a Debian-based distribution, the command to use is: $ sudo apt-get install x11vnc Installing it on Fedora it’s just a matter of running: $ sudo dnf install x11vnc The x11vnc application should be already packaged and available in your favorite distribution repositories. Implementations of the protocol exist on Gnu/Linux, and some of them are integrated with specific desktop environments, like vino/vinagre in GNOME, in this tutorial we will focus on the use and the setup of the desktop-independent x11vnc application. By using it, we can completely control another machine, sharing even keyboard or mouse events. In that case the vnc protocol is our friend. While ssh is a vital tool for every system administrator, being it the most used and secure protocol for remote administration, even capable to grant access to the X11 display server, via X11 forwarding, it is not the right tool to use when the desired target is to share an entire desktop session. $ – given command to be executed as a regular non-privileged user. ![]() # – requires given command to be executed with root privileges eitherĭirectly as a root user or by use of sudo command.Learning how to share you desktop using the vnc protocol and the x11vnc application Requirements ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |