Virtual terminal: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
You can switch to a virtual console terminal.
If [[Sugar]] is broken or the [[Terminal]] activity will not start, you can switch to a virtual terminal (for looking through your filesystem and typing in commands) by:


You may need to do this for entering commands, if [[Sugar]] is broken or the [[Terminal]] activity will not start.
* on builds prior to 11.3.0, type Ctrl-alt-Neighborhood (Neighborhood is the same as F1 on a normal keyboard, and looks like this: [[Image:Mesh key f1 small.png]], or
* on builds in 11.3.0 and later, type Ctrl-alt-f2,


The virtual consoles are numbered from 1.
* your screen will become white text on a black background.
* hitting Enter (may have to do this twice) - the screen will print something like:
OLPC build 653 (stream ship.2; variant devel_jffs2)
Kernel 2.6.22-20071121.7.olpc.af3dd731d18bc39 on an i586


You may switch away from the Sugar virtual console by typing ctrl-alt-f2. On some XOs, the f2 key legend is not printed. If you are not sure where the f2 key is, please see the table of [[Keyboard#Missing_Keys|Missing Keys]].
xo-05-29-d2 login:
* type "root" (no quotes)
* hit Enter


When you have switched, your screen will become white text on a black background.


Press enter to login. The screen will print something like:
You are now root on a virtual terminal and can type commands as you would in Terminal. (Be careful - as root - the superuser - you can do damage to your system, so make sure you know the commands you're typing).
-bash-4.1#


You are now the ''root'' user and can type commands as you would in Terminal. Be very careful, it is very easy to damage the filesystem, losing any saved journal entries. Check your commands carefully.
To return to Sugar, logout by typing ctrl-D and then
* on builds prior to 11.3.0, ctrl-alt-Home - Home is the same as f3 on a normal keyboard and looks like this. [[Image:Home key f3 small.png]],
* on builds in 11.3.0 and later, type Ctrl-alt-f1, or Ctrl-alt-Neighborhood,


On current builds, Sugar is on virtual console 1. On builds prior to 11.3.0, Sugar was on virtual console 3.
(There is some bug that cause this procedure to fail some of the time. You can type ctrl-alt-Group, then hit return to get the other console running.)

To return to Sugar, type ctrl-alt-f1. (Or on old builds, ctrl-alt-f3).

Revision as of 06:45, 22 September 2011

You can switch to a virtual console terminal.

You may need to do this for entering commands, if Sugar is broken or the Terminal activity will not start.

The virtual consoles are numbered from 1.

You may switch away from the Sugar virtual console by typing ctrl-alt-f2. On some XOs, the f2 key legend is not printed. If you are not sure where the f2 key is, please see the table of Missing Keys.

When you have switched, your screen will become white text on a black background.

Press enter to login. The screen will print something like:

-bash-4.1# 

You are now the root user and can type commands as you would in Terminal. Be very careful, it is very easy to damage the filesystem, losing any saved journal entries. Check your commands carefully.

On current builds, Sugar is on virtual console 1. On builds prior to 11.3.0, Sugar was on virtual console 3.

To return to Sugar, type ctrl-alt-f1. (Or on old builds, ctrl-alt-f3).