x.org
This allows $user to connect to (show windows on) a local X server started by you.
xhost "+si:localuser:$user"TODO: Look into:
xserver-xorg-video-dummyxvfbxpraReferences:
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: