xpra icon
Bug tracker and wiki

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

Opened 11 months ago

Closed 11 months ago

Last modified 8 months ago

#2914 closed enhancement (fixed)

Disable TCP on systemd socket activation

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.1
Component: server Version: 3.0.x
Keywords: Cc:


From the mailing list: Disable TCP on systemd socket activation: I would like to disable support for plain TCP, but I do not see a combination of config options that works with socket activation. Am I right or wrong?

Should be trivial to add, at least using an environment variable.

Change History (3)

comment:1 Changed 11 months ago by Antoine Martin

Resolution: fixed
Status: newclosed

Done in r27743.

The socket type can be specified using an environment variable, either for each socket using their zero-based index:

xpra proxy --env=XPRA_SD0_SOCKET_TYPE=ws --env=XPRA_SD1_SOCKET_TYPE=ssl

Or globally for all sd sockets:

xpra proxy --env=XPRA_SD_SOCKET_TYPE=wss

comment:2 Changed 10 months ago by Antoine Martin

As per my reply to this thread: re: Disable TCP on systemd socket activation, the default xpra proxy service uses tcp-auth=sys, this must be changed to wss-auth=sys when using XPRA_SD0_SOCKET_TYPE=wss. (or whatever socket type is used instead)

comment:3 Changed 8 months ago by migration script

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

Note: See TracTickets for help on using tickets.