LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux equivalent of Ctrl-Alt-Del? (https://www.linuxquestions.org/questions/linux-newbie-8/linux-equivalent-of-ctrl-alt-del-844858/)

biplab roy 11-17-2010 06:19 AM

Linux equivalent of Ctrl-Alt-Del?
 
what to do if some program hangs when it is in fullscreen mode. ctrl+alt+f1 - ctrl+alt+f7 also dont work
in windows as we use ctrl+alt+del and task manager opens what we do in ubuntu.
warsow always hangs

biplab roy 11-17-2010 08:00 AM

plz help me...

what to do if some program hangs when it is in fullscreen mode....? ctrl+alt+f1 - ctrl+alt+f7 also dont work.
in windows as we use ctrl+alt+del and task manager opens, what we do in ubuntu.????
warsow GAME always hangs

what is the command to get rid of HANGING of my system...?? plz help.

onebuck 11-17-2010 08:09 AM

Hi,

Welcome to LQ!

Quote:

Originally Posted by biplab roy (Post 4161832)
plz help me...

what to do if some program hangs when it is in fullscreen mode....? ctrl+alt+f1 - ctrl+alt+f7 also dont work.

Quote:

Originally Posted by biplab roy (Post 4161832)

in windows as we use ctrl+alt+del and task manager opens, what we do in ubuntu.????
warsow GAME always hangs

what is the command to get rid of HANGING of my system...?? plz help.


This is considered as hi-jacking. You should create a new thread.

I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem/query.


:hattip:


Slax-Dude 11-17-2010 11:35 AM

Quote:

Originally Posted by biplab roy (Post 4161727)
what to do if some program hangs when it is in fullscreen mode. ctrl+alt+f1 - ctrl+alt+f7 also dont work
in windows as we use ctrl+alt+del and task manager opens what we do in ubuntu.
warsow always hangs

If you are using KDE, press ctrl+ESC and it will open "System monitor" which will allow you to kill any running process.
On GNOME, I have no idea, sorry.

Quote:

Originally Posted by onebuck (Post 4161841)
This is considered as hi-jacking. You should create a new thread.

No, it isn't. At best, it's dual posting.

onebuck 11-17-2010 05:31 PM

Hi,

Quote:

Originally Posted by Slax-Dude (Post 4162069)
If you are using KDE, press ctrl+ESC and it will open "System monitor" which will allow you to kill any running process.
On GNOME, I have no idea, sorry.

No, it isn't. At best, it's dual posting.

When I responded to the poster the post was in another thread.
I have no idea how this got moved. If a mod did it, then he/she should have indicated such.
:hattip:

Tinkster 11-17-2010 05:35 PM

Quote:

Originally Posted by onebuck (Post 4162397)
Hi,



When I responded to the poster the post was in another thread.
I have no idea how this got moved. If a mod did it, then he/she should have indicated such.
:hattip:


The mod apologises ... his only excuse is that moving the
posts was quicker than writing an explanation: the posts
were in an unrelated thread, and I moved them, together
with onebuck's response, to a new thread.



Cheers,
Tink

onebuck 11-17-2010 07:10 PM

Hi,

Thanks Tinkster, I thought maybe things were really scrambling for me. :)

It's been that kind of day, all day long!
:hattip:

Kenny_Strawn 11-17-2010 07:11 PM

Quote:

Originally Posted by biplab roy (Post 4161832)
plz help me...

what to do if some program hangs when it is in fullscreen mode....? ctrl+alt+f1 - ctrl+alt+f7 also dont work.
in windows as we use ctrl+alt+del and task manager opens, what we do in ubuntu.????
warsow GAME always hangs

what is the command to get rid of HANGING of my system...?? plz help.

Please, for the love of God, do NOT post in SMS language. This includes the use of 'plz' for "please". Also, please capitalize and punctuate correctly.

As far as hanging is concerned, there is a "Force Quit" panel applet that you can use. Just right-click the upper panel next to the Firefox icon and click "Add to Panel". From there, scroll down to "Force Quit" and double-click it. It will have been added.

Then, whenever you run the Warsow game and it hangs, click the Force Quit icon and then select the game's window. This will kill the game's connection with the X server if it is not responding.

TobiSGD 11-17-2010 07:20 PM

Quote:

Originally Posted by Kenny_Strawn (Post 4162475)
Please, for the love of God, do NOT post in SMS language. This includes the use of 'plz' for "please". Also, please capitalize and punctuate correctly.

As far as hanging is concerned, there is a "Force Quit" panel applet that you can use. Just right-click the upper panel next to the Firefox icon and click "Add to Panel". From there, scroll down to "Force Quit" and double-click it. It will have been added.

Then, whenever you run the Warsow game and it hangs, click the Force Quit icon and then select the game's window. This will kill the game's connection with the X server if it is not responding.

The OP asks what to do if an app hangs in fullscreen mode. How is he supposed to click on an icon in a panel? No pannels in fullscreen. Please read carefully.

onebuck 11-17-2010 07:22 PM

Hi,

@Kenny_Strawn

I think the way you responded is rather rude. Just as bad as someone who uses abbreviated text speak.
:hattip:

Kenny_Strawn 11-17-2010 07:28 PM

Quote:

Originally Posted by onebuck (Post 4162487)
Hi,

@Kenny_Strawn

I think the way you responded is rather rude. Just as bad as someone who uses abbreviated text speak.
:hattip:

Which is exactly what the OP did!

And about full screen mode: In that case, pressing Alt+F2 and typing "gnome-terminal" will bring up a terminal window, from which you can type "sudo killall warsow" to kill the game.

TobiSGD 11-17-2010 07:39 PM

Quote:

Originally Posted by Kenny_Strawn (Post 4162495)
Which is exactly what the OP did!

And about full screen mode: In that case, pressing Alt+F2 and typing "gnome-terminal" will bring up a terminal window, from which you can type "sudo killall warsow" to kill the game.

If you have a hanging fullscreen app, Alt+F2 will not work (especially not on my systems, no Gnome/KDE here). The OP states that even switching to a virtual terminal does not work.

tailinlinux 11-17-2010 07:50 PM

Quote:

Originally Posted by biplab roy (Post 4161727)
what to do if some program hangs when it is in fullscreen mode. ctrl+alt+f1 - ctrl+alt+f7 also dont work
in windows as we use ctrl+alt+del and task manager opens what we do in ubuntu.
warsow always hangs

try to use ctrl + alt +tab or ctrl + alt + D
the program will be minimized and go to system monitor.

ctrl + esc not woring.

Kenny_Strawn 11-17-2010 08:17 PM

What about Ctrl+Alt+F4 which will kill X and leave you with a dumb terminal? From there, just type:

Code:

startx
to bring X and your desktop environment back again.

TobiSGD 11-17-2010 08:24 PM

Quote:

Originally Posted by Kenny_Strawn (Post 4162533)
What about Ctrl+Alt+F4 which will kill X and leave you with a dumb terminal? From there, just type:

Code:

startx
to bring X and your desktop environment back again.

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.

tailinlinux 11-17-2010 08:54 PM

Quote:

Originally Posted by TobiSGD (Post 4162538)
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

catkin 11-17-2010 09:13 PM

Quote:

Originally Posted by biplab roy (Post 4161727)
warsow always hangs

What does warsow mean? Is it L33t-speak or a typo?

salasi 11-18-2010 12:55 AM

Quote:

Originally Posted by TobiSGD (Post 4162538)
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?

TobiSGD 11-18-2010 07:00 AM

Quote:

Originally Posted by catkin (Post 4162577)
What does warsow mean? Is it L33t-speak or a typo?

It is a game. http://www.warsow.net/

arashi256 11-18-2010 07:02 AM

ps -elf | grep <process name>
kill <PID>

TobiSGD 11-18-2010 07:06 AM

Quote:

Originally Posted by arashi256 (Post 4163045)
ps -elf | grep <process name>
kill <PID>

Doesn't help if you are stuck in fullscreen.

AnanthaP 11-18-2010 08:05 AM

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

i92guboj 11-18-2010 08:19 AM

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.

DavidMcCann 11-18-2010 11:12 AM

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!

i92guboj 11-18-2010 11:24 AM

Quote:

Originally Posted by DavidMcCann (Post 4163289)
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.

MrCode 11-18-2010 11:32 AM

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. :rolleyes: Perhaps this is also dependent upon kernel config options?

i92guboj 11-18-2010 11:38 AM

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


All times are GMT -5. The time now is 10:14 AM.