CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ensure that no firewall blocks VNC ports on the VNC server. By default, the Centos firewall blocks the ports.
Run vncserver on the VNC server. It will tell you the port number or display number, e.g. :1.
Run a VNC client like tightvnc on the client. Provide the server's IP address followed by the port number.
EDIT: Here is one of the millions of tutorials that cover the subject: https://wiki.centos.org/HowTos/VNC-Server. It uses iptables to unblock ports, but on Centos 7 and later, firewall-cmd is an easier solution. I think you can use a command like firewall-cmd --add-service vnc or so.
Last edited by berndbausch; 08-25-2020 at 07:50 PM.
Xvnc TigerVNC 1.9.0 - built Apr 23 2020 14:52:39
Copyright (C) 1999-2018 TigerVNC Team and many others (see README.rst)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12003000, The X.Org Foundation
Wed Aug 26 18:06:05 2020
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: created VNC server for screen 0
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error: Could not resolve keysym XF86MonBrightnessCycle
> Internal error: Could not resolve keysym XF86RotationLockToggle
Errors from xkbcomp are not fatal to the X server
Killing Xvnc process ID 135195
Wed Aug 26 18:06:09 2020
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
This is beyond my area of competency, but you are a step closer to the solution now. I suggest you try to find information about this error on the internet or create a new question.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.