Comments on: How to Install and Configure VNC Server in CentOS and RHEL https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 11 May 2023 12:27:02 +0000 hourly 1 By: Filippo https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/comment-page-1/#comment-2012963 Thu, 11 May 2023 12:27:02 +0000 https://www.tecmint.com/?p=27179#comment-2012963 Hi,

But should I add a VNC service configuration file for any other user? thanks Phil.

]]>
By: Guilherme Monteiro https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/comment-page-1/#comment-1937566 Tue, 27 Dec 2022 20:44:17 +0000 https://www.tecmint.com/?p=27179#comment-1937566 Thanks for this!

I have changed the /etc/systemd/system/vncserver@\:1.service specifying the user, group and workdir, and also removed the runuser so now systemd cares of it and there is no PID file not owned by root error.

Here it is:

[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking
User=my_user
Group=my_user
WorkingDirectory=/home/my_user
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/bin/vncserver %i -geometry 1280x1024
PIDFile=/home/my_user/.vnc/%H%i.pid
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

[Install]
WantedBy=multi-user.target
]]>
By: Bart https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/comment-page-1/#comment-1636615 Fri, 05 Nov 2021 13:18:26 +0000 https://www.tecmint.com/?p=27179#comment-1636615 I have VNC up and running on CentOS 7 but I can’t seem to change the existing VNC password. When I use the command vncpasswd to change the password I still need to use the old password to connect using VNCVIEWER on my win10 laptop to connect on Centos7 pc.

]]>
By: Jerry Toth https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/comment-page-1/#comment-1401917 Wed, 16 Dec 2020 21:55:21 +0000 https://www.tecmint.com/?p=27179#comment-1401917 I execute the command sudo yum install tiger-vnc server, as listed at the top of this column, it goes out to a bad destination to find the file. I can manually type in the destination http://mirror.keystealth.org/centos/7/os/x86_64/Packages/tigervnc-server-1.8.0-21.el7.x86_64.rpm and get to the file, even download the file to the PC and execute it.

I try to install the program (the other option when downloading) and I get a file not supported error. I have been at this for three days now and I’m about to throw the PC out the window. I need access to this server from a remote location.

]]>
By: Ahmed Mohamed https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/comment-page-1/#comment-1386930 Sun, 08 Nov 2020 12:00:26 +0000 https://www.tecmint.com/?p=27179#comment-1386930 Hello,

I am facing a problem when I have finished with these steps and connect to the vnc server, blue screen appears to me, and this error on the log file:

Sun Nov  8 06:57:05 2020
 Connections: accepted: 197.48.174.78::44930
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VeNCrypt(19)
 SVeNCrypt:   Client requests security type TLSVnc (258)

Sun Nov  8 06:57:11 2020
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888

Can any one help me to solve this problem?

]]>