diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-08-04 10:16:52 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-08-04 10:16:52 (GMT) |
commit | 486f7d7e2c8a881d917e458ff7e2582268f74c9f (patch) | |
tree | ac662104491bd534321ee63c5c299ef28ceeb62d /scripts/shell | |
parent | 6be6bf3aeb8d49afc8532e6cc81277b4ae1c1007 (diff) |
Use Xephyr instead of vnc
No vnc server in ubuntu seems to support 24bpp, so it's not
an improvement over Xephyr.
Diffstat (limited to 'scripts/shell')
-rwxr-xr-x | scripts/shell/start-sugar | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/shell/start-sugar b/scripts/shell/start-sugar index 071dc61..458a36e 100755 --- a/scripts/shell/start-sugar +++ b/scripts/shell/start-sugar @@ -20,12 +20,5 @@ fi if [ -z $RUN_IN_WINDOW ]; then xinit $scriptsdir/xinitrc -- $display else - xinit $scriptsdir/xinitrc -- /usr/bin/Xvnc $xvncdisplay -SecurityTypes None & - xvncpid=$! - - xport=`echo $display | cut -c2-` - xvncport=$(($xport + 5800)) - vncviewer localhost:$xvncport - - kill $xvncpid + xinit $scriptsdir/xinitrc -- /usr/bin/Xephyr $display fi |