1. From: http://opensolaris.org/os/community/xen/docs/setupvnc/

* Turn on xdmcp.

# svccfg -s cde-login

svc:/application/graphical-login/cde-login>

svc:/application/graphical-login/cde-login> setprop dtlogin/args=""

* If you are not running vncviewer locally on the control domain, set X11-server to listen to tcp port.

# svccfg -s x11-server

svc:/application/x11/x11-server>

svc:/application/x11/x11-server> setprop options/tcp_listen=true

The VNC listen facility should be used with caution due to security considerations.

* Add VNC services at /etc/services.

vnc-server 5900/tcp # VNC Server

* Turn on xvnc-inetd services.

# svcadm enable xvnc-inetd

2. Alter the service property:

# svccfg -s xvnc-inetd

svc:/application/x11/xvnc-inetd> editprop

... I changed:

# setprop inetd_start/exec = astring: "/usr/X11/bin/Xvnc -inetd -query localhost -once securitytypes=none"

... In the vi editor session to:

inetd_start/exec astring "/usr/X11/bin/Xvnc -inetd -query localhost -once securitytypes=none -geometry 1280x1024"

... Then I saved the edit (vi) seesion with ZZ

... I ran listprop to check my work...

... Note this is how I set the resolution....

3. Reboot

..... Now I can login via my Mac vncviewer and get a 1280x1024 resolution.

YMMV

Comments:

Post a Comment:
Comments are closed for this entry.

This blog copyright 2008 by scf