PDA

View Full Version : Cannot start X session as any new user



Fibonacci
19th July 2006, 10:58 PM
Hello,

I have recently discovered that I can't start an X session as any user other than myself or root. After creating a new user account for the umpteenth time, and trying to login, be it using gnome or KDE, I only get this error message:

Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix the problem.

View details (~/.xsession-errors file):


/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x /var/gdm/:20.Xservers" -h "" -l "20" "invitado"
PRNG is not seeded

Strange thing is, there is no .xsession-errors file in the home directory of the new user. Or in any home dir, for that matter.

What am I doing wrong?

Thanks in advance,

-Fibo

tebbens
20th July 2006, 12:11 AM
Is there anything in these log files ?:
/var/log/Xorg.0.log
/var/log/messages
/var/log/secure

Sould like a file permissions setting somewhere...the new user is not allowed to start
something needed by X.

What does Xorg look like ?

ls -la /usr/bin/Xorg

Fibonacci
20th July 2006, 12:46 AM
/var/log/Xorg.0.log

Too long, see attached file.


/var/log/messages


Jul 19 16:49:14 prower gconfd (root-17188): Inizializzazione (versione 2.14.0), pid 17188, utente 'root'
Jul 19 16:49:14 prower gconfd (root-17188): L'indirizzo "xml:readonly:/etc/gconf/gconf.xml.mandatory" stato risolta ad una fonte di configurazione in sola lettura in posizione 0
Jul 19 16:49:14 prower gconfd (root-17188): L'indirizzo "xml:readwrite:/root/.gconf" stato risolto ad una fonte di configurazione scrivibile in posizione 1
Jul 19 16:49:14 prower gconfd (root-17188): L'indirizzo "xml:readonly:/etc/gconf/gconf.xml.defaults" stato risolta ad una fonte di configurazione in sola lettura in posizione 2
Jul 19 16:50:35 prower gconfd (fibonacci-17233): Inizializzazione (versione 2.14.0), pid 17233, utente 'fibonacci'
Jul 19 16:50:35 prower gconfd (fibonacci-17233): L'indirizzo "xml:readonly:/etc/gconf/gconf.xml.mandatory" stato risolta ad una fonte di configurazione in sola lettura in posizione 0
Jul 19 16:50:35 prower gconfd (fibonacci-17233): L'indirizzo "xml:readwrite:/home/fibonacci/.gconf" stato risolto ad una fonte di configurazione scrivibile in posizione 1
Jul 19 16:50:35 prower gconfd (fibonacci-17233): L'indirizzo "xml:readonly:/etc/gconf/gconf.xml.defaults" stato risolta ad una fonte di configurazione in sola lettura in posizione 2


/var/log/secure


Jul 19 16:38:04 prower gdm[16498]: pam_unix(gdm:session): session opened for user invitado by (uid=0)
Jul 19 16:38:11 prower gdm[16498]: pam_unix(gdm:session): session closed for user invitado
Jul 19 16:39:32 prower gdm[16598]: pam_unix(gdm:session): session opened for user fibonacci by (uid=0)
Jul 19 16:40:00 prower gdm[16598]: pam_unix(gdm:session): session closed for user fibonacci
Jul 19 16:42:22 prower gdm[16873]: pam_unix(gdm:session): session opened for user invitado by (uid=0)
Jul 19 16:43:35 prower login: pam_unix(login:session): session opened for user fibonacci by LOGIN(uid=0)
Jul 19 16:43:35 prower login: LOGIN ON tty1 BY fibonacci
Jul 19 16:47:12 prower gdm[16873]: pam_unix(gdm:session): session closed for user invitado
Jul 19 16:47:40 prower login: pam_unix(login:session): session closed for user fibonacci
Jul 19 16:48:15 prower gdm[17070]: pam_unix(gdm:session): session opened for user invitado by (uid=0)
Jul 19 16:48:33 prower gdm[17070]: pam_unix(gdm:session): session closed for user invitado


Sould like a file permissions setting somewhere...the new user is not allowed to start
something needed by X.

Any new user?


ls -la /usr/bin/Xorg


-rws--x--x 1 root root 1848896 15 mar 15:35 /usr/bin/Xorg