Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to run a command in Ubuntu Terminal on my computer. I am connected to the other computer by SSH. I need to be able to start X server from my remote computer (without being able to interact with X server once it has started) and run a script in X server once it starts.

Any suggestions?

Thanks in advance! :)

share|improve this question
    
Are you using any login manager (the login screen)? In default Ubuntu the X session is managed by LightDM. Are you using anything custom or just want to start a regular Ubuntu login screen? –  gertvdijk Jun 28 '13 at 12:44

1 Answer 1

Try starting X server using screen. It will keep it running as a daemon, so that nothing can close/suspend the process.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.