Since build 76 up to 94 :- svccfg -s application/x11/x11-server \ add display1 svccfg -s application/x11/x11-server:display1 \ addpg options application svccfg -s application/x11/x11-server:display1 \ addpropvalue options/server astring: "/usr/X11/bin/Xvnc" svccfg -s application/x11/x11-server:display1 \ mkdir -p /etc/dt/config cp /usr/dt/config/Xservers /etc/dt/config/Xservers echo " :1 Local local_uid@none root /usr/X11/bin/Xserver :1" \>> /etc/dt/config/Xserverspkill -HUP dtlogin provided vnc connection to DomU via port 5901. With SNV97 DomU i am getting message connection refused. -- This message posted from opensolaris.org
Soryy, for typo:- svccfg -s application/x11/x11-server \ add display1 svccfg -s application/x11/x11-server:display1 \ addpg options application svccfg -s application/x11/x11-server:display1 \ addpropvalue options/server astring: "/usr/X11/bin/Xvnc" svccfg -s application/x11/x11-server:display1 \ addpropvalue options/server_args astring: ''"SecurityTypes=None"'' -- This message posted from opensolaris.org
Workaround:- Solaris97PVM console login: root Password: Last login: Sat Sep 6 11:41:12 on console Sep 6 17:30:23 Solaris97PVM login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.11 snv_97 November 2008 # bash bash-3.2# export TERM=vt100 bash-3.2# export PATH=/opt/SUNWtvnc/bin:/usr/openwin/bin:$PATH bash-3.2# echo $PATH /opt/SUNWtvnc/bin:/usr/openwin/bin:/usr/sbin:/usr/bin bash-3.2# vncserver You will require a password to access your desktops. Password: Verify: Would you like to enter a view-only password (y/n)? n xauth: creating new authority file /root/.Xauthority New ''X'' desktop is Solaris97PVM:1 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/Solaris97PVM:1.log bash-3.2# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 xnf0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2 inet 192.168.1.9 netmask ffffff00 broadcast 192.168.1.255 ether 0:16:3e:1b:cd:91 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 bash-3.2# ps -ef|grep vnc root 790 1 0 17:31:25 console 0:00 /opt/SUNWtvnc/bin/Xvnc :1 -desktop X -httpd /opt/SUNWtvnc/bin/../vnc/classes -a bash-3.2# nestat -a|grep 580 bash: nestat: command not found bash-3.2# netstat -a|grep 580 *.5801 *.* 0 0 49152 0 LISTEN ffffff014aa7d580 stream-ord 00000000 00000000 /var/run/dbus/system_bus_socket bash-3.2# Launched browser to http://IP-Dom0:5801, submitted password and get graphical console in browser ( third option suggested by Alan Coopersmith appears only one to work ) -- This message posted from opensolaris.org
As appears vncserver also activates port 5901:- -bash-3.2# netstat -a|grep 580 *.5801 *.* 0 0 49152 0 LISTEN ffffff014b9f7580 stream-ord ffffff014bb12480 00000000 /var/run/hald/dbus-9fQYRGL6mm -bash-3.2# netstat -a|grep 590 *.5901 *.* 0 0 49152 0 LISTEN Solaris97PVM.5901 192.168.1.7.47087 49640 0 49640 0 ESTABLISHED ffffff014bd62590 stream-ord 00000000 00000000 /var/tmp/orbit-root/linc-3b1-0-48c30efadf528 providing usual vnc connection to SNV97 DomU via 5901 -- This message posted from opensolaris.org
OK. I''ve got it done :- Set up VNC on SNV97 DomU at Xen 3.3 CentOS 5.2 Dom0 (64-bit). Connected via port 5901 by vncviewer IP-DomU:2 -- This message posted from opensolaris.org
Snapshot attached. -- This message posted from opensolaris.org
Sorry , port 5902. --- On Sun, 9/7/08, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] How to set up VNC on SNV97 DomU ? To: xen-discuss@opensolaris.org Date: Sunday, September 7, 2008, 11:24 AM OK. I''ve got it done :- Set up VNC on SNV97 DomU at Xen 3.3 CentOS 5.2 Dom0 (64-bit). Connected via port 5901 by vncviewer IP-DomU:2 -- This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
I''ve also tested WinXP HVM ( with JDK 6.0 installed) running at the same Dom0 ( Xen 3.3 CentOS vs Xen 3.1.4 SNV97) for Web Login to SNV97 PV DomU. It might be required at Linux Dom0 and is absolutely needless at SNV97 Dom0 (no problems with Java Web Start vs 64-bit Linux). Target was just performance benchmarking on the box with C2D E8400, 8 GB RAM, P5K Premium/WIFI, 2x250 GB SATA Drives. -- This message posted from opensolaris.org
Firefox 3.0.1 with 32-bit JRE 6.0 plugin allows successfully run JAVAWS on 64-bit CentOS 5.2 Dom0, i.e. load VncViewer applet via http://IP-DomU:5801. SDM starts fine in browser as well. -- This message posted from opensolaris.org