The root user is the only user that can run the X server, which is a configuration that is set by default. In this brief guide we will help you configure the Xorg Server to grant other users access to it under Ubuntu (11.10/11.04/10.10/10.04).
If you are not an authorized user, you will get this message once you start XServer:
X: user not authorized to run the X server, aborting.
To fix this, you need tio start the command as root:
If you want to grant any user access to XServer, you need to run this command:
Select which user to allow access to the X server. You have three options:
- Root Only
- Console Users Only
To grant all users access to the X server, then select Anybody.