VNC: Difference between revisions

From Hack Sphere Labs Wiki
Jump to navigation Jump to search
Created page with "=VNC= aptitude install vncserver openbox menu autocutsel *For copy paste: nano ~/.vnc/xstartup add autocutsel -fork {{File|vnccheck|contents= cat vnc"
 
 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:




{{File|vnccheck|contents=
{{File|vnccheck|<nowiki>
cat vnc
 
#!/bin/sh
if ps uxww | grep Xtightvnc | grep -v grep ; then
  exit 0
else
  /usr/bin/vncserver &
  exit 0
fi
</nowiki>
}}

Latest revision as of 08:28, 16 June 2015

VNC

aptitude install vncserver openbox menu autocutsel

  • For copy paste:
nano ~/.vnc/xstartup

add

autocutsel -fork


vnccheck

#!/bin/sh
if ps uxww | grep Xtightvnc | grep -v grep ; then
  exit 0
else
  /usr/bin/vncserver &
  exit 0
fi