Peppermint | Linux OS Community Forum
It is currently Sun Oct 20, 2019 10:28 pm

All times are UTC - 5 hours [ DST ]

Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [One][Ice][Two] Regain control of X, console facility
PostPosted: Sun Aug 08, 2010 9:37 am 
User avatar

Joined: Thu May 20, 2010 8:56 am
Posts: 2132
Class: Emergency measures
Difficulty: Not hard to remember
Time: However long it normally takes to login plus under a minute
Desirability: Hopefully you'll never need it


It may be that all of your windows will lock up, but you will still be able to move your mouse cursor, and your computer is still listening to keyboard entry, just none of your apps are responding and you can't switch between them. Check the latter by attempting to transfer to a tty using the combination alt+ctrl+f1.


If you can make it to a tty, and symptoms persist, then you may need to restart lxdm. You can check if you can regain control of your current desktop by hitting alt+ctrl+f7. If the windows appear to only partially redraw (basic window decorations draw, but nothing else does), then you probably do need to restart it. Login to the tty with your usual credentials, and then use the following command:

sudo service lxdm restart

You will be returned to the normal login screen.

Drawbacks and getting more help on the console

Unfortunately, this will cause all your X applications to be closed - however, because you still have console control, you might consider doing any disaster recovery work you might need from there. For example, if you know that you can recover some data by moving a file from somewhere in /tmp to somewhere safe, then now's the time to do it.

It may just be possible to regain control of X by closing a (violently!) misbehaving application. The command

killall application

will cause the processes associated with that application to cease. The command


which comes with Peppermint will list the applications running on your system.

You can even install and call up a text-based web browser by doing

apt update
apt install lynx

If you need live chat support to resolve a problem, irssi is a CLI IRC client.

To open up a second, third, fourth, fifth or sixth console, use alt+ctrl+[F1-F6] to switch between them. You can log in to each one individually.


Bear in mind that there are some who do practically everything from the console, and on certain environments (webservers are a common one) there is no X server at all. You can do practically anything from the console. Of course, it helps to have a good understanding of the CLI to get the most out of it.

To get X working again, it is far preferable to restart lxdm than it is to do a hard reboot or whatever.



Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL