1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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,
|