Results 1 to 3 of 3

Thread: Application autostart doesn't always start apps

  1. #1
    Join Date
    May 2009
    Beans
    79
    Distro
    Ubuntu 12.04 Precise Pangolin

    Application autostart doesn't always start apps

    Ok this is driving me absolutely bonkers. I use a desktop as a DVR and compile myth from git. I don't use a service to run the backend just a simple entry in session and startup to run it once logged in. Naturally the system starts on it's own while I'm not around to record TV but myth doesn't always start, wtf? I can even run myth from cmd line when it fails to autostart with no issue. Can't find anything in the logs either, not that I know where to look either other than syslog and dmesg. If it makes any difference it's autostarted as root and the sudoers file has been edited to be able to exec sudo w/o a prompt. Please don't tell me how I shouldn't do that cause I already know the dangers. Or that I can't run myth as root, cause root has the same privileges as the user myth and the logged on user so it works just fine. Although I get the feeling this is where the issue is stemming from. If you must know I run as root so that it may use r/t threads where needed and higher priority threads where it sees fit. For some reason it wouldn't do so if run as normal user.

  2. #2
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Application autostart doesn't always start apps

    just a simple entry in session and startup
    Just to confirm, this is the login user's session startup, right? (Not root's)

    but myth doesn't always start
    So sometimes it does autostart?

    On the occasions that it doesn't autostart, have a look at the ~/.xsession-errors log file (hidden file in your home directory) - it may provide a clue as to why it isn't starting.

  3. #3
    Join Date
    May 2009
    Beans
    79
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Application autostart doesn't always start apps

    Yea it's the user's autostart not root's.

    It started happening some months ago but since my favorite recordings are coming back in Sep it has to get fixed lol.

    I would check the xsession log but I have gone off in what seems like the completely wrong direction. I have followed some tip for setting up systemd to handle running the backend. Little did I know Ubuntu doesn't support it but I was already too far in so you guessed it, I installed it and now have some other quirks to work out. This might not end well.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •