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

Reply via email to