Strange xauth problem
Jafaruddin Lie <[email protected]>
| Newsgroups | gmane.org.user-groups.mlug.main |
|---|---|
| Message-ID | <[email protected]> |
I stumbled into this weird problem, wondering if anyone can help me. I put my local user account into the wheel group and ran visudo to enable wheel group to run commands with root privilidges. Running commands from terminal (xterm, konsole or gnome-terminal), except those requiring X or GUI works fine. For those that didn't (lets say for example I ran Code: sudo system-config-network ), they gave out this message: Code: [jafar@jafar ~]$ sudo system-config-network Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key ERROR: Unable to initialize graphical environment. Most likely cause of failure is that the tool was not run using a graphical environment. Please either start your graphical user interface or set your DISPLAY variable. And this is what Code: tail -f /var/log/Xorg.0.log shows: Code: AUDIT: Sat May 7 00:54:23 2005: 9718 X: client 20 rejected from local host Auth name: MIT-MAGIC-COOKIE-1 ID: -1 AUDIT: Sat May 7 00:54:24 2005: 9718 X: client 20 rejected from local host Auth name: MIT-MAGIC-COOKIE-1 ID: -1 I have tried copying .Xauthority from root to my local account, but still no go.