Messages in this thread | ![/](/images/icornerl.gif) | | Date | Sun, 6 Feb 2005 01:23:34 +0100 (CET) | From | Tomasz Rola <> | Subject | Re: Why is debugging under Linux such a pain |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sat, 5 Feb 2005, Marko Macek wrote:
[...] > It would be nice if display lock programs used a separate X display > (some kind of "virtual" display support might be nice to have, mainly > for performance).
I would try VNC for this, at least for debugging. But I don't really know if it would have worked. My distro (Debian) has VNC packed nicely (vncserver and xvncviewer packages), others should have it too. So the trial should be rather quick if you use such Linux flavor.
I mean, open debugged app on a VNC display and have gdb on real one. You can also view your VNC display with a viewer in a window and it should not mess your real X session. But I may be wrong, never tried VNC for such kind of work even though I use it very often.
One can also do similar thing with simply having two X sessions on two consoles, I suppose. However, frequent switching between them may not be very healthy for hardware.
Well, I'm just thinking loudly.
Regards, Tomasz Rola
- -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm -rif" on the programmer's home ** ** directory. And then the C programmer became enlightened... ** ** ** ** Tomasz Rola mailto:tomasz_rola@bigfoot.com **
-----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv
iQA/AwUBQgVjjBETUsyL9vbiEQLKIQCfb0g29u44eOiRWSC2t8/I27KvJuwAoLun pWXajzIauR1ebxYX17Xyinos =Fkjv -----END PGP SIGNATURE-----
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |