4 shutting down the system, 5 graphical interface (x window system), 6 network interface – Aero-Flex GAISLER GR-LEON4-ITX User Manual

Page 12

Advertising
background image

12

GR-LEON4-ITX Development Board

Quick Start Guide

Username

Password

Description

user

user

Normal user account.

root

root

Super-user account. Should only be used for system administration.

Table 3-1: System accounts

3.4 Shutting down the System

To protect the integrity of the file system, the system software should be properly shut down
before powering down the board. The correctly shut down the system, issue the command:

shutdown -h now

This command must be issued as the super-user (root). After the system has reported that is
going down for system halt there will be no more output on the serial terminal. The system

will report Halt on the frame buffer console when it is safe to power-off the board. If an
external screen is not connected, it can be assumed safe to power-off the system 90

seconds after the The system is going down for system halt NOW! message has been
displayed on the serial terminal.

3.5 Graphical Interface (X Window System)

The X window system graphical interface can be started from the command line by using the
command startx. This will launch a session using the BlackBox window manager, right-click

on the mouse will bring up the menu.
Other window managers can be started by editing the .xsession file in the home directory

(for the user account, /home/user/.xsession). If the file is changed to exec fvwm2, startx will
launch an X session using the FVWM window manager (

http://www.fvwm.org

).

The graphical interface has a menu option to shut down the system, but this is not supported
by the hardware. Instead, X should be exited back to the shell before the system is shut

down.
The X window system may show some instabilities, particularly when exiting the graphical

interface. If this leads to the system being inaccessible from the keyboard and mouse it is
typically still possible to connect to the system via another interface, such as the serial

terminal or network.

3.6 Network Interface

The network interface is configured during system start-up with the information contained in

the file /etc/network/interfaces. The default content of this file is:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

To assign a static IP address the file contents could be changed to, for instance:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

© Aeroflex Gaisler AB

June 2010, Rev. 0.2

Advertising