From the course: Learning CentOS Linux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Allowing screen-sharing access with VNC

Allowing screen-sharing access with VNC

From the course: Learning CentOS Linux

Start my 1-month free trial

Allowing screen-sharing access with VNC

- [Narrator] Because this computer is a server, it's not likely that it's going to have a display, a mouse, and a keyboard attached to it at all times. So what happens then if we need to use the desktop environment? For that, I'll install software that provides VNC or Virtual Network Computing. I'll write yum, install, tigervnc, server. (keyboard clicking) Because VNC is a network service, we need to tell the firewall about it. So I'll write firewall, cmd, zone equals public, (keyboard clicking) addservice equals vncserver, and we'll make it permanent. Then, I'll restart the firewall. (keyboard clicking) I'll clear the screen and to start up the VNC server, I'll type vncserver. (keyboard clicking) I need to specify a password to connect to the VNC server. When I connect from a VNC client, I won't be prompted for a username and password because the server will only identify me by the password I provided. The maximum length of this password is eight characters. Anything longer will just…

Contents