xpra icon
Bug tracker and wiki

Opened 2 months ago

Closed 5 weeks ago

#2272 closed defect (fixed)

shadow: start-on-last-client-exit does not execute when exit-with-client is set

Reported by: stdedos Owned by: stdedos
Priority: major Milestone: 3.0
Component: server Version: 2.5.x
Keywords: Cc:

Description (last modified by Antoine Martin)

With:

Xpra-Client-Python3-x86_64_2.5-r22135\xpra_cmd" shadow ssh://user@ip/0  --clipboard=no --opengl=no --desktop-scaling=0.75 --webcam=no --speaker=off --microphone=off

commands

start-on-last-client-exit=bash -c 'touch /run/user/1000/xpra-test`date +%s`'
start-on-last-client-exit=bash -c '`date`'
start-on-last-client-exit=bash -c '. /run/user/1000/dbus-session; gnome-screensaver-command -l'

are not executed, because, implicitly exit-with-client=yes is set (xpra-client remotely starting xpra-server)


Fix the code so that, start-on(-last)-client-exit=command is always executed, even if the server will be terminated through any means.

ticket:2128#comment:4 onwards.

Change History (4)

comment:1 Changed 2 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 8 weeks ago by Antoine Martin

Owner: changed from Antoine Martin to stdedos
Status: assignednew

Fixed in r22523.

If you can confirm that the fix works, this could be backported to v2.5.x

comment:3 in reply to:  2 Changed 5 weeks ago by stdedos

Replying to Antoine Martin:

Fixed in r22523.

If you can confirm that the fix works, this could be backported to v2.5.x

I verify that the code is working, and for a long time.

It should be safe for backport.

comment:4 Changed 5 weeks ago by Antoine Martin

Resolution: fixed
Status: newclosed

Thanks, backport in r22735.

Note: See TracTickets for help on using tickets.