PDA

View Full Version : system-config-nfs - Invalid MIT-MAGIC-COOKIE-1


flokip
16th March 2009, 01:10 AM
I can not run any system-config.
There is always Invalid MIT-MAGIC-COOKIE-1

root@flokipa ~]# system-config-nfs
Invalid MIT-MAGIC-COOKIE-1 keysystem-config-nfs þarfnast keyrandi X þjóns.
[root@flokipa ~]# init 3
[root@flokipa ~]#

root@flokipa ~]# system-config-samba
Invalid MIT-MAGIC-COOKIE-1 keysystem-config-samba requires a currently running X server.
[root@flokipa ~]#

root@flokipa ~]# system-config-httpd
Invalid MIT-MAGIC-COOKIE-1 keysystem-config-httpd þarfnast keyrandi X þjóns.
[root@flokipa ~]#

root@flokipa ~]# /usr/bin/system-config-selinux
Invalid MIT-MAGIC-COOKIE-1 keyTraceback (most recent call last):
File "/usr/share/system-config-selinux/system-config-selinux.py", line 25, in <module>
import gtk
File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 79, in <module>
_init()
File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 67, in _init
_gtk.init_check()
RuntimeError: could not open display
[root@flokipa ~]#

leigh123linux
17th March 2009, 10:34 AM
Have you found a solution yet or filed a bug report ?

Edit:

I found your report.

https://bugzilla.redhat.com/show_bug.cgi?id=490357

leigh123linux
17th March 2009, 11:12 AM

I have a similar problem since the last update, gedit gives a MIT-MAGIC-COOKIE error when run as su -


I asked for help, this should explain it


'su -' will have reset your environment, so you don't have access to the magic cookies which authorise you to talk to the X server
you shouldn't be using graphical editors as root. Use nano or 'emacs -nw' or vi
having said that, it does actually work after 'su -' for me, not that I'd ever actually want to use it that way.
in a _normal_ terminal, run 'xauth list $DISPLAY'
and then do it again as root after 'su -'



Run the app's as a normal user, apps like system-config-httpd will prompt you for the root password

flokip
17th March 2009, 01:28 PM
I am wating for update mentioned in

https://www.redhat.com/archives/fedora-test-list/2009-March/msg00831.html


> These should be fixed by the new gdm build (gdm-2.25.2-20.fc11)
> http://koji.fedoraproject.org/koji/buildinfo?buildID=94148

leigh123linux
17th March 2009, 05:03 PM
I am wating for update mentioned in

https://www.redhat.com/archives/fedora-test-list/2009-March/msg00831.html


> These should be fixed by the new gdm build (gdm-2.25.2-20.fc11)
> http://koji.fedoraproject.org/koji/buildinfo?buildID=94148


The gdm package is too old :(


[root@localhost leigh]# rpm -Uvh '/home/leigh/Download/gdm-2.25.2-20.fc11.x86_64.rpm'
Preparing... ########################################### [100%]
package gdm-1:2.26.0-1.fc11.x86_64 (which is newer than gdm-1:2.25.2-20.fc11.x86_64) is already installed
[root@localhost leigh]#

flokip
17th March 2009, 09:42 PM
Now I yumex is ok. ( in https://bugzilla.redhat.com/show_bug.cgi?id=490357)
yumex-2.0.5-6.fc11.noarch

And the problem with system-config and Invalid MIT-MAGIC-COOKIE-1
is not showning up.

I updated form http://koji.fedoraproject.org/koji/packages
Mar 17 18:51:40 Updated: 1:gedit-2.26.0-1.fc11.x86_64
Mar 17 19:09:45 Updated: 1:gdm-2.26.0-2.fc11.x86_64

[root@flokipa ~]# system-config-nfs
[root@flokipa ~]# system-config-samba
[root@flokipa ~]# system-config-httpd
/usr/share/system-config-httpd/ApacheBase.py:7: DeprecationWarning: the md5
module is deprecated; use hashlib instead
from md5 import md5
/usr/share/system-config-httpd/CheckList.py:12: DeprecationWarning: use
gtk.TreeView
CList.__init__ (self, 2)
/usr/share/system-config-httpd/ApacheConf.py:122: DeprecationWarning: use
gtk.TreeView
gtk.CList.__init__ (self, 3, [_("Error Code"), _("Behavior"), _("Location")])
You have new mail in /var/spool/mail/root
[root@flokipa ~]# /usr/bin/system-config-selinux

/usr/share/system-config-selinux/system-config-selinux.py:72: Warning:
IA__g_object_get_valist: object class `GnomeProgram' has no property named
`default-icon'
xml = gtk.glade.XML
("/usr/share/system-config-selinux/system-config-selinux.glade",
domain=PROGNAME)
[root@flokipa ~]#
[root@flokipa ~]#