SLES 15
Sponsored Link

Desktop Environment : Configure VNC Server2019/01/16

 
Install VNC Server to connect with GUI from remote client.
[1] Install VNC Server.
dlp:~ #
zypper -n install tigervnc
[2] If Firewalld is running, allow service port.
dlp:~ #
firewall-cmd --add-service=vnc-server --permanent

success
dlp:~ #
firewall-cmd --reload

success
[3] Login as a user you'd like to configure VNC connection and set like follows.
# set VNC password

suse@dlp:~>
vncpasswd

Password:
Verify:
Would you like to enter a view-only password (y/n)?
n
# start VNC server

suse@dlp:~>
vncserver :1 -geometry 800x600 -depth 24

xauth: (stdin):1:  bad display name "dlp:1" in "add" command

New 'dlp:1 (suse)' desktop is dlp:1

Creating default startup script /home/suse/.vnc/xstartup
Creating default config /home/suse/.vnc/config
Starting applications specified in /home/suse/.vnc/xstartup
Log file is /home/suse/.vnc/dlp:1.log

# for stopping VNC server, run as follows

suse@dlp:~>
vncserver -kill :1

Killing Xvnc process ID 32483
[4]
Install VNC viewer on client computer, this example in on Windows 10.
Download from the site below to install UltraVNC.
After installing UltraVNC, click [UltraVNC Viewer] to run, then, following screen is shown.
Input [(Server's hostname or IP address):(display number)] like following example and then click [Connect] button.
[5] Password is required. Input VNC password you set in the section [1].
[6] Just connected.
Matched Content