Jump to content

Logging out and switching users


yossarian
 Share

Recommended Posts

Hi everyone,

 

Yesterday I logged out from my account and tried to log in to another account. I got the following 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 this problem.

 

No need to mention that my session lasted much more than 10 seconds (and why is it important, for that matter?). The generous offer, to log in from failsafe session, was gently declined, as I have no idea how to solve the problem.

 

after clicking the "View details" button I saw the following message:

 

Fatal server Error:
Server already active for display 93
this server is no longer running
remove /tmp/X93-lock and start again
...
Can't register passkey agent
The name org.bluez was not provided by any .service files

 

I was also directed in the original message to ~/xsessions-errors file, but I couldn't find it.

 

What do I do next? I didn't want to delete this file without consulting with you before.

Link to comment
Share on other sites

It's safe to delete old lock files which are no longer in use (as would be in your case). The error file your searching is most probably named .xsession-error (notice the leading dot in the filename).

 

OK, thanks. I'll try it later and report back.

Link to comment
Share on other sites

It's safe to delete old lock files which are no longer in use (as would be in your case). The error file your searching is most probably named .xsession-error (notice the leading dot in the filename).

 

BTW, where should I look for this .xsession-errors file?

Link to comment
Share on other sites

It should be in your user's home folder.

 

You are right, thanks. And this is what I got from the file (only the relevant messages):

/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x 
"/var/lib/gdm/:0.Xservers" -h "" -l ":0" "username"
/etc/X11/gdm/Xsession: Beginning session setup...
/etc/X11/gdm/Xsession: Setup done, will execute: /etc/X11/xdm/Xsession GNOME
Can't register passkey agent
The name org.bluez was not provided by any .service files
SESSION_MANAGER=local/localhost:/tmp/.ICE-unix/5890
compiz: water: GL_ARB_fragment_program is missing

** (gnome-obex-server:6061): WARNING **: Unable to register SDP record for OPUSH
Initializing gnome-mount extension

 

So... Is the conclusion still to delete the X93-lock file, or do you think the problem is somewhere else?

Edited by yossarian
Link to comment
Share on other sites

I believe you have something bogus in your hosts file. Can you copypaste it here? (not using Mandriva ATM, but it should likely be /etc/hosts ).

Does it happen if you switch to another login manager, e.g. kdm?

 

I have a few files called hosts.

 

hosts:

127.0.0.1		localhost

hosts.conf:

order hosts,bind
multi on
nospoof on
spoofalert on

hosts.allow:

#
# hosts.allow	This file describes the names of the hosts which are
#		allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#

hosts.deny:

#
# hosts.deny	This file describes the names of the hosts which are
#		*not* allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!

hosts.rmpnew:

127.0.0.1			   localhost

 

Regarding the kdm, I've never used it, and I don't know how to switch to it. If you give me the guidance, I'll try it.

 

So what does it look like, doctor? Tell me the truth: how much time do I have?

Edited by yossarian
Link to comment
Share on other sites

I believe you have something bogus in your hosts file. Can you copypaste it here? (not using Mandriva ATM, but it should likely be /etc/hosts ).

Does it happen if you switch to another login manager, e.g. kdm?

 

OK, I switched it from GDM to XDM (I don't have KDM) through the MCC.When I log out and try to log i as a different user I don't get any messages, I am just thrown back to the original screen where you type the username and password, so that doesn't help either.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...