Hi,

I'm looking for validation of the following recipe for VNC and VNC screen 
resolution change. I'm looking for an X/VNC expert to review these steps... 
(Thanks).

I managed to get a VNC session working on snv_95 using the following 
recipe/setup steps:

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

    <COMMANDS>

    * 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

  </COMMANDS>

2. Alter the service property:

  <COMMANDS>

   # svccfg -s xvnc-inetd

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

changed:

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

to:

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

saved the edit (vi) seesion with ZZ

... ran listprop


   </COMMANDS>  // Note this is how I set the resolution....

3. Reboot


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

Just what I wanted....

So... is this how I should have gone about this?

There are all sorts of conflicting and confusing VNC setup steps around for 
Solaris 10/Open Solaris, I'm sure some of them work within a specific context, 
but I'd love
to see an expert review of my recipe above...

YMMV

Regards,

Stephen

Java SE Engineering - Sustaining - Sun Microsystems
 
 
This message posted from opensolaris.org

Reply via email to