Startx: Difference between revisions
From wikinotes
No edit summary |
(→Usage) |
||
Line 27: | Line 27: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
startx /bin/i3 # start X server, and 'exec /bin/i3' | startx /bin/i3 # start X server, and 'exec /bin/i3' | ||
# params specified after the optional '--' param are passed | |||
# directly to xorg (see man xorg) | |||
startx /bin/i3 -- \ | |||
-config xorg.conf-5760x1080 `# use /etc/X11/xorg.conf-5760x1080 as config` \ | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Usage --> | </blockquote><!-- Usage --> |
Latest revision as of 00:35, 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' # params specified after the optional '--' param are passed # directly to xorg (see man xorg) startx /bin/i3 -- \ -config xorg.conf-5760x1080 `# use /etc/X11/xorg.conf-5760x1080 as config` \
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.