Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Cannot login to SLES 11 SP2 GUI

  1. Cannot login to SLES 11 SP2 GUI

    Hello,

    I've been trying to solve a problem I though was trivial, but after 2 days I'm nearing the point of desperation. I have SLES 11 SP2 running on an IBM Server x3200, enough power, RAM , disc space and compatibility is not a problem. Everything was running smoothly until a few days ago when I was trying to get a GUI remotely from my desktop using the "forwarding X11". I changed a couple of entries in the ssh and sshd config files because I know this is a security issue (I've done this before and it worked but couldn't remember what I did exactly).

    I can access the Server per ssh remotely as well as locally on the command line, when I try to login through the GUI, the user and password is accepted, screen disappears and reappears! This happens over and over (user and pw are correct) and I just can't get the gnome to load properely. I've searched countless forums using well known search engines with key words from the logs and have tried out a lot of stuff but nothing seems to work. One idea was a graphic card issue which I find strange because I didn't change anything there. I tried running sax2 -r in runlevel 3 modus, readjusted the settings but that didn't help.

    This is what I found in /var/log/messages:
    .....
    kernel: [10629.143358] pci 0000:07:00.0: Invalid ROM contents
    kernel: [10629.143360] pci 0000:07:00.0: Invalid ROM contents
    gdm-simple-greeter[29536]: GLib-GObject-CRITICAL: g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed
    gdm-simple-greeter[29536]: GLib-GObject-CRITICAL: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed

    this also looks fishy but doesn't tell me much...

    gdm-session-worker[26956]: WARNING: gdm_session_settings_load: lang = (null)
    checkproc: checkproc: can not get session id for process 26842!


    These are the contents of ~/.xsession-errors (which keep coming up each time I try to login)

    /etc/X11/xim: Checking whether an input method should be started.
    /etc/X11/xim: use GDM_LANG=de_DE.UTF-8
    sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
    INPUT_METHOD is not set or empty (no user selected input method).
    Trying to start a default input method for the locale de_DE.UTF-8 ...
    There is no default input method for the current locale.
    Dummy input method "none" (do not use any fancy input method by default)
    No protocol specified
    No protocol specified

    ** (gnome-session:29327): WARNING **: Anzeige kann nicht geöffnet werden: (TRANSLATION: Display cannot be opned)

    Would really appreciate any help I could get here. As mentioned above, everything was working fine till I started fiddling with the X-server settings, I have changed all of them back to the old values as far as I can tell. I don't really want to do a windows solution by re-installing everything, that would mean a lot of work getting everything back to where I had it. Help!

    Regards

    PK

  2. #2

    Re: Cannot login to SLES 11 SP2 GUI

    Out of curiosity if you SSH into the system and try to run 'xeyes' does
    that show up on your client machine properly? If so perhaps you just have
    something in Gnome or gdm that is broken, and if that's the case
    reinstalling just that component should be pretty easy.

    What are you trying to do within the GUI in the first place? Perhaps we
    can help you with that temporarily.
    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  3. Re: Cannot login to SLES 11 SP2 GUI

    When I try xeyes I get the "Error: Can't open display:" message, but this is a seperate issue. I thought of de- and reinstalling gnome, since there are so many packages are there any in particular I could leave out? I take it there's no risk do this?

  4. Re: Cannot login to SLES 11 SP2 GUI

    Hi PK,
    Quote Originally Posted by Chomba View Post
    When I try xeyes I get the "Error: Can't open display:" message, but this is a seperate issue. I thought of de- and reinstalling gnome, since there are so many packages are there any in particular I could leave out? I take it there's no risk do this?
    my "crystal ball" tells me it isn't a separate issue, but *the* issue.

    For a starter, I understood the X11 output is to appear on your desktop machine, iow you have an X11 server running there.
    You're connecting to your SLES system and want to tunnel the X11 traffic from your clients (running on the SLES server) to your X server (running on your desktop).

    What's a bit funny is that you seem to have a graphical login (so the xdm manager on the SLES system is able to output stuff on your desktop machine's X server), but as soon as you log in, this doesn't work any more.

    Are you establishing the initial X session (xdm to X server) via ssh or over some direct network connection?

    When tunneling X11 through ssh, I have never been using it to start up a window manager, but only to run clients directly - one of the advantages of running Linux clients. What OS is your client using - does it already have a window manager running on the X11 display? Then it'd be like with "Highlanders" - there can only be one.

    Seems I need a bit more details to be helpful.

    Regards,
    Jens
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

  5. Re: Cannot login to SLES 11 SP2 GUI

    Hi Jens,

    sorry I think I didn't make myself clear enough. I have direct access to the server and can/could login via the GUI on a terminal connected directly to it. I wanted to be able to open the GUI from my desktop which is located in another office. WHile trying to do that something went wrong so that now I can't login to the GUI directly on the server. With ctrl+alt+F1 I can change to command modeus and login, if I swith back ctrl+alt+F7 and try logging in via the GUI the screen just disappears and the login screen reappears again. I've set aside the tunneling issue for now as I'd like to have the server back in the state I had it before I started fiddling with the settings.

    Regards and thanks
    PK

  6. Re: Cannot login to SLES 11 SP2 GUI

    On Tue 10 Dec 2013 01:24:01 PM CST, Chomba wrote:


    Hi Jens,

    sorry I think I didn't make myself clear enough. I have direct access to
    the server and can/could login via the GUI on a terminal connected
    directly to it. I wanted to be able to open the GUI from my desktop
    which is located in another office. WHile trying to do that something
    went wrong so that now I can't login to the GUI directly on the server.
    With ctrl+alt+F1 I can change to command modeus and login, if I swith
    back ctrl+alt+F7 and try logging in via the GUI the screen just
    disappears and the login screen reappears again. I've set aside the
    tunneling issue for now as I'd like to have the server back in the state
    I had it before I started fiddling with the settings.

    Regards and thanks
    PK


    Hi
    If you create a test user, can you login to the GUI desktop when on
    the machine?

    Or from the login screen, change the session to icewm, does this work?

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.101-0.8-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  7. Re: Cannot login to SLES 11 SP2 GUI

    Hi PK,
    Quote Originally Posted by Chomba View Post
    Hi Jens,

    sorry I think I didn't make myself clear enough. I have direct access to the server and can/could login via the GUI on a terminal connected directly to it. I wanted to be able to open the GUI from my desktop which is located in another office. WHile trying to do that something went wrong so that now I can't login to the GUI directly on the server. With ctrl+alt+F1 I can change to command modeus and login, if I swith back ctrl+alt+F7 and try logging in via the GUI the screen just disappears and the login screen reappears again. I've set aside the tunneling issue for now as I'd like to have the server back in the state I had it before I started fiddling with the settings.

    Regards and thanks
    PK
    I'm sorry that I got that completely wrong :[

    Does this happen with only one user, or can no user at all log in at the local graphical server console? If it's the former, and if it's not the root user, check if there are any files in that user's profile/home directory that are owned by a different user, i.e. root, or if any of the ~/.[xX]* files are not writable by your user. As you can see, I'm after a permissions problem, where window manager startup is aborted because some essential writes fail. Oh, another place to check is in /tmp, where there ought to be user-specific directories and/or files (/tmp/*$(id -u)* /tmp/*$(id -un)*) that could have been accidentially re-owned as well.

    If it's (only) the root user that cannot log in, permissions ought not be a problem.

    The "hard-core approach" might be to substitute the home dir of the affected user with a clean, empty directory owned by that user and see if that fixes the login issue - if you only rename the original directory, you can switch back without losing data

    If it's every user that is affected, things seem a bit more difficult.

    Regards,
    Jens
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

  8. Re: Cannot login to SLES 11 SP2 GUI

    Hi,

    I already tried a different user, the same problem. icewm doesn't work either.

  9. Re: Cannot login to SLES 11 SP2 GUI

    No worries Jens! I coukd have been a little more specific.

    I don't think it's a permission issue, the test user I created doesn't wotrk either and the behaviour is the same. Did you have a look at the error messages I posted in my first message! The error "** (gnome-session:29327): WARNING **: can't open display :0" from the file ~/.xsession-errors

    ..makes me wonder why now even the local display cannot be loaded.. Really strange

  10. Re: Cannot login to SLES 11 SP2 GUI

    Hi PK,
    Quote Originally Posted by Chomba View Post
    No worries Jens! I coukd have been a little more specific.

    I don't think it's a permission issue, the test user I created doesn't wotrk either and the behaviour is the same. Did you have a look at the error messages I posted in my first message! The error "** (gnome-session:29327): WARNING **: can't open display :0" from the file ~/.xsession-errors

    ..makes me wonder why now even the local display cannot be loaded.. Really strange
    I was busy hunting down the cause of the "INPUT_METHOD is not set or empty" message... but found nothing that would seem to be a likely cause.

    Since it's happening even with a freshly created test user, user profile issues shouldn't be the cause.
    "WARNING **: can't open display :0" might have been caused by a dying X server - no server, no connection. Of course it might have been caused by some (Xauthority) permission problem, hard to distinguish from the logs.

    I just noticed that we have no output from the X server log file (/var/log/Xorg.*.log - should be .0.log, but who knows...), it might list a reason for terminating the process.

    The more bothersome way to debug this is to go through the kdm/xdm/gdm startup scripts and create manual log points ("echo Testpoint XX >> /tmp/mytest.log") to see how far it came - that way, you might get a hint at what piece of code if failing.

    Regards,
    Jens
    From the times when today's "old school" was "new school"

    If you find this post helpful and are logged into the web interface, show your appreciation and click on the star below...

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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