APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > FAQ > My screen is completely unreadable and I cannot type commands. exit or switch to another virtua console screen.
Printer Friendly Version




SCO Unix ® FAQ section

X11 and GUI FAQ



My X or character screen is completely unreadable and I cannot type commands exit or switch to another virtual console screen.

It is possible for you to get stuck in a really bad GUI, stuck so badly that CTRL-ALT and F1 will not switch you to a text screen. However, appearances can be deceiving: it's usually the case that it has switched you, but the screen is just confused by the incorrect graphics configuration. To fix this requires logging in "blind":

Hold CTRL and ALT, and press F1 (or any other function key if F1 is where you started). Release those keys, and press CTRL-U and then CTRL-J. Login, taking it on faith that the "Password" prompt displayed even though you can't see it. It wouldn't hurt to count to three after typing "root" just to give it time to come up. Press enter a few times, and then carefully type

 /etc/clean_screen
 

If that doesn't work, try

 /etc/clean_screen -g 
 


And if they still don't work, do Control-J's instead of ENTERS before you type and after.

If you were already logged in on tty01, then just a couple of Enters followed by "/etc/clean_screen" should do it.

Linux has a similar command, but it requires some forethought on your part: you need to have run "savetextmode" BEFORE you have a problem. Therefore, the obvious thing to do is to put it in one of the startup scripts. Then, if you need it, you'd run "textmode" (again, surrounded by CTRL-J's) to restore your screen.

Without forethought, you can try a simple "reset" or "echo ^V^O" (control V control O).

These methods also work when you've garbled the screen by cat'ing a binary file or have crashed out of an app unexpectedly.

For that last (crashing out of an app) "stty sane" or "reset" (surrounded by Control-J's) is probably all you need on any Unix.

If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?




More Articles by Tony Lawrence - Find me on Google+



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - GUI
       - Linux
       - SCO_OSR5
       - Troubleshooting




Unix/Linux Consultants

Skills Tests

Guest Post Here