xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 7 years ago

Closed 7 years ago

Last modified 16 months ago

#884 closed enhancement (fixed)

server idle timeout

Reported by: Antoine Martin Owned by: alas
Priority: major Milestone: 0.16
Component: server Version: 0.15.x
Keywords: Cc:


similar to idle sessions done in #803: to give us the ability to exit servers that are just sitting there doing nothing.

Change History (4)

comment:1 Changed 7 years ago by Antoine Martin

Owner: changed from Antoine Martin to alas

Done in r9587.

You can test this with:

xpra start --server-idle-timeout=10 -d timeout

If no client connects within 10 seconds - or 10 seconds after the last client disconnects, the server should print this message and exit:

No valid client connections for 1 seconds, exiting the server

You can also tweak the timeout value using:

xpra control :10 server-idle-timeout 20

And see the current value set using:

xpra info | grep server.idle-timeout

comment:2 Changed 7 years ago by J. Max Mena

Built a trunk r9612 Fedora 21 server:

  • idle timeout works as expected
  • control channel works as expected
    • changing timeout
    • enabling timeout
    • disabling timeout
  • xpra info includes timeout information.

Connected a trunk r9612 Cent6.4 client and disconnected:

  • Timeout also works after a client has exited.

comment:3 Changed 7 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Thanks for testing maxmylyn! Closing.

comment:4 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/884

Note: See TracTickets for help on using tickets.