Skip to content

Commit

Permalink
we need an X11 server for shadowing, better check for it early as oth…
Browse files Browse the repository at this point in the history
…erwise the error message can be confusing

git-svn-id: https://xpra.org/svn/Xpra/trunk@16212 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 6, 2017
1 parent c27fd1d commit dece66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ def noerr(fn, *args):
display = None
if not proxying:
no_gtk()
if POSIX and starting or starting_desktop:
if POSIX and (starting or starting_desktop or shadowing):
#check that we can access the X11 display:
if not verify_display_ready(xvfb, display_name, shadowing):
return 1
Expand Down

0 comments on commit dece66f

Please sign in to comment.