Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-05-01 05:16:37 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-05-01 05:16:37 (GMT)
commitfd9fd106712e4cd1720feb9bfde5c87222dd563c (patch)
tree31e80be322d7416ec26821e974f2e7ca343aeede
parentb50037550928abbe9ff4b9a4baad44175effc7d2 (diff)
Need set LD_LIBRARY_PATH to get needed libraries
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-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