running X client as root in other accounts

2002-06-16 Thread uzoma nwosu

I really hope this is a simple question that I'm just missing the answer 
somewhere.  I'm running Debian Woody on an AMD K6-2 350 box.  Everything works 
fine for the most part.  It's just that when I try to run a xclient as root 
from a term in an another user account I get this error:

# xcdroast 
Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server

Gtk-WARNING **: cannot open display: :0.0

Now, I've just ignored this issue because it's not task critical. However, I 
now wish to fix this.  So I humbly ask for suggestions.

Uzoma


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: running X client as root in other accounts

2002-06-16 Thread Glen Lee Edwards
On Sunday 16 June 2002 10:15 am, uzoma nwosu wrote:
 I really hope this is a simple question that I'm just missing the
 answer somewhere.  I'm running Debian Woody on an AMD K6-2 350 box. 
 Everything works fine for the most part.  It's just that when I try
 to run a xclient as root from a term in an another user account I get
 this error:

 # xcdroast
 Xlib: connection to :0.0 refused by server
 Xlib: Client is not authorized to connect to Server

 Gtk-WARNING **: cannot open display: :0.0

 Now, I've just ignored this issue because it's not task critical.
 However, I now wish to fix this.  So I humbly ask for suggestions.

I'm not real clear on what you're trying to do.  ...run a xclient as 
root from a term in an another user account...  Do you mean that you 
have two xsessions active on your box from two different users.  Or do 
you mean that you have one xsession active, you've logged into via 
console another user account, su'd to root, and now wish to display 
xcdroast from user2-su[root] on user1's X display?  Or (and most 
likely), you've logged into X.  su'd to root, and now want to start 
xcdroast?

Assuming the latter, try this:  from your primary user and your 
favorite term; su to root,  then enter:

# xcdroast -d :0.0

Glen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]