ITPub博客

首页 > 数据库 > Oracle > VNC Cut & Paste on Solaris 10

VNC Cut & Paste on Solaris 10

原创 Oracle 作者:烟花丶易冷 时间:2017-07-04 12:53:04 0 删除 编辑
$ 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 &

vncconfig.png


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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29618264/viewspace-2141577/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: xmanager 连接hp unix
请登录后发表评论 登录
全部评论

注册时间:2014-04-20

  • 博文量
    135
  • 访问量
    270002