The Display and X11MCDE draws on the X Window System, and X is part of the Makronix
base system. The server, the drivers, the fonts and the clients are in
/usr/X11R7; there is no separate X package to
install. On a normal machine the server needs no configuration at all,
and dtlogin starts it.The server and the sessionThe login screen starts the X server and, after a login, the MCDE
session. A text console can start a bare X session with
startx1,
but that is not the MCDE session: it starts the user's
~/.xinitrc and nothing else. Use it to test the
server, not as the daily desktop.$ startx
$ xdpyinfo | head
$ xrandrxdpyinfo prints the display's capabilities, and
xrandr lists the outputs and the modes. A second
monitor is enabled with xrandr --output; the setting
lasts for the session unless it is put in a session script.When the server needs a configurationMost hardware is detected. A machine with an unusual graphics
chip, a wrong resolution or a display that stays black can be given a
configuration file:# X -configure
# cp /root/xorg.conf.new /etc/X11/xorg.conf
# X -config /etc/X11/xorg.confThe file is a starting point, not a guarantee. The log is
/var/log/Xorg.0.log; the lines marked
(EE) are errors and (WW) are
warnings. A server that starts from the console but not from
dtlogin usually has a permission or a display-manager
problem, not a driver problem.Keyboard and fontsThe text console and X have separate keyboard settings. The
console is configured with
wsconsctl8:# wsconsctl -w keyboard.encoding=deThe key map is set in /etc/wscons.conf. In X,
MCDE's System Settings sets the layout for the session; the
X server's own configuration is in
/etc/X11/xorg.conf.d/. A keyboard that types the
wrong characters in a terminal but the right ones on the console (or the
other way round) is set in the other place.The fonts are installed with the X sets.
fc-list1
lists them and fc-cache -f refreshes the cache after
a font is added. MCDE's terminal and login screen use Hack; the rest of
the desktop uses the system font, which System Settings changes.Programs from another machineAn X program can run on one machine and display on another. SSH
forwards the connection, which is the safe way:$ ssh -X name@studio.example xterm asks for trusted forwarding;
is the older, less restricted form. The remote
machine needs an X client and the local one needs the server, which
Makronix has. A program that refuses to start has usually failed an
authorization check; the SSH connection sets that up for you.