<div dir="ltr">It's been a long time since I've thought about this, so I might be mistaken, but I'm pretty sure that X is started by the user, rather than as a system process.<div><br></div><div>Remember the good ol' days of logging in on TTY1, then running "startx"?</div><div><br></div><div>GDM/XDM/KDM/LightDM etc are display managers, but don't run a full X session.</div><div><br></div><div>As for making it work, you'll need help from someone who knows what they're doing!</div><div><br></div><div>Rory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 July 2016 at 18:24, Austin Green <span dir="ltr"><<a href="mailto:austin.green@orcon.net.nz" target="_blank">austin.green@orcon.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Running an Ubuntu-derived OS on my server, where I run MythTV backend and frontend.  I have a script which starts up mythfrontend, and this is hooked up via lirc to a button on my remote.  It works fine as long as I have logged in at the server console (as myself, not as mythtv) through the normal GUI login screen; if there is nobody logged in that way, the script fails to launch mythfrontend, complaining about inability to open the X display.  AFAIK, X is started up even before anybody is logged in, but I may be assuming too much there.  Anyone else done this successfully?  Are there some tricks I should know about?  The script runs with my user id, not lirc or mythtv or root, in case that makes a difference.<br>
<br>
_______________________________________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" rel="noreferrer" target="_blank">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
</blockquote></div><br></div>