[mythtvnz] Starting from LIRC

Austin Green austin.green at orcon.net.nz
Thu Jul 14 10:54:10 BST 2016


Sounds as if you may have hit on the answer.  So I just need to run startx,
or whatever modern equivalent, from my script.  Cheers, I'll give it a go.
Austin.

On Thu, 14 Jul 2016 18:40:49 +1200
Rory Grant <rorzer at gmail.com> wrote:

> 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.
> 
> Remember the good ol' days of logging in on TTY1, then running "startx"?
> 
> GDM/XDM/KDM/LightDM etc are display managers, but don't run a full X
> session.
> 
> As for making it work, you'll need help from someone who knows what they're
> doing!
> 
> Rory
> 
> On 14 July 2016 at 18:24, Austin Green <austin.green at orcon.net.nz> wrote:
> > 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.



More information about the mythtvnz mailing list