Difference between revisions of "VNC"
From Hack Sphere Labs Wiki
(Created page with "=VNC= aptitude install vncserver openbox menu autocutsel *For copy paste: nano ~/.vnc/xstartup add autocutsel -fork {{File|vnccheck|contents= cat vnc") |
(→VNC) |
||
Line 8: | Line 8: | ||
{{File|vnccheck|contents= | {{File|vnccheck|contents= | ||
− | + | ||
+ | #!/bin/sh | ||
+ | if ps uxww | grep Xtightvnc | grep -v grep ; then | ||
+ | exit 0 | ||
+ | else | ||
+ | /usr/bin/vncserver & | ||
+ | exit 0 | ||
+ | fi | ||
+ | |||
+ | }} |
Revision as of 10:36, 12 August 2012
VNC
aptitude install vncserver openbox menu autocutsel
- For copy paste:
nano ~/.vnc/xstartup
add
autocutsel -fork
vnccheck
grep Xtightvnc