[mythtv-users] Re: VNC launches second mythfrontend

Mathew Mrosko mythtv at matmrosko.com
Tue Apr 19 19:31:43 UTC 2005


On Tuesday 19 April 2005 12:23 pm, Nate Thompson wrote:

> I used to have this problem. To get around it, I simply enabled
> 'Desktop Sharing' in the KDE Control Panel under Internet Components.

If you don't want to use the WAY TO BIG FOR MYTH window manager KDE, just get 
x11vnc... it will bind to an already running session, so you can control the 
ONE instance of mythfrontend that you have running.

$x11vnc -display :0

when run on the myth box will start the x11 server on port 5900 with your 
current X session... I have a script on my remote machine so I can just run 
it from the remote machine easily and quickly:

#!/bin/bash
echo "x11vnc -display :0" | ssh matltwifi &
sleep 2
krdc -m -s vnc://192.168.1.6 && sleep 2

The first sleep is to let the ssh log-in and get x11vnc running, the second 
sleep is so that the output of my prompt doesn't get drawn before the final 
steps of the vnc disconnect.  Hope this helps!

-- 
Mathew Mrosko


More information about the mythtv-users mailing list