LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2007, 11:25 PM   #1
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Rep: Reputation: 30
x11vnc and vncviewer - clipboard transfter


I cannot get clipboard transfer working with vncviewer and x11vnc. I am able to transfer the clipboard selection from the server to the client but not vice-versa. I started x11vnc with these options to try to debug:
Code:
/usr/bin/x11vnc -xrandr -nobell -rfbauth .vnc/passwd -input KMBCF -debug_sel
When I tried to copy something on the client, this is what I got on the server:
Code:
23/04/2007 22:14:56 selection_send: event PRIMARY   prop: 77  requestor: 0x800035  atom: 1
selection_send: data: '(null)' dlen: 0 nitems: 0 ba: 0
23/04/2007 22:14:56 selection_send:  PRIMARY   ''
23/04/2007 22:14:57 request PRIMARY
When I tried to transfered data from the server to the client it worked:
Code:
23/04/2007 22:18:13 selection_send: event PRIMARY   prop: 31  requestor: 0x800035  atom: 1
selection_send: data: 'selection_send:' dlen: 15 nitems: 15 ba: 0
23/04/2007 22:18:13 selection_send:  PRIMARY   'selection_send:'
23/04/2007 22:18:13 selection_send:  no change.
23/04/2007 22:18:14 xcut_receive: 'selection_send:'
23/04/2007 22:18:14 xcut_receive: recv-ing it.
23/04/2007 22:18:14 Own PRIMARY.
23/04/2007 22:18:14 Own CLIPBOARD.
23/04/2007 22:18:14 Set PRIMARY   'selection_send:'
23/04/2007 22:18:14 Set CLIPBOARD 'selection_send:'
Then when I attempted once again to transfer the other way, I got a different output:
Code:
23/04/2007 22:18:14 CLIPBOARD   request event:   owner=0x800035 requestor=0x18000f1 sel=281 targ=492 prop=491
Any ideas on why this isn't working?

x11vnc: 0.8.2 lastmod: 2006-07-12
VNC Viewer Free Edition 4.1.1 for X - built Feb 26 2007 20:38:07
(RealVNC)

I also tried tight VNC viewer with no luck

Both computers are Debian Lenny (Testing) running Xfce 4.4
 
Old 06-01-2007, 07:09 PM   #2
nicorac
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
Hi there.

I'm experiencing the same problem... did you sort it out?
 
Old 06-02-2007, 08:49 AM   #3
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
No, unfortunately it is still broken
 
Old 11-09-2007, 12:46 PM   #4
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
Update -- I talked to the author of x11vnc and he made changes to the current development version. A few programs still have issues, but it works for the most part

Workaround the works reliably:
  1. Install a clipboard manager on the client and the server*
  2. Copy the text on the client
  3. Re-select the text using the clipboard manager
  4. On the server, re-select the text using the clipboard manager
  5. Paste into any program on the server

* these all seem to work:
  • xfce4-clipman-plugin (xfce)
  • klipper (kde)
  • glipper (gnome)

The problems are in both the viewer and x11vnc. There are multiple ways to handle clipboard communication in linux apparently and each program may use one of the ways. The vnc viewer and x11vnc are not yet handling all the ways.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[root@localhost Desktop]# vncviewer 192.168.0.11:2 vncviewer not viewing kde display nickleus Linux - Software 13 10-27-2006 03:58 AM
help with x11vnc gtludwig Linux - Networking 5 10-08-2006 04:53 PM
dat transfter rate on a single port.....? shahg_shahg Linux - Networking 1 05-05-2006 06:05 AM
Trying to use x11vnc? Snump Mandriva 12 04-12-2006 02:57 AM
x11vnc error mediaboy Linux - Software 1 06-24-2004 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration