Solved

Can't Logout from Red Hat Linux

Posted on 2006-11-04
3
216 Views
Last Modified: 2013-12-06
I'm on a network, I logged myself into two machines, but Im not using the same files so I didn't think it would be a problem.

I had a power failure and now when I log back in, it says my user preferences are not found because im logged in somewhere else


All of my program icons are gone .. I guess those things are in preferences, so how can I remotely log out from all my sessions?
0
Comment
Question by:polkadot
3 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
You should look for lock files for your X sessions.  Once those are removed, you should be fine. ls -la.
Which X windowing system are you using?  That should direct you to the correct location to look for the lock file.
0
 
LVL 6

Accepted Solution

by:
_iskywalker_ earned 500 total points
Comment Utility
Yes maybe your windows manager has put lock files.
for example:
find|grep lock
./.gconf/apps/panel/applets/clock_screen0
./.gconf/apps/panel/applets/clock_screen0/prefs
./.gconf/apps/panel/applets/clock_screen0/prefs/%gconf.xml
./.gconf/apps/panel/applets/clock_screen0/%gconf.xml
./.mozilla/firefox/qly19tet.default/.parentlock
./.mozilla/firefox/qly19tet.default/lock
./.qt/.qt_plugins_3.3rc.lock
./.openoffice.org2/.lock

if i do a:
rm ./.mozilla/firefox/qly19tet.default/lock
i remove the firefox lock.
0
 
LVL 4

Expert Comment

by:KellyCraig
Comment Utility
Well.
you can do a "last" command on all the machines you could have been logged into and then reboot the one that shows your session no longer controlled by you.
Otherwise, you can
"rm -rf .??*" in your home directory as root.
This would yes delete all your dotfiles (backgrounds, session info, login prefs) etc, but it would fix your problem.
--Kelly
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now