要在host与nvc间拷贝字符串,要打开VNC 剪切板,这个程序叫vncconfig,它不是用来配置的,它本身就是用来提供这项功能的,所以要开着不关。
Note that without a running instance of vncconfig there will be no clipboard support.
It puts up awindow with some checkboxes which can be used to disable clipboard
transfers if required (in the future there may be more functions avail\u2010
able from this window). The-nowin flag can be used if you always want
clipboard support but don't wish to clutter the desktop with this win\u2010
dow - alternatively the -iconic option can be used to make it iconified
by default.
你可以把 vncconfig -nowin -iconic & 加到你的.vnc 配置文件中,这样不会有一个window出来,又可提供剪切板的功能。
hyang0@dfe-auto:~$ cat .vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
xhost+
gnome-session &
vncconfig &
#scim -d
阅读(4803) | 评论(0) | 转发(0) |