본문 바로가기
  • AI (Artificial Intelligence)
Skills/RedHat, CentOS

CentOS 6.6 - Configure VNC Server

by 로샤스 2015. 3. 5.


Install VNC Server to connect with GUI from remote client.
[1]Switch to a user you'd like to configure VNC.
[root@dlp ~]# 
yum -y install tigervnc-server
[root@dlp ~]# 
su - cent 
# switch to a user you'd like to config VNC

[cent@dlp ~]$ 
vncpasswd 
# set VNC password

Password:
# input

Verify:
# confirm

[cent@dlp ~]$ 
vncserver :1
# start

xauth: creating new authority file /home/cent/.Xauthority
New 'dlp.server.world:1 (cent)' desktop is dlp.server.world:1
Creating default startup script /home/cent/.vnc/xstartup
Starting applications specified in /home/cent/.vnc/xstartup
Log file is /home/cent/.vnc/dlp.server.world:1.log
[cent@dlp ~]$ 
vncserver -kill :1
# stop

Killing Xvnc process ID 2187
[cent@dlp ~]$ 
vi /home/cent/.vnc/xstartup
#
twm & 
# at the end: comment out

exec gnome-session &
# use Ghome session
# run with diplay number '1', screen resolution '800x600', color depth '24'

[cent@dlp ~]$ 
vncserver :1 -geometry 800x600 -depth 24

[2]
Install VNC viewer on client computer next. 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.
[3]Password is required. Input VNC password you set in the section [1].
[4]Just connected.














출처 : http://www.server-world.info/en/note?os=CentOS_6&p=x&f=2


참고 : 

[1] http://investnora.blog7.fc2.com/blog-entry-50.html << 여기도 괜찮음

[2] http://egloos.zum.com/zicman/v/2745487











댓글