"man Xsecurity"  (which is listed in the xhost man page See Also,
but should probably be called out in the earlier text as the place
with the list of the various server-interpreted options - I'll go
add a note on that).

        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering
        February 2007 Selection: LSARC Chair of the Month Club


Jerry Kemp wrote:
> Mark,
> 
> Do you know where I can RTFM further concerning the xhost options that 
> you provided below?  They are not in my xhost man pages, and they are 
> not in the xhost help text (i.e. xhost -help) .
> 
> Thank you,
> 
> Jerry
> 
> 
> Mark Phalan wrote:
>> On Fri, 2007-02-02 at 00:28 -0800, W. Wayne Liauh wrote:
>>> After I su to a different user (which could be root or a non-root 
>>> user), I am getting the following message when I try to run any 
>>> x-based program such as firefox:
>>>
>>> (firefox-bin:2060): Gtk-WARNING **: cannot open display:
>>> Can anyone help?  Thanks.
>>>
>>> Also, how do I add user names to the x access control list?
>>
>>
>> Before su'ing run
>>
>> $ xhost +si:localuser:root
>>
>> (replace root with whatever user you are su'ing to)
>>
>> after su'ing
>>
>> $ export DISPLAY=:0
>>
>>
>> -Mark
>>
>>>  
>>>
>>> This message posted from opensolaris.org
>>> _______________________________________________
>>> xwin-discuss mailing list
>>> xwin-discuss at opensolaris.org
>>
>> _______________________________________________
>> xwin-discuss mailing list
>> xwin-discuss at opensolaris.org
> _______________________________________________
> xwin-discuss mailing list
> xwin-discuss at opensolaris.org

Reply via email to