startx

A front-end to xinit that provides a nice user interface for running a single session of the X Window System. More information: <https://x.org/releases/X11R7.5/doc/man/man1/startx.1.html>.

Install

All systems
curl cmd.cat/startx.sh
Debian Debian
apt-get install xinit
Ubuntu
apt-get install xinit
Alpine
apk add xinit
Arch Arch Linux
pacman -S xorg-xinit
image/svg+xml Kali Linux
apt-get install xinit
CentOS
yum install xorg-x11-xinit
Fedora
dnf install xorg-x11-xinit
Windows (WSL2)
sudo apt-get update sudo apt-get install xinit
Raspbian
apt-get install xinit
Docker
docker run cmd.cat/startx startx powered by Commando

A front-end to xinit that provides a nice user interface for running a single session of the X Window System. More information: <https://x.org/releases/X11R7.5/doc/man/man1/startx.1.html>.

  • Start an X session:
    startx
  • Start an X session with a predefined depth value:
    startx -- -depth value
  • Start an X session with a predefined dpi value:
    startx -- -dpi value
  • Override the settings in the `.xinitrc` file and start a new X session:
    startx /path/to/window_manager_or_desktop_environment

© tl;dr; authors and contributors