> On Nov 18, 2014, at 7:17 AM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
> 
>> On Nov 18, 2014, at 5:39 AM, Martin Costabel <costa...@wanadoo.fr> wrote:
>> 
>> On 18/11/14 14:05, Jack Howarth wrote:
>>> Daniel,
>>>      I have also reproduced this failure to start Xquartz via
>>> xvfb-run on 10.8 after
>>> a fresh reboot against Xquartz 2.7.8 beta1. So i don't believe the OS
>>> release has
>>> anything to do with the bug.
>> 
>> I am not sure I understand completely what Xvfb or xvfb-run are supposed 
>> to do (except for not crashing with an error message, of course), but it 
>> seems to me that Xfvb *is* an X server, so it would not need to start 
>> Xquartz. But apparently it needs to acquire root privileges for creating 
>> /tmp/.X11-unix when this directory does not exist, and creating a socket 
>> inside. How does Xquartz do this when it is not started as root?
>> 
>> -- 
>> Martin
>> 
>> 
>> 
> 
> What we normally use xvfb-run for is to create an X server transiently for 
> package builds that run into difficulties on headless machines because of the 
> lack of a display.  This used to work  anywhere in the build phase (for older 
> Xquartz and X11, anyway) but now I expect that using xvfb-run in  a 
> PostInstScript should work, since that is run as root, but will fail when run 
> as fink-bld.
> -- 

Oops.  I think I misremembered the situation.  I just tried using xvfb-run on 
my 10.7 machine (stock Apple X11) as my user and it failed.  I guess we’ve 
always been relying on running it as root.  It appears to suffice to run 
something relatively simple as root, like “xvfb-run ls”, so we could have the 
xvfb-run package add scripts to %p/etc/profile.d to run something trivial if 
/tmp/.X11-unix isn’t around.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to