Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

My TightVNC Server on Raspberry Pi seems can not handle copy/paste between its and my local clipboards. What can I do?

share|improve this question

2 Answers 2

First install autocutsel (sudo apt-get install autocutsel)

Then open your /home/pi/.vnc/xstartup (nano /home/pi/.vnc/xstartup) and put autocutsel -fork on it like this:


xrdb $HOME/.Xresources
xsetroot -solid grey
autocutsel -fork
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work

Then it will work after restart of the vnc server

To Stop VNC Server:

vncserver –kill :1 (pick your display)

To Start VNC Server:

vncserver :1 –geometry 1024x600 –depth 24


share|improve this answer
Perfect solution, thank you very much (reboot was required) –  sweetlilmre Nov 26 '13 at 12:16

I had to make sure my autocutsel comes FIRST in the xstartup for copy/past to work

Makes copy/past work - must come before RANDR 'fix'

vncconfig -iconic &

autocutsel -s CLIPBOARD -fork autocutsel -s PRIMARY -fork

Get's rid of RANDR missing errors

export XKL_XMODMAP_DISABLE=1 /etc/X11/Xsession

share|improve this answer
May I direct you to the formatting section of our help center? –  syb0rg Jan 10 at 4:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.