diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-07 20:16:52 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-07 20:16:52 (GMT) |
commit | bce9a0bdcd1d4cbd464b7f4ec2c3b19bff86d48f (patch) | |
tree | 9ad961719cda3b1033e67302df3f8e302f6912e0 /abs/core/LinHES-system/LinHES-session | |
parent | 33671693297f177c4b30c30584ddb79359a3d0ed (diff) | |
download | linhes_pkgbuild-bce9a0bdcd1d4cbd464b7f4ec2c3b19bff86d48f.zip linhes_pkgbuild-bce9a0bdcd1d4cbd464b7f4ec2c3b19bff86d48f.tar.gz linhes_pkgbuild-bce9a0bdcd1d4cbd464b7f4ec2c3b19bff86d48f.tar.bz2 |
LinHES-system|config: add support for x11vnc
x11vnc support added to service menu. By default it will run on :2.
The startup script will reference /etc/x11vnc.cfg if a user wishes to override the default flags.
Ex:
x11_vnc_options=” -rfbport 6000” will result in a startup cmd of “x11vnc -rfbport 6000”
refs # 894
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
-rwxr-xr-x | abs/core/LinHES-system/LinHES-session | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session index d55b900..1eb991e 100755 --- a/abs/core/LinHES-system/LinHES-session +++ b/abs/core/LinHES-system/LinHES-session @@ -110,6 +110,20 @@ function keylaunch(){ } +function start_x11vnc(){ + if [ x$xvncenable = "x1" ] + then + if [ -e /etc/x11vnc.cfg ] + then + . /etc/x11vnc.cfg + x11vnc $x11vnc_options + else + x11vnc -rfbport 5902 --passwd $xvncpassword + fi + fi +} + + function fluxbox_settings(){ if [ ! -e $HOME/.fluxbox ] then @@ -433,6 +447,7 @@ $WM & pid=$! mouse_move keylaunch +start_x11vnc & #set_background unclutter load_nvidia_settings |