Prolems logging in from graphical mode

Hey guys!
Recently I have installed a game (mmorpg), planning to play it using Wine. The problem came when the game started to download files for the nProtect Game Guard - after the download I’ve been asked to reboot my computer.

After the reboot I cannot login in the graphical mode with the user I was logged on at that time. I can yet login from the console. When I try to login my screen turns black for a moment then it gets me back to the login screen.

Logging in root works problem-free in any mode.

I deleted the game guard’s files but still it doesn’t work.
Should I strace anything? (I’m somewhat a linux newbie)
Where should the problem be?
Edit: I forgot to say that I’m using opensuse 11 with kde 3.5

  • LinTar,

something damaged your X server configuration, it seems. Login on the console as root, then
init 3
sax2

to reconfigure the X server. If that works, you should be able to log into the GUI again.

Uwe

Unfortunately it didn’t work :frowning:

On 09/24/2008 LinTar wrote:
> Unfortunately it didn’t work :frowning:

What exactly happened when you tried it?

Uwe

Well…I was able to reconfigure the X server, yet when I tried to login again from the graphical mode with that user it acted the same as before - nothing changed.

I created a new user and logging in from the graphical mode with it works fine. So the problem is only with the user I was logged on at that time. Are there any configuration files that I may compare?

What if I login from the console and then strace ‘startx’ or ‘startkde’ - can that help you?

  • LinTar,

okay, so the X server configuration is fine, it’s just your session.
Is it possible that KDE tries to restart the game when you log in? Can you please login, then go back to the command line (Alt+Ctr+F1), login as root and check if the game is still running. Use e.g. "pas ax|grep nameofgameexecutable

Uwe

I’m sorry - I didn’t get you.
I’m a bit new in linux - can you give me details step by step please?

  • LinTar wrote, On 09/26/2008 08:56 PM:
    > I’m sorry - I didn’t get you.
    > I’m a bit new in linux - can you give me details step by step please?

If possible, find out the name of the executable of the game which supoosedly causes trouble. Whats the name of the game, BTW?

  1. Start the computer.
  2. When you reach the login screen, login as the user causing trouble. You’ll see a black screen, it seems.
  3. Now press Alt+Ctrl+F1. This will get you to a command line.
  4. Login as root.
  5. ps ax | grep nameofgameexecutable
  6. Note the PID, the process number shown.
  7. kill numbernotedinstep6
    1. ps ax | grep nameofgameexecutable , in order to see it is really gone.
  8. Hit Alt+Ctrl+F7 This should bring you back to KDE. Did anything change?

Uwe

Looks like there is a small typo in #8 above - that is just “ps ax”, the “5.” should not be there.

On 09/27/2008 mingus725 wrote:
> Looks like there is a small typo in #8 above - that is just “ps ax”,
> the “5.” should not be there.

&%$§*# copy&paste!
Thanks for the correction!

Uwe