Setting up vncserver on OpenSolaris zone

Posted by k.park on Server Fault See other posts from Server Fault or by k.park
Published on 2009-11-12T05:16:58Z Indexed on 2010/05/02 14:08 UTC
Read the original article Hit count: 471

Filed under:
|
|
|

I am running OpenSolaris 5.10 and set up a sparse zone(inherits most of bin directories from global zone). I ended up copying many etc and var files from global zone, eventually most of the stuff(firefox,gvim, etc.) working through ssh via X11. However, I am having problems setting up vncserver on the zone. This is what I get if I tried to start the vncserver.

 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5911
 vncext:      created VNC server for screen 0

Fatal server error:
could not open default font 'fixed'
_X11TransNAMEDOpenClient: Cannot open /tmp/.X11-pipe/X11 for NAMED connection
_X11TransOpen: transport open failed for local/%zone%:11
xsetroot:  unable to open display '%zone%:11'
_X11TransNAMEDOpenClient: Cannot open /tmp/.X11-pipe/X11 for NAMED connection
_X11TransOpen: transport open failed for local/%zone%:11
_X11TransNAMEDOpenClient: Cannot open /tmp/.X11-pipe/X11 for NAMED connection
_X11TransOpen: transport open failed for local/%zone%:11
_X11TransNAMEDOpenClient: Cannot open /tmp/.X11-pipe/X11 for NAMED connection
_X11TransOpen: transport open failed for local/%zone%:11
vncconfig: unable to open display "%zone%:11"
twm:  unable to open display "%zone%:11"
xterm Xt error: Can't open display: %zone%:11

I already chmoded /tmp/.X11-pipe with 777, and there is no pipe in /tmp/.X11-pipe or /tmp/.X11-unix directory.

Here is my cat /etc/release:

                 OpenSolaris 2009.06 snv_111b X86
   Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                Use is subject to license terms.
                      Assembled 07 May 2009

BRAND: ipkg

© Server Fault or respective owner

Related posts about zones

Related posts about opensolaris