LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2010, 08:54 PM   #16
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25

Quote:
Originally Posted by TobiSGD View Post
Ctrl+Alt+F4 will not kill X, it will bring you to the fourth virtual terminal. As the OP already stated, this does not work.
yes dude your right.

Try to press ctrl + alt + del then select restart
 
Old 11-17-2010, 09:13 PM   #17
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by biplab roy View Post
warsow always hangs
What does warsow mean? Is it L33t-speak or a typo?
 
Old 11-18-2010, 12:55 AM   #18
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by TobiSGD View Post
Ctrl+Alt+F4 will not kill X...
No, if you wanted to kill X, that would be ctrl-alt-backspace. that, if it works, will kill all graphical programs running and may or may not be considered helpful. If this game is the only graphical program running, why not try it?
 
Old 11-18-2010, 07:00 AM   #19
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839
Quote:
Originally Posted by catkin View Post
What does warsow mean? Is it L33t-speak or a typo?
It is a game. http://www.warsow.net/
 
Old 11-18-2010, 07:02 AM   #20
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 394

Rep: Reputation: 61
ps -elf | grep <process name>
kill <PID>
 
0 members found this post helpful.
Old 11-18-2010, 07:06 AM   #21
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839
Quote:
Originally Posted by arashi256 View Post
ps -elf | grep <process name>
kill <PID>
Doesn't help if you are stuck in fullscreen.
 
Old 11-18-2010, 08:05 AM   #22
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 841

Rep: Reputation: 201Reputation: 201Reputation: 201
While developing and testing programs it can happen. Since you know the bad program or process always run it after closing all other programs and `sync` ing the system. That way, you can always unplug the power without losing data.

In the meanwhile, debug the program that hangs in full screen mode.

OK
 
Old 11-18-2010, 08:19 AM   #23
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,073

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
The answer to this thread depends on what exactly happened.

If the graphics driver hard locked X the only thing you can do (at most, and only if your kernel is prepared for that) is to use Alt+SysRq+u to umount everything nicely and then Alt+SysRq+b to reboot.

If it's just the program which crashed then using Alt+Control+Backspace could work. But that will only work if the DontZap option is set to false, which is no longer the default (and I have no idea about Ubuntu). If the desktop is still alive Control+Alt+Esc (depending on the desktop) could work to bring the task manager to the front, but that depends on the concrete case. I know nothing about how Warsow works so I can't be sure.

The cool way to do thing would be to learn how to take a core dump of the offending application (Warsow) and send it to the developers so they can figure what's going on. However for that you should first identify the culprint. It might not be warsow, but X, mesa, the driver, or another man in the middle.
 
Old 11-18-2010, 11:12 AM   #24
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,512

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Ignore the last post! Alt+SysRq will just take a screen shot; there are very few distros in which that combination works unix-style, and I don't think Ubuntu is one of them.

Ctrl+F4 should close the window, killing the program.
Ctrl+Alt+F2 should let you log in at a virtual terminal. You can then use top to find the PID of the program and kill to remove it.
Ctrl+Alt+Backspace should close the program, log out out of X, and ring up the log-in screen.
Ctrl+Alt+Del should give you the chance to re-boot the computer.

If none of that works, you've got a very bad program there!
 
Old 11-18-2010, 11:24 AM   #25
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,073

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by DavidMcCann View Post
Ignore the last post! Alt+SysRq will just take a screen shot; there are very few distros in which that combination works unix-style, and I don't think Ubuntu is one of them.
That entirely depends on how the kernel was compiled. I -admittedly- don't know anything about Ubuntu, as previously indicated in my post above.

Quote:
Ctrl+F4 should close the window, killing the program.
Ctrl+Alt+F2 should let you log in at a virtual terminal. You can then use top to find the PID of the program and kill to remove it.
Ctrl+Alt+Backspace should close the program, log out out of X, and ring up the log-in screen.
Ctrl+Alt+Del should give you the chance to re-boot the computer.

If none of that works, you've got a very bad program there!
If the graphics driver or X is frozen you can ignore all of this and shut down the power manually, because nothing will work. The sysrq stuff will work as long as the kernel is still alive, so it's worth a check.
 
Old 11-18-2010, 11:32 AM   #26
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
AFAIK even Ctrl-Alt-Bksp doesn't work the same on all Linuxes...It didn't work for me on Ubuntu, for instance.

EDIT: doesn't work here on Arch, either. Perhaps this is also dependent upon kernel config options?

Last edited by MrCode; 11-18-2010 at 11:34 AM.
 
Old 11-18-2010, 11:38 AM   #27
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,073

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Nope. As I explained above, that's an option of the X server. It depends on the X configuration. And varies from one X version to another.

First result in Google for "xorg.conf dontzap":

https://wiki.ubuntu.com/X/Config/DontZap
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is there an equivalent to ctrl. alt. del. ? 0rinoco Linux - Desktop 4 10-14-2007 03:32 PM
CTRL+ALT+DEL Equivalent? m3s3lf Linux - Newbie 15 11-06-2004 10:31 PM
ctrl+alt+del for linux? webazoid Linux - Software 9 06-30-2004 11:19 PM
Linux equivalent of CTRL-ALT-DEL in Windows? ryancw Linux - Newbie 15 02-19-2004 09:58 PM
ctrl, alt, del in Linux psyklops Linux - General 5 04-23-2002 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration