General discussion

Locked

linuxconf not working

By chandras ·
After updating s/w and bug fixes Im having problem running in Linuxconf. Get the following error when running on terminal mode.
Error message from remadmin:
Xlib: connection to "0:0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: Gtk-WARNING **: cannot open display: :0

Im running RedHat 7 and using GNOME and I can login w/o a problem.

Please can some one shine some light as to what is causing this.

Thanks

Chuckie

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

linuxconf not working

by ivo.damato In reply to linuxconf not working

Hi,

the problem is with the graphical application to be displayed in your desktop.
If you have logged in as a user, probably you did the command "su - root" in a gnome-terminal session. Sometimes such a request denies root graphical command to be displayed on your user desktop.
Probably there is some misconfiguration somewhere because I also use RH 7.0 but without your problem.
The easies solution is to type this command before:
export DISPLAY=127.0.0.1:0.0
and then type linuxconf, all should work properly!
Bye and have a nice day!
Ivo

Collapse -

linuxconf not working

by chandras In reply to linuxconf not working

Poster rated this answer

Collapse -

linuxconf not working

by chandras In reply to linuxconf not working

I am logged in as root.
I tried that cmd and ran Linuxconf and the error that cam e up is as below
Error message from remadmin:
Xlib: connection to "127.0.0.1:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: Gtk-WARNING **:cannot open display: 127.0.0.1:0.0

Collapse -

linuxconf not working

by Hasse MCSE/Brainbench In reply to linuxconf not working

Hi!

Your problem probably is the following!

You login to the X-Desktop as user: sam

Then you open an exterm and do:
su -
become root and try to run linuxconf, it will fail.

Before doing 'su -' to become root do the following:
xhost +localhost
or
xhost +root

do: man xhost, for more info.

Now all users on your local machine will be able to conect to your X-Server.

Regards
/Hasse

Collapse -

linuxconf not working

by chandras In reply to linuxconf not working

Poster rated this answer

Collapse -

linuxconf not working

by chandras In reply to linuxconf not working

This question was closed by the author

Back to Linux Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums