[Qt-interest] UI Interaction Freezing when using QGraphicsView - How to Debug?
Colin S. Miller
no-spam-thank-you at csmiller.demon.co.uk
Thu Sep 24 23:41:58 CEST 2009
Josiah Bryan wrote:
>
> E.g. you mean from machineB, do ssh -Y machineA and run gdb pbuffers2?
> Or is there a more exotic way to run gdb but display on another machine?
William,
Assuming machineA and machineB are both sitting on your desk,
and they have a shared home directory, then
on machineA enter
# allow machineB to throw X connections to machineA
xhost +machineB
# save machineA's xauthorisation data
xauth extract ~/foo.auth $DISPLAY
on machineB enter
# import machineA's xauthorisation data
xauth merge foo.auth ; rm ~/foo.auth
# open new X applications on machine A
export DISPLAY=machineA:0.0
# start the debugger....
gdb ./myApp
run
This should work; xauth can be tricky to get right.
machineB can also be a remote computer logged into via
ssh, but not from machineA.
HTH,
Colin S. Miller
More information about the Qt-interest-old
mailing list