1

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! :)

Anders
  • 111
  • 1
  • 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 Answers1

0

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

Dillmo
  • 1,985
  • 3
  • 18
  • 34