Chinaunix首页 | 论坛 | 博客
  • 博客访问: 74698
  • 博文数量: 5
  • 博客积分: 1720
  • 博客等级: 上尉
  • 技术积分: 350
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-13 12:50
文章分类
文章存档

2011年(1)

2008年(4)

我的朋友

分类: LINUX

2008-04-16 14:42:13

1,modify file /etc/sysconfig/vncservers
 VNCSERVERS="1:root"
 VNCSERVERARGS[1]="-geometry 800x600"
2,#vncserver 1;After you ran this command,it will create .vnc dir under /root dir;
3,modify /root/.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 &
gnome-session &
4,service vncserver restart
5,login by using ,such as 192.168.100.100:1
阅读(936) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:南邮专家称广电CMMB建网既不合适也不经济

给主人留下些什么吧!~~