35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
diff --git a/pyvirtualdisplay/abstractdisplay.py b/pyvirtualdisplay/abstractdisplay.py
|
|
index dd93943..c694209 100644
|
|
--- a/pyvirtualdisplay/abstractdisplay.py
|
|
+++ b/pyvirtualdisplay/abstractdisplay.py
|
|
@@ -242,7 +242,7 @@ class AbstractDisplay(object):
|
|
|
|
try:
|
|
xdpyinfo = subprocess.Popen(
|
|
- ["xdpyinfo"],
|
|
+ ["@xdpyinfo@"],
|
|
env=self._env(),
|
|
stdout=subprocess.PIPE,
|
|
stderr=subprocess.PIPE,
|
|
diff --git a/pyvirtualdisplay/xauth.py b/pyvirtualdisplay/xauth.py
|
|
index ce0f804..7734e21 100644
|
|
--- a/pyvirtualdisplay/xauth.py
|
|
+++ b/pyvirtualdisplay/xauth.py
|
|
@@ -14,7 +14,7 @@ def is_installed():
|
|
"""
|
|
try:
|
|
xauth = subprocess.Popen(
|
|
- ["xauth", "-V"],
|
|
+ ["@xauth@", "-V"],
|
|
# env=self._env(),
|
|
stdout=subprocess.PIPE,
|
|
stderr=subprocess.PIPE,
|
|
@@ -43,7 +43,7 @@ def call(*args):
|
|
Call xauth with the given args.
|
|
"""
|
|
xauth = subprocess.Popen(
|
|
- ["xauth"] + list(args),
|
|
+ ["@xauth@"] + list(args),
|
|
# env=self._env(),
|
|
stdout=subprocess.PIPE,
|
|
stderr=subprocess.PIPE,
|