Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/vnclauncher.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnclauncher.py')
-rwxr-xr-xvnclauncher.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnclauncher.py b/vnclauncher.py
index c110ace..6c60ef0 100755
--- a/vnclauncher.py
+++ b/vnclauncher.py
@@ -123,9 +123,10 @@ class VncLauncherActivity(activity.Activity):
else:
path = os.path.join(activity.get_bundle_path(),
'bin/i586')
+ env = {'LD_LIBRARY_PATH':'%s/lib' % path}
cmd = os.path.join(path, 'x11vnc')
logging.error('Using %s', cmd)
- self._vte.fork_command(cmd)
+ self._vte.fork_command(cmd, envv=env)
def __key_press_cb(self, window, event):
return False