Public bug reported:

This is daily upgraded hardy (32 bit).

It seems for me at least that after a gdm upgrade (but probably it's gdm
related but something else?) no X programs can be run anymore. For
example if I try to run xterm from an already existing terminal window I
got:

No protocol specified
xterm Xt error: Can't open display: :0.0

If I try to 'strace' xterm, I see this:

socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 110) = 0
getpeername(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, [20]) = 0
uname({sys="Linux", node="vega", ...})  = 0
access("/tmp/.gdmVNZW6T", R_OK)         = -1 EACCES (Permission denied)

So, I've checked /tmp/.gdmVNZW6T:

-rw------- 1 root root 115 2008-02-28 10:32 /tmp/.gdmVNZW6T

It seems something alters the ownership of this file to root, so it's
not surprising I can't open it with this permission as non-root. After
chown'ing back to my user, everything works.

[EMAIL PROTECTED]:~$ sudo chown lgb:lgb /tmp/.gdmVNZW6T
[EMAIL PROTECTED]:~$ ls -la /tmp/.gdmVNZW6T
-rw------- 1 lgb lgb 115 2008-02-28 10:32 /tmp/.gdmVNZW6T

Now, I can run X programs without problem. This issue occurs quite
frequently, as far as I remember after upgrades.

gdm version is 2.20.3-0ubuntu5. Please note, that I'm not sure it's
caused by gdm or other package though ...

** Affects: gdm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
After gdm upgrade no X cliens can be run
https://bugs.launchpad.net/bugs/196464
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to