Find the answer to your Linux question:
Results 1 to 7 of 7
the following error message appear when attempting to logon from my Linux desktop.... When I attempt to log in as as user i'm seeing the following error directly after entering ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Banned unknown's Avatar
    Join Date
    Apr 2006
    Posts
    9

    X Login Error


    the following error message appear when attempting to logon from my Linux desktop....

    When I attempt to log in as as user i'm seeing the following error directly after entering the password and username.

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

    Checkbox - View Details (~/.xsession-errors file) which when checked dsiplays the following.

    /home/user/.Xclients: line 8: /home/user/.Xclients-default: No such file or directory

    /home/user/.Xclients: line 8: exec: /home/user/.Xclients-default: cannot execute: No such file or directory

  2. #2
    Linux User oosterhouse's Avatar
    Join Date
    Jan 2006
    Location
    Grand Rapids, MI
    Posts
    318
    Do you have enough disk space?

  3. #3
    Banned unknown's Avatar
    Join Date
    Apr 2006
    Posts
    9
    yeah only 4% of my disk was used.....

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    May 2006
    Posts
    2

    X Login Error - SuSE 10.1

    I am getting the same error after doing an upgrade from SuSE 10 to SuSE 10.1. Logging in as a non-root user works fine, but trying to use YAST2 as root or directly logging in as root gives the error and throws me back to the login prompt.

    My /root/.xsession-errors file shows the following:

    linux:~ # cat .xsession-errors
    /etc/opt/gnome/gdm/PreSession/Default: Registering your session with wtmp and utmp
    /etc/opt/gnome/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "root"
    /etc/X11/xim: Checking wether an input method should be started.
    INPUT_METHOD is not set or empty (no user selected input method).
    Trying to start a default input method for the locale en_US.UTF-8 ...
    There is no default input method for the current locale.
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    unable to open display
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    xrdb: Can't open display ':0'
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key

    (gnome-session:382: Gtk-WARNING **: cannot open display:

    If anybody can help, please just let me know. It's driving me nuts not to be able to properly update in a normal fashion.

    Thanks.

  6. #5
    Just Joined!
    Join Date
    May 2006
    Posts
    2
    I deleted the .XAuthority file and that allowed me to log in as root, no more MIT Magic Cookie error, but now when I log in, as soon as the screen begins to materialize, the video goes crazy, the monitor locks and a reboot is necessary.

  7. #6
    Just Joined!
    Join Date
    Jun 2006
    Posts
    1

    check ~/.ICEauthority permission

    For some reason, after loggin in as a root, the ownership for .ICEauthority in my regular
    account changed to root.

    I changed its ownership back to the non-root account name

    sudo chown foobar ~foobar/.ICEauthority


    and I was able to login using level 5.

  8. #7
    Just Joined!
    Join Date
    May 2007
    Posts
    1

    .Xauthority

    Quote Originally Posted by webgawd View Post
    I am getting the same error after doing an upgrade from SuSE 10 to SuSE 10.1. Logging in as a non-root user works fine, but trying to use YAST2 as root or directly logging in as root gives the error and throws me back to the login prompt.

    My /root/.xsession-errors file shows the following:

    linux:~ # cat .xsession-errors
    /etc/opt/gnome/gdm/PreSession/Default: Registering your session with wtmp and utmp
    /etc/opt/gnome/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "root"
    /etc/X11/xim: Checking wether an input method should be started.
    INPUT_METHOD is not set or empty (no user selected input method).
    Trying to start a default input method for the locale en_US.UTF-8 ...
    There is no default input method for the current locale.
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    unable to open display
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    xrdb: Can't open display ':0'
    Xlib: connection to ":0.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key

    (gnome-session:382: Gtk-WARNING **: cannot open display:

    If anybody can help, please just let me know. It's driving me nuts not to be able to properly update in a normal fashion.

    Thanks.
    If you can log in as a user, su to the root account and copy .Xauthority to the /root directory. It fixed my problem.

    Art

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •