SLES Remote Administration with VNC

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email
Table of Contents

Introduction

SLES server physically reside on Data Center
So as administrator , you can access these servers by one of the following :

  • the first method : working on server Directly on datacenter , which impractical 🙁   ,  just Skip it 
  • the second method : is working on SLES server remotely with   text  mode using ssh [secure Shell ] : which has been  DONE in previous  article 
  • the third method : is working on SLES server remotely with   Graphical mode through  VNC : which will  be DONE in this article 

VNC 

What is VNC

Virtual Network Computing (VNC) is a graphical desktop-sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control Linux server  

VNC equivalent to Remote Desktop Protocol RDP in Windows Operating System

In order to connect to SLES : VNC require the following to installed :

  • Graphic Drive : X11
  • Display manager [for example gdm ]
  •  Desktop Environment like GNOME

The default configuration on SUSE Linux Enterprise Server serves sessions with a resolution of 1024×768 pixels at a color depth of 16-bit. The sessions are available on ports 5901 for “regular” VNC viewers  and on port 5801 for Web browsers.

SLES remote administration : network diagram

For Better View > Open Image in different TAB

before moving to configure VNC  

let us to have  a look to above network diagram 

we have user called Sami@pioneers.lab from IT staff who is working on computer IT161 on subnet LAN 

Sami would like to access SLES124 on subnet [servers farm ] as graphical mode

OK, configuring VNC  process involved with the following steps : 

Step01 : install package tigervnc

package tigerVNC is responsible for VNC connection 

let us to check if package installed 

zypper info tigervnc 

if NOT installed then install it 

zypper -n install tigervnc 
For Better View > Open Image in different TAB

STEP 02 : start services vnc

now we have to check if service vnc is running  

use command : 

systemctl status xvnc.socket

if NOT started then > start it 

systemctl start xvnc.socket

also we have to Enable vnc during system startup

systemctl enable xvnc.socket
For Better View > Open Image in different TAB

Step 03 : Configure vnc

Text

For Better View > Open Image in different TAB
For Better View > Open Image in different TAB

step04 : Enable firewall rule for vnc

create  firewall rule to enable vnc

firewall-cmd --permanent --add-service=vnc-server

then reload  firewall 

firewall-cmd --reload
For Better View > Open Image in different TAB

Step 05 : open vnc port on firewall PF-sense

to it’s time to open port  for vnc in network firewall

it’s depend on your network firewall , in networks pioneers : we are using network firewall PFsense

For Better View > Open Image in different TAB

Step 06 : on client computer IT161 install vnc viewer

on client computer install vnc viewer  or any remote connection tool 

For Better View > Open Image in different TAB
For Better View > Open Image in different TAB
Share this post
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

About Me

Our Power in Numbers

 17 

Courses

321

Articles

3,882

Images
and All configurations images are proudly made in Pioneers Lab

Articles By Course

Recent Articles

Subscribe

Contact us

have a challenge ? don’t hesitate to contact us