Skip to content

Commit

Permalink
#4307 / #3953 don't enable network-listener feature with minimal=yes
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 26, 2024
1 parent c4dedd6 commit 1bff4bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,7 @@ def impcheck(*modules) -> bool:
features.logging = b(opts.remote_logging)
features.tray = b(opts.tray)
features.network_state = True
features.network_listener = envbool("XPRA_CLIENT_BIND_SOCKETS", True)
features.network_listener = envbool("XPRA_CLIENT_BIND_SOCKETS", True) and opts.bind != "none"
features.encoding = opts.windows


Expand Down
2 changes: 2 additions & 0 deletions xpra/scripts/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,8 @@ def do_parse_cmdline(cmdline, defaults):
defaults.dpi = 96
defaults.pixel_depth = 24
defaults.sync_xvfb = 0
if args and args[0] == "attach" and csv(defaults.bind) == "auto":
defaults.bind = "none"
options, args = parse_command_line(cmdline[1:], defaults)

# process "help" arguments early:
Expand Down

0 comments on commit 1bff4bc

Please sign in to comment.