Skip to content

Commit

Permalink
skip xauth setup on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 10, 2024
1 parent c595576 commit ad33541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ def write_session_file(filename, contents):
odisplay_name = display_name
xvfb = None
xauthority = None
if (start_vfb or clobber or (shadowing and display_name.startswith(":"))) and display_name.find("wayland")<0:
if POSIX and not OSX and (start_vfb or clobber or (shadowing and display_name.startswith(":"))) and display_name.find("wayland")<0:
#XAUTHORITY
from xpra.x11.vfb_util import get_xauthority_path, valid_xauth, xauth_add
xauthority = valid_xauth((load_session_file("xauthority") or b"").decode(), uid, gid)
Expand Down

0 comments on commit ad33541

Please sign in to comment.