Hi there!

I found some message of parti-discuss where you discussed the problem
of dead sessions, and how to restore them. I tried to follow the
procedure, but without success. See xpras output in the attached txt
file. If someone has a hint for me, what I did wrong, or what I could
do to prevent xpra sessions from dying, I would be grateful.

Regards, Thomas


Re: [Parti-discuss] reconnecting to an abandoned Xvfb-for-Xpra server

Nathaniel Smith
Tue, 31 Mar 2009 21:16:50 -0700

2009/3/31 Brian J. Murrell <[email protected]>:
> On Tue, 2009-03-31 at 08:36 -0700, Nathaniel Smith wrote:
>> Try again with "-d all" (--no-daemon may be convenient for debugging
>> too) and tell us what it says?
>
> $ xpra upgrade :100 -d all --no-daemon
[...]

Okay, here's what's happening -- when you run 'xpra upgrade', it
attaches to the existing Xvfb, notices that there's an xpra server
already there, and asks it to exit quietly. But, of course, it
doesn't, because it's wedged, that's why you're restarting... (I wish
I knew why. Possibly some bug in the new clipboard code?)

Try running 'kill -9' on all the xpra upgrade/xpra start processes,
and then try running 'xpra upgrade' again and see if that helps.

Don't forget the -9 on the kill command; without it, the processes
might still manage to do an 'orderly shutdown', which would kill the
Xvfb that you want to preserve.

-- Nathaniel
kaef...@blechserver:~$ kill -9 3806
kaef...@blechserver:~$ /usr/local/lib/xpra/parti-all-0.0.6/install/bin/xpra 
upgrade :14 -d all --no-daemon
Xlib:  extension "RANDR" missing on display ":14.0".
Xlib:  extension "RANDR" missing on display ":14.0".
/usr/local/lib/xpra/parti-all-0.0.6/install/lib/python/wimpiggy/wm.py:9: 
DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Xlib:  extension "RANDR" missing on display ":14.0".
sending message to 0x3aL
sizing world to 2048x2048
sending WM_TAKE_FOCUS
sending message to 0x40001dL
Wm managing pre-existing child
new window 0x80000dL
invalidating named pixmap
created corral window 0x400021
hiding inherited window
Missing window or missing property or wrong property type WM_TRANSIENT_FOR 
(window)
Missing window or missing property or wrong property type _NET_WM_WINDOW_TYPE 
(['atom'])
Property changed on 8388621: WM_HINTS
wm_hints.input = 1
Property changed on 8388621: WM_NORMAL_HINTS
Property changed on 8388621: WM_NAME
Missing window or missing property or wrong property type _NET_WM_NAME (utf8)
Property changed on 8388621: _NET_WM_NAME
Missing window or missing property or wrong property type _NET_WM_NAME (utf8)
Property changed on 8388621: WM_ICON_NAME
Missing window or missing property or wrong property type _NET_WM_ICON_NAME 
(utf8)
Property changed on 8388621: _NET_WM_ICON_NAME
Missing window or missing property or wrong property type _NET_WM_ICON_NAME 
(utf8)
Property changed on 8388621: _NET_WM_STRUT
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 8388621: _NET_WM_STRUT_PARTIAL
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 8388621: _NET_WM_ICON
_NET_WM_ICON changed on 8388621, re-reading
Missing window or missing property or wrong property type _NET_WM_ICON (icon)
icon is now None
Wm managing pre-existing child
new window 0xa00004L
invalidating named pixmap
created corral window 0x400023
hiding inherited window
Missing window or missing property or wrong property type WM_TRANSIENT_FOR 
(window)
Property changed on 10485764: WM_HINTS
wm_hints.input = 1
Property changed on 10485764: WM_NORMAL_HINTS
Property changed on 10485764: WM_NAME
Property changed on 10485764: _NET_WM_NAME
Property changed on 10485764: WM_ICON_NAME
Property changed on 10485764: _NET_WM_ICON_NAME
Property changed on 10485764: _NET_WM_STRUT
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 10485764: _NET_WM_STRUT_PARTIAL
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 10485764: _NET_WM_ICON
_NET_WM_ICON changed on 10485764, re-reading
icon is now <cairo.ImageSurface object at 0x1c87590>
Wm managing pre-existing child
new window 0xa0176aL
invalidating named pixmap
created corral window 0x40002a
hiding inherited window
Missing window or missing property or wrong property type WM_TRANSIENT_FOR 
(window)
Property changed on 10491754: WM_HINTS
wm_hints.input = 1
Property changed on 10491754: WM_NORMAL_HINTS
Property changed on 10491754: WM_NAME
Property changed on 10491754: _NET_WM_NAME
Property changed on 10491754: WM_ICON_NAME
Property changed on 10491754: _NET_WM_ICON_NAME
Property changed on 10491754: _NET_WM_STRUT
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 10491754: _NET_WM_STRUT_PARTIAL
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 10491754: _NET_WM_ICON
_NET_WM_ICON changed on 10491754, re-reading
icon is now <cairo.ImageSurface object at 0x1c875f0>
Wm managing pre-existing child
new window 0xa07472L
invalidating named pixmap
created corral window 0x40002f
hiding inherited window
Missing window or missing property or wrong property type WM_TRANSIENT_FOR 
(window)
Property changed on 10515570: WM_HINTS
wm_hints.input = 1
Property changed on 10515570: WM_NORMAL_HINTS
Property changed on 10515570: WM_NAME
Property changed on 10515570: _NET_WM_NAME
Property changed on 10515570: WM_ICON_NAME
Property changed on 10515570: _NET_WM_ICON_NAME
Property changed on 10515570: _NET_WM_STRUT
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 10515570: _NET_WM_STRUT_PARTIAL
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 10515570: _NET_WM_ICON
_NET_WM_ICON changed on 10515570, re-reading
icon is now <cairo.ImageSurface object at 0x1c87650>
Wm managing pre-existing child
new window 0x1200003L
invalidating named pixmap
created corral window 0x400034
hiding inherited window
Missing window or missing property or wrong property type WM_TRANSIENT_FOR 
(window)
Property changed on 18874371: WM_HINTS
wm_hints.input = 1
Property changed on 18874371: WM_NORMAL_HINTS
Property changed on 18874371: WM_NAME
Property changed on 18874371: _NET_WM_NAME
Property changed on 18874371: WM_ICON_NAME
Property changed on 18874371: _NET_WM_ICON_NAME
Property changed on 18874371: _NET_WM_STRUT
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 18874371: _NET_WM_STRUT_PARTIAL
Missing window or missing property or wrong property type _NET_WM_STRUT_PARTIAL 
(strut-partial)
Missing window or missing property or wrong property type _NET_WM_STRUT (strut)
Property changed on 18874371: _NET_WM_ICON
_NET_WM_ICON changed on 18874371, re-reading
icon is now <cairo.ImageSurface object at 0x1c876b0>
Traceback (most recent call last):
  File "/usr/local/lib/xpra/parti-all-0.0.6/install/bin/xpra", line 6, in 
<module>
    xpra.scripts.main.main(__file__, sys.argv)
  File 
"/usr/local/lib/xpra/parti-all-0.0.6/install/lib/python/xpra/scripts/main.py", 
line 82, in main
    run_server(parser, options, mode, script_file, args)
  File 
"/usr/local/lib/xpra/parti-all-0.0.6/install/lib/python/xpra/scripts/server.py",
 line 289, in run_server
    app = xpra.server.XpraServer(upgrading, sockets)
  File "/usr/local/lib/xpra/parti-all-0.0.6/install/lib/python/xpra/server.py", 
line 236, in __init__
    self._add_new_window(window)
  File "/usr/local/lib/xpra/parti-all-0.0.6/install/lib/python/xpra/server.py", 
line 343, in _add_new_window
    self._send_new_window_packet(window)
  File "/usr/local/lib/xpra/parti-all-0.0.6/install/lib/python/xpra/server.py", 
line 458, in _send_new_window_packet
    self._send(["new-window", id, x, y, w, h, metadata])
  File "/usr/local/lib/xpra/parti-all-0.0.6/install/lib/python/xpra/server.py", 
line 439, in _send
    if self._protocol is not None:
AttributeError: 'XpraServer' object has no attribute '_protocol'
kaef...@blechserver:~$ 

_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to