Chinaunix首页 | 论坛 | 博客
  • 博客访问: 384041
  • 博文数量: 138
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1620
  • 用 户 组: 普通用户
  • 注册时间: 2013-03-10 16:55
个人简介

当你比别人优秀一点点,别人会嫉妒你。当你比别人优秀很多,别人会羡慕你。

文章分类

全部博文(138)

文章存档

2016年(2)

2015年(2)

2014年(15)

2013年(119)

我的朋友

分类: LINUX

2013-04-01 10:28:02

要在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
阅读(4566) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~