|
We need clients that can survive an X restart.We need clients that can survive an X restart.Posted Jan 19, 2007 21:27 UTC (Fri) by jwb (subscriber, #15467)In reply to: We need clients that can survive an X restart. by AJWM Parent article: LCA: Andrew Tanenbaum on creating reliable systems
Actually X11 is (used to be) stateless. These days with backing stores and compositing it's not quite true. GTK+ has had for years the ability to disconnect from one display and reconnect to another, which also means that you can connect it to a dummy display while your real display restarts. However this toolkit capability has been long neglected by application writers.
(Log in to post comments)
We need clients that can survive an X restart. Posted Jan 20, 2007 0:31 UTC (Sat) by drag (subscriber, #31333) [Link] Well I would think that compositing would make it easier to make things stateless, since windows and such are not rendered on the actual display but in off-screen buffers.
I'd think you'd just have to keep those off-screen buffers alive and when the main display comes back up then you "re-composite" them.
Maybe you need a different thread for the application management vs the part of the X server that does the actual rendering or something, I don't know.
We need clients that can survive an X restart. Posted Jan 20, 2007 8:21 UTC (Sat) by cworth (subscriber, #27653) [Link] > GTK+ has had for years the ability to disconnect from one display and> reconnect to another, which also means that you can connect it to a dummy > display while your real display restarts.
There is a missing piece here though. The GTK+ code can successfully
I've actually looked into what it would take to retrofit Xlib to add
Meanwhile, a more realistic approach is to get toolkits to switch to
> However this toolkit capability has been long neglected by application
I agree that there are some interesting aspects of migrating applications
But for the idea of replacing an X server for an entire session---I'd much
-Carl
We need clients that can survive an X restart. Posted Jan 22, 2007 5:19 UTC (Mon) by elanthis (subscriber, #6227) [Link] With XCB around, is it really necessary to retrofit Xlib with those changes? Either way, client apps will need to be updated, and XCB brings a lot of other benefits with it, no? Most apps use a toolkit, so once you get the major ones ported (including whatever today's popular Motif clone is, and Tk) you should be set.
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.