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
add comment

2 Answers

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:

#!/bin/sh

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
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession

Then it will work (after a restart I guess)

Source

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

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
1  
May I direct you to the formatting section of our help center? –  syb0rg Jan 10 at 4:29
add comment

Your Answer

 
discard

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.