ssh login fails to set $DISPLAY

Charles Curley charlescurley at charlescurley.com
Mon Nov 14 12:32:59 MST 2011


On Mon, 14 Nov 2011 12:19:08 -0500
Derek Carter <goozbach at friocorte.com> wrote:

> One thing to check when having X problems is permissions or free
> space in /tmp/

Thanks.

That lead me to check something else: /var/log/auth.log. It is littered
with lines like:

error: Failed to allocate internet-domain X11 display socket.

which also suggests a permissions or file space issue.

root at dragon:/var/log# cd /
root at dragon:/# ll -d tmp/
drwxrwxrwt 9 root root 4096 Nov 14 10:28 tmp/
root at dragon:/# ll tmp
total 44
drwxrwxrwt  9 root    root    4096 Nov 14 10:28 .
drwxr-xr-x 22 root    root    4096 Oct 22 00:26 ..
drwx------  2 backup  backup  4096 Nov 14 02:49 amanda
drwxrwxrwt  2 root    root    4096 Nov 13 09:51 .ICE-unix
drwx------  2 charles charles 4096 Nov 13 09:53 orbit-charles
drwx------  2 charles charles 4096 Nov 13 10:11 ssh-qAkRnj3591
drwx------  2 charles charles 4096 Nov 14 10:12 ssh-qTikG25476
drwx------  2 charles charles 4096 Nov 13 09:51 ssh-xoxuvN2717
-r--r--r--  1 root    root      11 Nov 13 09:46 .X0-lock
drwxrwxrwt  2 root    root    4096 Nov 13 09:46 .X11-unix
-rw-------  1 charles charles  406 Nov 13 09:51 .xfsm-ICE-3W7H4V
root at dragon:/# df /tmp
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/dragon01-dragonroot
                      155G  2.8G  144G   2% /
root at dragon:/# ll tmp/.X11-unix/
total 8
drwxrwxrwt 2 root root 4096 Nov 13 09:46 .
drwxrwxrwt 9 root root 4096 Nov 14 10:28 ..
srwxrwxrwx 1 root root    0 Nov 13 09:46 X0
root at dragon:/# find tmp -type s | xargs ls -l
srwxrwxrwx 1 charles charles 0 Nov 13 09:51 tmp/.ICE-unix/2717
srwxr-xr-x 1 charles charles 0 Nov 13 10:11 tmp/ssh-qAkRnj3591/agent.3591
srwxr-xr-x 1 charles charles 0 Nov 14 10:12 tmp/ssh-qTikG25476/agent.25476
srw------- 1 charles charles 0 Nov 13 09:51 tmp/ssh-xoxuvN2717/agent.2717
srwxrwxrwx 1 root    root    0 Nov 13 09:46 tmp/.X11-unix/X0
root at dragon:/# 



-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB


More information about the PLUG mailing list