Difference between revisions of "VNC"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(VNC)
(VNC)
Line 7: Line 7:
  
  
{{File|name=vnccheck|content=
+
{{File|name=vnccheck|<nowiki>
  
 
#!/bin/sh
 
#!/bin/sh
Line 16: Line 16:
 
   exit 0
 
   exit 0
 
fi
 
fi
 
+
</nowiki>
 
}}
 
}}

Revision as of 11:38, 12 August 2012

VNC

aptitude install vncserver openbox menu autocutsel

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

add

autocutsel -fork



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

Template error: are you trying to use the = sign? Visit Help:Template#Escape template-breaking characters for workarounds.