Red Hat Bugzilla – Bug 120755
Cannot login because of Xsession or Xclients not executable
Last modified: 2007-11-30 17:10:40 EST
Description of problem:
I cannot login using gdm straight to gnome, I have to open a failsafe
session then, do a startx || gnome-session and it works fine (this is
as a user authenticated via an LDAP); root (from the /etc/passwd; not
LDAP) can get in just fine. This seemed to just randomly happen one
day; I used to be able to login just fine.
Version-Release number of selected component (if applicable):
all the time
Steps to Reproduce:
1. type in user
2. type in pass
3. hit enter (default session or GNOME session)
x doesn't start, gives the "session started for < 10 seconds" prompt
and points me to ~/.xsessions-errors
Gnome to startup.
Sometimes I have to delete my /tmp/.X0-lock file before I can login
with the failsafe method.
I played with the Xsession file a bit (commented out line 126, and
took out the ssh-agent bit -- didn't help at all. Also tried using
switchdesk which provided the same error messages only xclients was
Created attachment 99378 [details]
bash-2.05b$ cat .xsession-errors
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w
/var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0"
/etc/X11/xdm/Xsession: line 126: /usr/bin/ssh-agent /etc/X11/xinit/Xclients: No
such file or directory
/etc/X11/xdm/Xsession: line 126: exec: /usr/bin/ssh-agent
/etc/X11/xinit/Xclients: cannot execute: No such file or directory
bash-2.05b$ ls -al /etc/X11/xdm/Xsession
-rwxr-xr-x 1 root root 3288 Apr 13 13:33 /etc/X11/xdm/Xsession
bash-2.05b$ ls -al /etc/X11/xinit/Xclients
-rwxr-xr-x 1 root root 1914 Oct 23 21:53 /etc/X11/xinit/Xclients
I'm unable to reproduce this in the current supported release of
Fedora Core 2.
Setting status to "CURRENTRELEASE".