Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:system:display_servers:xenocara [2019/10/05 03:16] emulatorman |
en:system:display_servers:xenocara [2023/12/05 10:06] (current) throgh [Driver installation] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Xenocara ====== | ====== Xenocara ====== | ||
- | |||
- | <note warning> | ||
[[https:// | [[https:// | ||
- | It includes a customised X.Org X server that utilises a **dedicated _x11 user by default to drop privileges and perform privilege separation** in accordance to OpenBSD' | + | It includes a customised X.Org X server that utilises a **dedicated _x11 user by default to drop privileges and perform privilege separation** in accordance to OpenBSD' |
<note warning> | <note warning> | ||
- | The **perform privilege separation feature** was disabled in Hyperbola GNU/ | + | The **perform privilege separation feature** was disabled in Hyperbola GNU/ |
</ | </ | ||
Line 14: | Line 12: | ||
Xenocara can be installed with the [[https:// | Xenocara can be installed with the [[https:// | ||
+ | |||
+ | <code bash> | ||
+ | # pacman -S xenocara-server | ||
+ | </ | ||
Additionally, | Additionally, | ||
Line 19: | Line 21: | ||
Finally, an [[https:// | Finally, an [[https:// | ||
- | <note tip>You will typically seek to install a [[en:application:window_managers|window manager]] or a [[en:application:desktop_environments|desktop environment]] to supplement Xenocara.</ | + | <note tip>You will typically seek to install a [[en:system:userspace: |
==== Driver installation ==== | ==== Driver installation ==== | ||
Line 46: | Line 48: | ||
{| border=" | {| border=" | ||
- | ! style=" | + | ! style=" |
- | ! style=" | + | |
! style=" | ! style=" | ||
- | ! style=" | + | ! style=" |
|- | |- | ||
! rowspan=" | ! rowspan=" | ||
|- | |- | ||
- | | [[https:// | ||
| rowspan=" | | rowspan=" | ||
- | | rowspan=" | ||
|- | |- | ||
| [[https:// | | [[https:// | ||
|- | |- | ||
! style=" | ! style=" | ||
- | | [[https:// | + | | [[https:// |
|- | |- | ||
! style=" | ! style=" | ||
Line 66: | Line 65: | ||
|} | |} | ||
- | <note tip> Fourth generation Intel GPUs users (GMA 3000 from 2006 and newer) may want to use the default Xenocara driver, rather than installing [[https:// | + | <note tip> Fourth generation Intel GPUs users (GMA 3000 from 2006 and newer) may want to use the default Xenocara driver, rather than installing [[https:// |
<note tip> For NVIDIA GPUs users, may find their respective card's [[https:// | <note tip> For NVIDIA GPUs users, may find their respective card's [[https:// | ||
- | <note warning> AMD GPUs users (GCN third generation from 2014 and newer) | + | <note warning> AMD GPUs users (GCN third generation from 2014 and newer) |
Other video drivers can be found in the [[https:// | Other video drivers can be found in the [[https:// | ||
- | Xenocara should run smoothly with fully free software drivers. The exceptions to this rule are recent GPUs (especially NVIDIA GPUs), that are not supported. If it is the case, use the default Xenocara driver which includes GLAMOR acceleration (see [[https:// | + | Xenocara should run smoothly with fully free software drivers. The exceptions to this rule are recent GPUs (especially NVIDIA |
+ | |||
+ | <note important> | ||
+ | ===== Running ===== | ||
+ | |||
+ | The [[https:// | ||
+ | |||
+ | ==== xinit ==== | ||
+ | |||
+ | The xinit program allows an user to manually start an Xenocara display server. The [[https:// | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | xinit is typically used to start [[en: | ||
+ | |||
+ | === Installation === | ||
+ | |||
+ | Install the [[https:// | ||
+ | |||
+ | <code bash> | ||
+ | # pacman -S xenocara-xinit | ||
+ | </ | ||
+ | |||
+ | === xinitrc === | ||
+ | |||
+ | ~/.xinitrc is handy to run programs depending on X and set environment variables on X server startup. If it is present in a user's home directory, startx and xinit execute it. Otherwise startx will run the default / | ||
+ | |||
+ | < | ||
+ | Xinit has its own default behaviour instead of executing the file. See [[https:// | ||
+ | </ | ||
+ | |||
+ | This default xinitrc will start a basic environment with [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | Therefore, to start a different [[en: | ||
+ | |||
+ | <code bash> | ||
+ | $ cp / | ||
+ | </ | ||
+ | |||
+ | Then edit the file and replace the default programs with desired commands. Remember that lines following a command using exec would be ignored. For example, to start [[https:// | ||
+ | |||
+ | <code bash> | ||
+ | $ ~/ | ||
+ | |||
+ | ... | ||
+ | xscreensaver & | ||
+ | exec openbox-session | ||
+ | </ | ||
+ | |||
+ | === Usage === | ||
+ | |||
+ | To run Xorg as a regular user: | ||
+ | |||
+ | <code bash> | ||
+ | $ startx | ||
+ | </ | ||
+ | |||
+ | ===== Configuring ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | Xenocara uses a configuration file called xorg.conf and files ending in the suffix .conf for its initial setup: the complete list of the folders where these files are searched can be found in [[https:// | ||
+ | |||
+ | ==== Using .conf files ==== | ||
+ | |||
+ | The / | ||
+ | |||
+ | ==== Using xorg.conf ==== | ||
+ | |||
+ | Xorg can also be configured via / | ||
+ | |||
+ | <code bash> | ||
+ | # Xorg :0 -configure | ||
+ | </ | ||
+ | |||
+ | This should create a xorg.conf.new file in /root/ that you can copy over to / | ||
+ | |||
+ | <note tip> | ||
+ | If you are already running an X server, use a different display, for example: | ||
+ | <code bash> | ||
+ | # Xorg :2 -configure | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Input devices ===== | ||
+ | |||
+ | For input devices the X server defaults to the libinput driver, but [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | After starting X server, the log file will show which driver hotplugged for the individual devices (note the most recent log file name may vary): | ||
+ | |||
+ | <code bash> | ||
+ | $ grep -e "Using input driver " Xorg.0.log | ||
+ | </ | ||
+ | |||
+ | If both do not support a particular device, install the needed driver from the [[https:// | ||
===== Acknowledgement ===== | ===== Acknowledgement ===== | ||
This wiki article is based on **ArchWiki**. We may have removed non-[[https:// | This wiki article is based on **ArchWiki**. We may have removed non-[[https:// |