Amiga Unix — 68040 · 68060

Manual pages › File formats and configuration files (4)

display(4)

which screen X uses on this machine, and how it starts

Package: amxbase, added for amigaux.

display - which screen X uses on this machine, and how it starts

/etc/display

/etc/display says which display card X runs on, in which mode, and whether a graphical login starts at boot. The installer writes it, the administrator edits it, and no package owns it. xstart(1) reads it for every session, and the boot step /etc/rc2.d/S95display for the graphical login.

Each line is a key and its value, separated by blanks or tabs. A # starts a comment that runs to the end of the line; blank lines are ignored. When a key is given twice, the last line counts. A key that is missing takes the default given below.

the card, by the name of its file in /etc/display.d, or auto (the default): the first card whose device answers, in name order, with native (the chipset display) last. See display.d(4).
the screen size, as 1024x768; it must be one of the card's modes. Default: the card's first. A card that picks its own mode (the chipset display) ignores it.
the number of bits a pixel; it must be one of the card's depths. Default: the card's first.
manual (the default): X starts only when a user runs xstart. xdm: the graphical login starts at boot, on this card and mode, with X11R6's xdm; the system's own xdm runs only as a port monitor of the service access facility, set up with amixadm, and is not started from here. dtlogin: the same with CDE's login screen, /opt/amix/dt/bin/dtlogin. Either display manager is given the server's line from this file and the card's on its command line (-server), which outranks its own configuration; no display manager file is edited. When the one named is not installed, the boot log says so and the machine stays at its text logins. A session started by a display manager does not pass through login(1); CDE's session start sets the file limit of /etc/default/login and runs /etc/profile itself. The line display=no in /etc/rc.conf turns the boot step off whatever this says (see rc.conf(4)).
the session for a user who has neither ~/.xsession nor ~/.xinitrc. Default: /usr/lib/amix/xsession, which starts an xterm and the first window manager it finds.
for a card that shares the monitor with the chipset display, the monitor switch: the sum of the bits that say which lines switch it and at which level (1 CTS, 2 SEL, 16 and 32 their levels; 34 is SEL, the card's picture when low), the value of the Z3660's own setting. Absent: the value the card itself offers.

Every mistake in the file is reported, with its line number, by xstart -n; a line with a mistake is ignored.

# /etc/display
card     auto
mode     1920x1080
start    xdm
monsw    34

/etc/display
this file.
/etc/display.d/*
the cards.

xstart(1), display.d(4), rc.conf(4)

31 October 2026 amix-base