OpenSolaris

Printable Version Enter a New Search
Bug ID 6280222
Synopsis solaris 10 X86 xvfb Virtual Frame Buffer in a local zone
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:graphics
Keywords 5.10 | zones
Responsible Engineer Alan Coopersmith
Reported Against s10_41f
Duplicate Of
Introduced In solaris_10u1
Commit to Fix snv_18
Fixed In snv_18
Release Fixed solaris_nevada(snv_18) , solaris_10u1(s10u1_11) (Bug ID:2127255)
Related Bugs 4925328 , 5010912 , 5056193 , 6224159
Submit Date 3-June-2005
Last Update Date 17-January-2007
Description
Virtual Frame Buffer in a local zone xvfb

in the GLOBAL: the following works...

/usr/openwin/bin/Xvfb screen 1024x768x24

Doing the same in a LOCAL gives:

# /usr/openwin/bin/Xvfb screen 1024x768x24

here is no XDISPLAY information for display 0.
Check the OWconfig file(s) and try again.

Fatal server error:
The server will now exit because of configuration problems.
# able to restore text mode on vfb#
#

So lets get a little fancy to get rid of the "XDISPLAY" error...
edit /usr/openwin/server/etc/OWconfig and add:

# Virtual X Display for virtuals

class="XDISPLAY" name="5"
coreKeyboard="NKBD" corePointer="NMOUSE"
dev1="vfb";

Ok, now lets try the Xfb command in the LOCAL again...

#
# /usr/openwin/bin/Xvfb :5 screen 1024x768x24

Fatal server error:
The server can't access IO registers.

#

trussing this event shows lots of stuff, but no smoking gun (from what I can tell...)
truncated truss output for those interested...)

sigaction(SIGXCPU, 0x08047CE0, 0x00000000) = 0
sigaction(SIGXFSZ, 0x08047CE0, 0x00000000) = 0
sigaction(SIGTHAW, 0x08047CE0, 0x00000000) = 0
sysi86(SI86V86, 0x00000004, 0xFFFFFFFF, 0x08415378) Err#1 EPERM [sys_config] fstat64(2, 0x08046FE0) = 0

Fatal server error:
write(2, "\n F a t a l s e r v e".., 21) = 21
The server can't access IO registers.
write(2, " T h e s e r v e r c".., 38) = 38


This seems to work just fine for SPARC, its on x86 (SUN v40z) that there seems to be some sort of issue? 

# /usr/openwin/bin/Xvfb :5 screen 1024x768x24
|
|Fatal server error:
|The server can't access IO registers.

Hmm - have you installed Xsun patch 119060-02?  If so, try backing it
out.  Looks like the fix to make it not poke the console hardware for
Sun Ray may have had an unexpected Xvfb side effect.

removing patch 119060-02 fixed the problem with local zone. filing this bug because
could be a bad patch??

 xxxxx@xxxxx.com 2005-06-03 15:27:14 GMT


 xxxxx@xxxxx.com 2005-06-09 16:42:08 GMT
Work Around
Customer reports removing patch 119060-02 appears to fix the problem with local zone.
 xxxxx@xxxxx.com 2005-06-09 16:42:08 GMT
Comments
N/A