Open Solaris VNC 설치
VNC 패키지 검색
root@opensolaris:~# pkginfo | grep vnc system SUNWvncviewer VNC viewer client system SUNWxvnc X11/VNC server |
VNC 패키지 정보(버전)
root@opensolaris:~# pkginfo -l SUNWxvnc PKGINST: SUNWxvnc NAME: X11/VNC server CATEGORY: system ARCH: i386 VERSION: 6.9.0.5.11.11100,REV=0.2009.05.07 VENDOR: Sun Microsystems, Inc. DESC: X Window System server based on X.Org Foundation open source release and RealVNC open source release that displays over RFB protocol to a VNC client HOTLINE: Please contact your local service provider STATUS: completely installed |
VNC 서비스 구동 확인
root@opensolaris:~# svcs -a | grep vnc disabled Dec_16 svc:/application/x11/xvnc-inetd:default online Dec_16 svc:/system/xvm/vnc-config:default |
VNC 서비스 구동
root@opensolaris:~# svcadm enable svc:/application/x11/xvnc-inetd:default |
VNC 서비스 구동 확인
root@opensolaris:~# svcs -a | grep vnc online Dec_16 svc:/system/xvm/vnc-config:default online 20:55:53 svc:/application/x11/xvnc-inetd:default |
VNC server 서비스 포트 확인
root@opensolaris:~# cat /etc/services | grep VNC vnc-server 5900/tcp # VNC Server |
xvnc-inetd 설정 확인
root@opensolaris:~# inetadm -l xvnc-inetd SCOPE NAME=VALUE name="vnc-server" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=FALSE exec="/usr/X11/bin/Xvnc -inetd -query localhost -once securitytypes=none" user="noaccess" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE default tcp_trace=FALSE default tcp_wrappers=FALSE default connection_backlog=10 |
root@opensolaris:~# inetadm -m xvnc-inetd wait=TRUE exec="/usr/X11/bin/Xvnc -inetd -query localhost -once passwordFile=/var/vnc/.vnc/passwd -alwaysshared" |
root@opensolaris:~# inetadm -l xvnc-inetd SCOPE NAME=VALUE name="vnc-server" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=TRUE exec="/usr/X11/bin/Xvnc -inetd -query localhost -once passwordFile=/etc/vnc/passwd -alwaysshared" user="noaccess" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE default tcp_trace=FALSE default tcp_wrappers=FALSE default connection_backlog=10 |
root@opensolaris:~# mkdir /etc/vnc |
root@opensolaris:~# HOME=/etc/vnc vncpasswd Password: Verify: |
root@opensolaris:~# ls -l /etc/vnc/.vnc/passwd -rw------- 1 root root 8 Dec 19 21:12 /etc/vnc/.vnc/passwd |
How to Set Up VNC to Provide a Solaris Guest Graphical Login with GDM
1.Become superuser, or assume the appropriate role.
2.Enable XDMCP for GDM:
# printf '[xdmcp]\nEnable=true\n' >>/etc/X11/gdm/custom.conf # svcadm restart gdm |
3.Make sure that GDM is running:
# svcadm enable -s gdm |
4.Set the X11-server to listen to the tcp port:
# svccfg -s x11-server svc:/application/x-11/x11-server> setprop options/tcp_listen=true |
5.Enable the Xvnc inetd services:
# svcadm enable xvnc-inetd |
참고 : http://docs.oracle.com/cd/E19082-01/819-2450/givxf/index.html
'맥(솔라리스)' 카테고리의 다른 글
mac no matching manifest for linux/arm64/v8 in the manifest list entries 에러 (0) | 2013.07.11 |
---|---|
Solaris 서버 정보 확인 명령어 (0) | 2013.06.25 |
[솔라리스] 솔라리스 10 에서 svc 제어하기(svccfg) (0) | 2013.06.17 |
[솔라리스] 오픈솔라리스 네트워크 설정 (0) | 2013.06.17 |
네트워크 설정을 변경하여 고정 IP를 할당하는 방법 (0) | 2013.06.17 |