| Summary: | cannot start gui apps from a root after upgrade to gnome 2.26 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marcello Magaldi <magowiz> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Marcello Magaldi
2009-10-10 12:31:20 UTC
Thanks to nirbeek on IRC I found the possible cause of this issue : XDISPLAY var is ok (set to 0:0 like the one of the normal user env) but XAUTHORITY points to a file like this : XAUTHORITY=/tmp/libgksu-BnohB8/.Xauthority but if I do : # cat /tmp/libgksu-BnohB8/.Xauthority cat: /tmp/libgksu-BnohB8/.Xauthority: No such file or directory so the problem is that the XAUTHORITY file doesn't exist.... I have to say that using "su" without resetting the env gives me the same problem of gksu gnome-terminal : gui apps cannot start. Re-emerge x11-misc/shared-mime-info and read the post-installation message. Try the update command also for /root's ~/.local/share/mime/ directory. It's an half-guess based on another bug report I've seen. (In reply to comment #3) > Re-emerge x11-misc/shared-mime-info and read the post-installation message. Try > the update command also for /root's ~/.local/share/mime/ directory. > > It's an half-guess based on another bug report I've seen. > re-emerging shared-mime-info did the trick. Anyway I don't have /root/.local/ dir on my system and neither /usr/local/share/mime/ so I think I should not run the update commands from post-installation message. (In reply to comment #4) > (In reply to comment #3) > > Re-emerge x11-misc/shared-mime-info and read the post-installation message. Try > > the update command also for /root's ~/.local/share/mime/ directory. > > > > It's an half-guess based on another bug report I've seen. > > > > re-emerging shared-mime-info did the trick. Anyway I don't have /root/.local/ > dir on my system and neither /usr/local/share/mime/ so I think I should not run > the update commands from post-installation message. > I hit the same problem again on the same system, and perhaps the same solution works again but is there a way to figure out what make this issue happen? |