Automatically starting my application after my vps server reboot

Discussion in 'General Linux' started by sunshineh, Feb 15, 2014.

  1. sunshineh

    sunshineh New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    -I have an VPS with Ubuntu 12.04 Server incl. GUI

    -there is an application (.exe) running under wine, need a gui and internet connection

    -I can't use the autostart function, because the login starts after the login and it is very important for me that the application (.exe) runs without a manual login from me

    -it should start instantly after my VPS Provider restarts the server


    -I tried to start the application with the rc.local, but I think it doesn't work because the gui isn't running at this time :-(



    do you have any tipps??
  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,260
    Likes Received:
    428
    Trophy Points:
    83
    perhaps you could create a script that starts an X server (very basic, like TWM) and it then starts the application.

    All of this has to be done as root though.

Share This Page