Solved

Can't Logout from Red Hat Linux

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux SSH Error 9 118
Cloning images independently from hardware 6 82
windows 10 anniversary update -- download size ? 4 726
Changing names of Physical Servers 1 49
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
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.

772 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