Author: Victor Churchill Date: To: Hampshire LUG Discussion List Subject: Re: [Hampshire] Ubuntu LTS server problems
On 21 August 2010 20:29, Tim <xendistar@???> wrote: >
> OK the command that works is
>
> DISPLAY=:0.0 sudo startx
>
> So running SSH and logging in as me (a user) and then running the above command
> starts X on the server, A minor problem is closing the SSH window on the remote
> PC shutsdown X on the server.
I haven't tried this, but saying 'nohup ' before 'sudo startx' might help.
I'd do
export DISPLAY=:0.0
nohup sudo startx
'nohup' keeps the command running after you exit the ssh session.
>
> The reason I don't boot to GUI is that the user can't start X, even from the
> server its self, I just get authentication failure, yet I am using the same
> credentials when I remote in.
That sounds odd. If you start X at boot then why would 'the user' want
to start it?