After gdm upgrade no X cliens can be run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-restricted-modules-2.6.24 (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
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="/
getpeername(3, {sa_family=AF_FILE, path="/
uname({sys="Linux", node="vega", ...}) = 0
access(
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.
lgb@vega:~$ sudo chown lgb:lgb /tmp/.gdmVNZW6T
lgb@vega:~$ 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 ...
tags: | added: hardy |
Thank you for your bug report. Could you attach your gdm configuration and log to the bug? There should be no file under tmp used, are you sure you are running the ubuntu version?