Solved

Can't Logout from Red Hat Linux

Posted on 2006-11-04
3
217 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 77

Expert Comment

by:arnold
ID: 17874988
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
ID: 17880228
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
ID: 17881866
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 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

22 Experts available now in Live!

Get 1:1 Help Now