xpra icon
Bug tracker and wiki

Opened 5 weeks ago

Closed 5 weeks ago

Last modified 4 days 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:

Description

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 (2)

comment:1 Changed 5 weeks 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 4 days 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)

Note: See TracTickets for help on using tickets.