Your Pretty Linux GUI Fails and Dumps You to a Console. Now What?
Staring At A Black Screen and a Command Prompt. Now What?What can a Linux user do if you've been dumped to a black screen with a terminal prompt with a cursor blinking at you and you REALLY need access to troubleshooting information NOW? No GUI, no Firefox, no Opera. Hard drive indexing tools are generally GUI access, and just because the info is on your hard drive does not mean you necessarily know where in the filetree it is, and the locate command doesn't seem to work all the time.
But if one still has network access all is not lost.
The majority of Linux distros have a text-based web browser available, either installed by default or readily available via automated repository installation. You can use it to search for troubleshooting information.
It's called lynx. While any long-time Linux user knows lynx, long-time Linux users are becoming an increasingly small fraction of the Linux userbase. That's the reason for this article.
How to find out if lynx is installed, and how to install it if it isn't:
Open a terminal and type:
or in Ubuntu
$ sudo aptitude install lynx
Figure 1 shows you what Lynx looks like. The yellow-highlighted word at the top of the display is the highlighted link. The bottom of the display shows status messages, hints at what to do next and program options.
The terminal window surround aside, how much your lynx display resembles the above, including the colors depends on on your specific OS configuration. My computer shows the console (full-screen terminal instead of GUI) the same way, but with larger characters.
Basic commandsTo display a complete list of current options before opening lynx:
start lynx at specific URL
e.g. $ lynx www.google.com
Down arrow: go to and highlight next link
Left arrow: return to previous (or first) web document = back or < on a GUI browser
Up arrow: go to highlight previous link
Right arrow: go to link URL
Enter: go to link URL
tab: go to and highlight next link
shift-tab: go to previous page link
When moving down page gets you to a dotted line, that's a text entry box. What to put in it depends on what it's to. If it's a search box at Google, enter your search terms.
When the question accept cookies comes up, type Y or A; you won't get far in a data search if you don't accept them.
Note: these commands don't work if you've got a highlighted text entry area onscreen:
exit browser q
add bookmark: a - then add link using l
View bookmarks: v
go to URL: g then enter URL.
Google is your online basic troubleshooting resource.
- Skip Ahead
- 1. Staring At A Black Screen and a Command Prompt. Now What?
- 2. Staring At A Black Screen and a Command Prompt. Now What?
- 3. Staring At A Black Screen and a Command Prompt. Now What?
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative