[mythtv] howto? gdb trace
Michael T. Dean
mtdean at thirdcontact.com
Sat Feb 4 20:31:04 UTC 2006
On 02/04/06 14:52, Robert Tsai wrote:
>On Sat, Feb 04, 2006 at 12:39:16PM -0500, Steven Adeff wrote:
>>ok, great. Another question... Is there a way to control gdb through
>>ssh? I have a dedicated myth machine that I want to run this on,
>>theres no keyboard attached, and if its possible to do the gdb
>>through ssh (while still have it display on the tv as normal), it
>>would be prefered, if not, i can move my keyboard from my other
>>computer, I'd just rather not if possible.
>Yes, you can, provided:
> - The session running mythfrontend (in this case, your ssh'd
> gdb session) first set your DISPLAY to :0.0 (or whatever it
> needs to be).
> - The running X session (if you have autologin, etc. set up)
> has "xhost" set up appropriately to allow the above session
> to draw on it.
Or, better, the user has the appropriate authentication token(s) in
his/her ~/.Xauthority file so xhost becomes unnecessary. See "man xauth".
More information about the mythtv-dev