달력

22025  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

RHEL 6.x, ,7.x VNC 설정

# rpm -qf /usr/bin/vncviewer
tigervnc-1.3.1-3.el7.x86_64

http://openness.tistory.com/118

http://justckh.blogspot.kr/2013/09/vnc.html

http://openness.tistory.com/archive/20120126

-> hosts 수정
-> vncserver -interface IP
-> Already :1 형태 로그 발생 시 /etc/sysconfig/vncserver 내용 :1을 수정

[APPSVR][/root] # rpm -qa | grep tigervnc-server
[APPSVR][/root] # rpm -ivh tigervnc-server-1.1.0-16.el6.centos.x86_64.rpm
Preparing...                ########################################### [100%]
   1:tigervnc-server        ########################################### [100%]
[APPSVR][/root] # vncpasswd
Password:
Verify:
-> 패스워드입력 입력

[APPSVR][/root] # vncserver &
[1] 9874
New 'APPSVR:1 (root)' desktop is APPSVR:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/APPSVR:1.log

[1]+  Done                    vncserver

[APPSVR][/root] # ps -ef | grep vnc
root      9881     1  2 21:25 pts/1    00:00:00 /usr/bin/Xvnc :1 -desktop APPSVR:1 (root) -auth /root/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn

패스워드는 위에서 입력한 [패스워드] 기입

서버 내 활성화된 vncserver 프로세스 종료
vncserver -kill :1

:1 기준은 ps -ef | grep vnc로 확인된 아래와 동일

[APPSVR][/root] # ps -ef | grep vnc
root      9881     1  2 21:25 pts/1    00:00:00 /usr/bin/Xvnc :1 -desktop APPSVR:1 (root) -auth /root/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -p

Posted by 짜꾸미의골골몽
|