On Wed, 20 Feb 2002 15:14:51 -0500 (EST)
Jianping Zhu <[EMAIL PROTECTED]> blurted:

> 
> I have redhat 7.1 sever machine, when I tried to user the graphical
> rpm client (gnorpm in command line), I got error message 
> Gtk-WARNING **: Canot open display.
> 
> Can anybody tell me how can I use the graphical rpm client gnormp?
> Thanks
> 
> --------------------------------
> Jianping Zhu
> Department of Computer Science
> Univerity of Georgia 
> Athens, GA 30602
> Tel 706 5423900
> --------------------------------

At a commandline, as the logged in user:

xhost +localhost

Then try it again.

So, what's happening? You're asking gnorpm to open (as root most likely)
on a desktop, or display, that the user doesn't have permission to use.
The above line lets anyone on the machine use the desktop display until
that user logs out. Once that user logs out the display is opened for
the next user that logs in, at which time their own permissions take
precedence.

See 'man xhost' for more info.

-- 
We put the "k" in "kwality"



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to