Startx: Difference between revisions
From wikinotes
No edit summary |
|||
Line 22: | Line 22: | ||
|} | |} | ||
</blockquote><!-- Locations --> | </blockquote><!-- Locations --> | ||
= Usage = | |||
<blockquote> | |||
<syntaxhighlight lang="bash"> | |||
startx /bin/i3 # start X server, and 'exec /bin/i3' | |||
</syntaxhighlight> | |||
</blockquote><!-- Usage --> | |||
= Configuration = | = Configuration = |
Revision as of 00:29, 17 July 2021
Documentation
man startx
https://man.archlinux.org/man/extra/xorg-xinit/startx.1.en
Locations
~/.xinitrc
~/.startxrc
/usr/lib/sys.startxrc
/etc/X11/xinit/xinitrc
Usage
startx /bin/i3 # start X server, and 'exec /bin/i3'
Configuration
xinitrc
A sample xinitrc
xrdb -load $HOME/.Xresources xsetroot -solid gray & xbiff -geometry -430+5 & oclock -geometry 75x75-0-0 & xload -geometry -80-0 & exec /bin/i3
Troubleshooting
Only console users are allowed to run the X server
You must run the x server from the text console (generally tty1).
It does not matter what user you are, and there is no
console
group that you can add yourself to.