X Window System

Learning

Allow local users access to the display

This allows $user to connect to (show windows on) a local X server started by you.

xhost "+si:localuser:$user"

Allow remote users access to the (virtual) display

TODO: Look into:

  • xserver-xorg-video-dummy
  • xvfb
  • xpra

References:

Startup scripts

Use $HOME/.xinitrc if you want to set up your session from scratch. Use $HOME/.xsession if you want /etc/X11/Xsession.d/* to set up a basic session for you (such as D-Bus, im-config, GPG agent, SSH agent) and leave simply starting the window manager (and any other startup applications) to you.

See also: