I love being able to cut & paste between my laptop (e-mail, web
browser, etc.) and my VNC session. This functionality is controlled by
vncconfig. From the man page:
vncconfig is used to configure and control a running
instance of Xvnc, or any other X server with the VNC
exten-
sion. Note that it cannot be used to control VNC
servers
prior to version 4. I hate this message:
$ vncconfig
No VNC extension on display :1.0 When I hit the problem again, I found my way back to one of my old blog
entries:
Solaris/x64 VNC with Cut & Paste, but this time, the
situation was slightly different:
- On SPARC
- SFWvnc was not installed
When I re-read my old blog, it didn't seem to apply.
But I found:
$ which Xvnc
/ usr/local/bin/Xvnc
$ pkginfo -L | grep vnc
SUNWvncviewer
SUNWxvnc
$ /usr/sbin/pkgchk -l SUNWxvnc | grep Xvnc
NOTE: Couldn't lock the package database.
Pathname: /usr/X11/bin/Xvnc
Pathname: /usr/X11/share/man/man1/Xvnc.1 Someone had put Xvnc version 3.x in /usr/local. Because /usr/local was
near the start of my PATH, I wasn't using the version of Xvnc that is
supplied with Solaris 10 Update 10.
Again, the solution is simple.
1) Kill the running Xvnc process
2) Start a new Xvnc process using the Solaris supplied executable
$ export PATH=/usr/X11/bin:$PATH
$ vncviewer 3) Use a VNC viewer to visit the Xvnc server and run vncconfig:
$ vncconfig &
4) Now, cut & paste works between my laptop (e-mail, web browser,
etc.) and my VNC session.
5) You will want to make sure that vncconfig is started automatically in
your .vnc/xstartup file.
Hope this helps!