변군이글루

[솔라리스] Open Solaris VNC 설치 본문

구___솔라리스

[솔라리스] Open Solaris VNC 설치

변군 변군이글루 2013.06.17 23:37

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

 

 

0 Comments
댓글쓰기 폼