Alan Coopersmith wrote:
> simon.jin wrote:
>   
>> Alan Coopersmith wrote:
>>     
>>> simon.jin wrote:
>>>  
>>>       
>>>> I try to run  "/usr/openwin/bin/Xvfb :1 screen 0 1280x1024x8  & and keep
>>>> getting
>>>>     
>>>>         
>>> Try running /usr/X11/bin/Xvfb instead - it doesn't require OWconfig
>>> changes,
>>> and will be the version of Xvfb shipped going forward (the old Xsun based
>>> /usr/openwin/bin/Xvfb is not included in OpenSolaris and will be removed
>>> from Nevada soon).
>>>
>>>   
>>>       
>> I try /usr/X11/bin/Xvfb instead and got:
>>
>> Fatal server error:
>> Unrecognized option: screen
>>
>> I also find bug
>> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6599201
>> it says the example on Xvfb man is not correct.
>>
>> I also try some thing like:
>> /usr/X11/bin/Xvfb -dev vfb :1 screen 0 1280x1024x8
>> but still won't work.
>> Does someone have latest doc about Xvfb?
>> Any help will be very appreciated!
>>     
>
> Unfortunately, only the man page for /usr/openwin/bin/Xvfb got shipped
> before nv_116 due to an oversight.   I've attached the man page
> (converted to text) for /usr/X11/bin/Xvfb from nv_116 for reference.
>
> For /usr/X11/bin/Xvfb, the correct syntax would be
>       /usr/X11/bin/Xvfb :0 -screen 0 1280x1024x8
>
>   
Hi Alan
  Thanks for great help, still have some trouble.
Run command:
/usr/X11/bin/Xvfb :2 -screen 2 1280x1204x24
Get error message:

Error in setting egid to 0: Not owner(EE) XKB: Couldn't open rules file 
/usr/X11/lib/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard
Error in setting egid to 0:not owner

I checked, there is no base file under /usr/X11/lib/X11/xkb/rules/.

ps -ef|grep Xvfb
unitslav   594     1   0 23:44:50 ?           0:07 /usr/X11/bin/Xvfb :3 
-screen 3 1280x1024x24
seems like the Xvfb process starts.

bash-3.2$ pcred 594
594:    e/r/suid=111  e/r/sgid=1

bash-3.2$ uname -a
SunOS nv108 5.11 snv_108 sun4v sparc SUNW,SPARC-Enterprise-T5220 Solaris

with tdlogin.

Why  need to change egid to 0 here?
Any hints regarding what I'm doing wrong would be appreciated.

Regards
--Simon





Reply via email to