Index: remoting/tools/me2me_virtual_host.py |
diff --git a/remoting/tools/me2me_virtual_host.py b/remoting/tools/me2me_virtual_host.py |
index 1438bf472f38bd86cd3853da1e0c906613f8dbd2..ef9d2fbab2069bd81d802e1b2dce17ba2650109e 100755 |
--- a/remoting/tools/me2me_virtual_host.py |
+++ b/remoting/tools/me2me_virtual_host.py |
@@ -253,7 +253,12 @@ class Desktop: |
max_height = max([height for width, height in self.sizes]) |
try: |
- xvfb = locate_executable("Xvfb-randr") |
+ # TODO(jamiewalch): This script expects to be installed alongside |
+ # Xvf-randr, but that's no longer the case. Fix this once we have |
+ # a Xvfb-randr package that installs somewhere sensible. |
+ xvfb = "/usr/bin/Xvfb-randr" |
+ if not os.path.exists(xvfb): |
+ xvfb = locate_executable("Xvfb-randr") |
except Exception: |
xvfb = "Xvfb" |