These steps allows a secondary local user called <user>
to use the local X server running on the machine that was launched by <main_user>
.
This will allow running graphical applications on a linux system (using X as the display server) from another user than the normal user.
<user>
: user to be granted access<main_user>
: user that owns the X Server