hi, i installed X on ubuntu server but can only get a root shell with :
sudo startx if i try to startx as user i get errors:
(gksudo:4609) GTK-WARNING ** cannot open display
X: unable to open wrapper config file /etc/X11/Xwrapper.config
X: user not authorised to run the xserver,aborting
other times it has mentioned something about .Xauthority /home/john/
it implies that it cant write to .Xauthority
yet all the directories and files in my home folder are owned by me.
i once did: sudo export Xauthority=/home/john.Xauthority
thinking this would solve the problem but it didnt,
also if i get this working or not i would still like to know how to enable/start and disable/stop the xserver as i still want to be able to control the security of my server and have the option to run a few programs that rely on Xserver.
thx,
