LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-06-2004, 01:11 PM   #1
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Rep: Reputation: 15
Killing an X session


Hi all,
Well I was going to try to paste in a link to show how to install a VNC X-Terminal server but the system won't let me yet. You may already know how to do this already, but anyway, with some fiddling I got it to work on Mandrake (had to use Gnome to get it to work). However at one point, I was logged into an X session, and it froze up. I logged into another session on the same machine (using VNC), and did a ps -aux (I was logged in as root). that showed a bunch of entries, and I just guessed at the best one to terminate. Turned out to be the right one. Incidentally it showed as Xvnc -inetd ... etc ... etc. That seemed to kill off the zombie X session, but I was wondering if there was a better/easier way to do what I just did?

-P

P.S.
I should have said "educated guess." I didn't just arbitrarily say "That one!" and kill it off, although that could be fun under certain circumstances. Also, hopefully I am posting to the right forum.
 
Old 01-07-2004, 05:15 PM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Usually you can hit Ctrl-Alt-Bckspace. This will restart your X session.

You can also hit Ctrl-Alt-F1 through F6 to go to a terminal screen. You can log in and do the ps -aux and kill whatever you like. I think X is in the Ctrl-Alt-F6 screen (tty6), but I'm not positive on that one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Killing an SSH Session chatmasta Linux - Networking 5 05-27-2015 02:51 AM
This is killing me UncleEricB Linux - Networking 2 02-01-2005 09:41 PM
xfce4-session fails to save session ! OneManArmy Debian 0 12-10-2004 02:14 PM
add a session to Session of gdm freenet Linux - Software 0 08-07-2003 05:21 AM
killing a users ssh session acid2000 Linux - Software 6 03-17-2003 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration