[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#460866: can't open display



On Tue, Feb  5, 2008 at 22:44:00 +0100, Carsten Pfeiffer wrote:

> Am Dienstag, 5. Februar 2008 schrieb Julien Cristau:
> 
> > Running it under strace might explain what's going on here.
> > It looks like the unix socket can't be created for some reason...
> 
> OK, here's the log (using -f).
> 

[pid 12202] link("/tmp/.tX99-lock", "/tmp/.X99-lock") = 0
[pid 12202] unlink("/tmp/.tX99-lock")   = 0
[pid 12202] rt_sigaction(SIGALRM, {0x835f2c0, [ALRM], 0}, NULL, 8) = 0
[pid 12202] setitimer(ITIMER_REAL, {it_interval={0, 20000}, it_value={0, 20000}}, NULL) = 0
[pid 12202] setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
[pid 12202] uname({sys="Linux", node="hosti.leonde.de", ...}) = 0
[pid 12202] socket(PF_FILE, SOCK_STREAM, 0) = 0
[pid 12202] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
[pid 12202] umask(0)                    = 022
[pid 12202] lstat64("/tmp/.X11-unix", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
[pid 12202] unlink("/tmp/.X11-unix/X99") = -1 EPERM (Operation not permitted)
[pid 12202] bind(0, {sa_family=AF_FILE, path="/tmp/.X11-unix/X99"}, 20) = -1 EADDRINUSE (Address already in use)
[pid 12202] write(2, "_XSERVTrans", 11) = 11
[pid 12202] write(2, "SocketUNIXCreateListener: ...Soc"..., 59) = 59
[pid 12202] umask(022)                  = 0
[pid 12202] write(2, "_XSERVTrans", 11) = 11
[pid 12202] write(2, "MakeAllCOTSServerListeners: serv"..., 51) = 51
[pid 12202] write(2, "\nFatal server error:\n", 21) = 21
[pid 12202] write(2, "Cannot establish any listening s"..., 84) = 84
[pid 12202] write(2, "\n", 1)           = 1
[pid 12202] unlink("/tmp/.X99-lock")    = 0
[pid 12202] exit_group(1)               = ?

There's something weird going on in your /tmp/.X11-unix directory.  If
/tmp/.X11-unix/X99 already exists, but /tmp/.X99-lock doesn't, then
please clean up that socket and try again.

Cheers,
Julien



Reply to: