[mythtv-users] Re: Headless Myth box?

Joseph A. Caputo jcaputo1 at comcast.net
Wed Oct 1 12:50:46 EDT 2003


On Wednesday 01 October 2003 11:40 am, Chris Poch wrote:
> Thanks to all who responded so quickly!  What I ended up doing was 
> tunneling X through ssh by running the command ssh -X -l user ipaddress 
> on the remote machine and then running mythfrontend through ssh. 
> 
> Music works amazingly well.  Live TV crashes.  Videos never shows the 
> movie files.  Images and Weather work perfectly.  I did also notice how 
> the previews do work when selecting a recording to watch, but actually 
> watching it didn't work.
> 
> I have not tried this setup when booted into Linux on the second 
> machine.  I used cygwin, and it's been working great for me.  I will try 
> the same setup when booted into Linux this afternoon.  Maybe Live TV 
> will work from there, not that it's crucial or anything.
> -Chris


Well, part of the problem might be that cygwin-X doesn't support Xv AFAIK, 
though it should auto-fallback to non-XV mode.  No, my guess would be this:  
because you're tunneling through SSH, Myth thinks it's using a local X 
display (probably localhost:10.0 if you're using ssh defaults).  Thus, even 
though it doesn't detect Xv on the display, it *does* think it can use 
MIT-SHM extensions, but of course these won't work because your X display is 
really remote.  So it crashes.  Try setting the environment variable NO_SHM=1 
to disable MIT-SHM when you run the frontend.  Of course, this will put a lot 
of load on your CPU as it has to do all scaling in software.  For best 
results, make your screen resolution the same as your capture resolution 
(i.e., capture at 640x480 and set your screen resolution to 640x480 also).

-JAC



More information about the mythtv-users mailing list