If vncserver was previously configured using systemd, delete the previous systemd configuration files(eg: otherwise this service file will be used in place of the latest configuration file. Alternatively run the command: $ restorecon -RFv /home//.vnc if you have already configured VNC server using the new steps.Delete the $HOME/.vnc folder and we will recreate it again by creating the password one more time for the respective user.There are two possible options to ensure that: If vncserver was previously used on the system, make sure the $HOME/.vnc folder created by vncpasswd have the correct SELinux context. Since the steps to configure VNC server has changed, so there are some pre-requisites which you must perform before you start configuring your updated tigervnc-server. Second limitation as we also discussed earlier is that, users will not be able to start a Tigervnc server for a user already logged into a graphical session.For these reasons things were completely changed and there is now a new way how this all is supposed to work. While this was working just fine, there were issues when users wanted to start a Tigervnc server using *systemd*. The usage was quite simple as you just run $ vncserver :x Īnd that was it. The previous Tigervnc versions had a wrapper script called `vncserver` which could be run as a user manually to start *Xvnc* process. This article uses tigervnc-server-1.10.1-7.el8 which has completely changed the way how we configure tigervnc server and now the steps are really easy with less chances of getting error while configuration. If you are using tigervnc-server older than 1.10.1-7.el8, then you should refer to our older article for the setup.Key Points before setting up VNC server (Limitations) If GUI programs need privileged access, this can be done by logging in to the GUI as a normal user, opening a graphical terminal, and running the program using su or sudo. Logging in to the GUI as the root user (superuser) may cause unpredictable interactions with GUI sessions of normal users, as well as the rest of the system. With RHEL 8 now Red Hat does not support and recommend using VNC session as root user. Since CentOS is a Linux distro derived from source code released by Red Hat, It follows the same coding principal as used in Red Hat. ALSO READ: How to install iTunes on Ubuntu? Ĭan I use root user to access remote Linux server with VNC?
0 Comments
Leave a Reply. |