Welcome to Omgili,
Omgili ( Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.
This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.
 |
|
 |
|
xkcd • View topic - Logged out while logged in, Redhat stop being an asshat.
So I have a bit off a problem, at my uni all computers run Linux Redhat.
I was logged in, and was leaving a comp to play some guitarr hero, got back an hour later, I get back, someone has "logged me off" , themselves logged out, and a third party taken the computer.
I am on that computer running both firefox and Open office, so I cannot properly use either firefox nor "writer" on any school computer as my login is already using both.
So I want to either be able to remove some aledged file from the firefox directory, ofcourse I have no idea which this file is, but apparnatly that should make me able to use firefox on other computers, or simply log out, but since I am not very familiar with redhat and or linux, well I am not sure how to go about doing that.
Oh and the same for open office preferably, though I don't think the situation there is quite as crucial.
//Yepp, THE fjafjan (who's THE fjafjan?)
Quote: : Fjafjan, your hair is so lovely that I want to go to Sweden, collect the bit you cut off in your latest haircut and keep it in my room, and smell it.
And eventually use it to complete my shrine dedicated to you.
|
|
 |
|
 |
 |
|
 |
|
I'm not sure I understand the problem --- if you're logged off the RH desktop then your processes (FF and OO) should be terminated during logoff.
Possible answer: ask the third party that's now using the machine, if you can open a shell (or terminal or however you callit) on that machine.
There you login using your name and password, and look with ps (= `process') which active processes you have.
Get that (4digit) number N, then say kill N, both for OO and FF.
Possibly you have to say ps -A to see ALL processes, and possibly you can (but shouldnt?) see it on the shell before logging in as yourself.
And oh, do log yourself off that terminal, with logoff or logout or exit as appropriate.
|
|
 |
|
 |
 |
|
 |
|
Ah see I am not "signed out", I locked the screen, and then someone else signed in on that computer by pressing Ctrl ...
Something. Basically the way you go from the "this computer is locked" to "sign in!" screen.
And then that person signed out and now someone else signed in.
Also wait, are you suggesting you log into a "terminal"?
Terminal is what I use to describe not the "windowsy graphic interface" but the text based interface window you can open and write stuff in.
Confusement.
and I can't really use that computer, it's being used for LAN I could come back tomorrow and do it though, but a bit annoying it be.
//Yepp, THE fjafjan (who's THE fjafjan?)
Quote: : Fjafjan, your hair is so lovely that I want to go to Sweden, collect the bit you cut off in your latest haircut and keep it in my room, and smell it.
And eventually use it to complete my shrine dedicated to you.
|
|
 |
|
 |
 |
|
 |
|
In that case you'll have to ask the admins, and remotely login to the machine.
They can anyways kill your processes without your password.
Also, being friday, big chance that there's a general cleanup and all is being thrown off anyway to revert to a clean slate.
That was the only way to get our pc's clean after 5 days of toggling options and preferences and changing `fail' sounds to orgasmic moaning etc.
|
|
 |
|
 |
 |
|
 |
|
I suspect that person did ctrl-alt-backspace, which kills the X server (graphical interface), and in the way all processes you started from the graphical interface are killed instantly.
So they probably didn't get a chance to delete some lock files or something.
For firefox, see if Code: Select all find ~/.mozilla -name lock returns something, and if so, delete that.
For openoffice, see if you have a file named Code: Select all ~/.openoffice.org2/.lock or similar, and if so, delete it.
I thought that, by now, programmers would know they should put the process id in the lockfile and see if there's a process with that pid, to prevent that kind of stuff...
Anyway. <Will>
S/hate/love/ Quote: : We are only mildly modly.
Beware of the shrolymerase!
|
|
 |
|
 |
 |
|
 |
|
A good idea, but I asked one of the "computer course" teachers and they removed the lock files but Firefox does still not work.
Any other ideas?
//Yepp, THE fjafjan (who's THE fjafjan?)
Quote: : Fjafjan, your hair is so lovely that I want to go to Sweden, collect the bit you cut off in your latest haircut and keep it in my room, and smell it.
And eventually use it to complete my shrine dedicated to you.
|
|
 |
|
 |
 |
|
 |
|
Interesting ... Is it just your account?
Just that workstation?
What happens when you start those programs from a terminal?
Any interesting output?
Try renaming your ~/.mozilla directory (mv ~/.mozilla ~/.mozilla-backup) and see if firefox works better, that would tell if there something in that directory that confuses it.
<Will> s/hate/love/ Quote: : We are only mildly modly.
Beware of the shrolymerase!
|
|
 |
|
 |
 |
|
 |
|
Nomatter the workstation my 'account' is unable to use firefox.
And I usuaully start it from the terminal ...
And it says the same thing, ie the terminal doesn't say anything, it starts it, it goes "already running!" and then it stops running.
I will try you solution when back in school though.
//Yepp, THE fjafjan (who's THE fjafjan?)
Quote: : Fjafjan, your hair is so lovely that I want to go to Sweden, collect the bit you cut off in your latest haircut and keep it in my room, and smell it.
And eventually use it to complete my shrine dedicated to you.
|
|
 |
|
 |
 |
|
 |
|
Quote: : Nomatter the workstation
That means it's definitely not a stale/zombie/whatever process.
my 'account' is unable to use firefox.
I meant to ask, is it only you who is affected or other people as well?
I've seen firefox refusing to start because of some systemwide problem.
Also (before doing the renaming .mozilla thing) try to run it with the --verbose option.
That might give some extra info.
<Will> s/hate/love/ Quote: : We are only mildly modly.
Beware of the shrolymerase!
|
|
 |
|
 |
 |
|
 |
|
Quote: : Try renaming your ~/.mozilla directory (mv ~/.mozilla ~/.mozilla-backup) and see if firefox works better, that would tell if there something in that directory that confuses it.
That worked!
Thanks alot
And to clarify it was just for me, not other peoples.
And unrelated to the workstation I was on.
But not it's fixed so no matter.
//Yepp, THE fjafjan (who's THE fjafjan?)
Quote: : Fjafjan, your hair is so lovely that I want to go to Sweden, collect the bit you cut off in your latest haircut and keep it in my room, and smell it.
And eventually use it to complete my shrine dedicated to you.
|
|
 |
|
 |
 |
|
 |
|
Quote: : Quote: : Try renaming your ~/.mozilla directory (mv ~/.mozilla ~/.mozilla-backup) and see if firefox works better, that would tell if there something in that directory that confuses it.
That worked!
Thanks alot
And to clarify it was just for me, not other peoples.
And unrelated to the workstation I was on.
But not it's fixed so no matter.
You probably lost all your cookies, bookmarks and history in the process (because all of those are stored in that directory).
So you probably want to copy the relevant files from the backup into the corresponding place in the newly created .mozilla directory (firefox creates that directory if it can't find it).
Things like bookmarks.html, cookies.txt, history.dat and friends.
Obviously when firefox is not running.
<Will> s/hate/love/ Quote: : We are only mildly modly.
Beware of the shrolymerase!
|
|
 |
|
 |
 |
|
 |
|
I can't confirm that this is what happened, but it's possible.
While you locked the screen, the other user hit Ctrl +Alt + F[1-8] to switch to a different virtual terminal.
This would have kept you logged in while also allowing him access.
Last I checked, this wouldn't allow the other user access to the X server or programs that needed it, but I've not used RH linux, only Debian derivatives and Gentoo.
|
|
 |
|
 |
|
|
|