[mythtv-users] OT: Launch Mythfrontend remotely via ssh

Tony Maro tony at maro.net
Fri Feb 13 11:39:08 EST 2004


m0j0.j0j0 wrote:
> On Fri, 2004-02-13 at 09:09, Michael Segulja wrote:
> 
>>Somebody correct me if there's a better way, but here's how I would do
>>it.
>> 
>>Either telnet or ssh to your desktop machine from your laptop... I
>>would recommend ssh.  Once connected to the desktop machine, make sure
>>your display variable is set to the desktop.  At a command prompt,
>>type 'export DISPLAY=name.of.desktop:0.0'.  Then, simply run
>>mythfrontend and it will display and run on your desktop.  You can
>>then exit out of the ssh or telnet session and be back at your laptop
>>leaving mythfrontend running on your desktop.
>> 
>>HTH,
> 
> 
> If you close your SSH session I believe any new processes (i.e.
> Mythfrontend) will be terminated. You could SSH in and run 'screen',
> followed by Mythfrontend. Screen will allow you to detach without
> terminating the frontend. Alternatively, you could just bounce X
> (killall X) if it is set to autologon and Myth is scripted to
> auto-start.

Or do something like:

nohup mythfrontend &

The nohup keeps it from closing when you terminate the SSH session.



More information about the mythtv-users mailing list