LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1055|回复: 3

求助VNC的问题

[复制链接]
发表于 2006-10-21 21:25:14 | 显示全部楼层 |阅读模式
因为早期使用的遗留,现在在电脑上开VNCSERVER运行的桌面总是从第7个开始

怎么删除原来的使用记录呢?想从第一个桌面开始
发表于 2006-10-21 22:12:22 | 显示全部楼层
把~/.vnc里面的文件全部删掉
或者vncserver -kill :1
从1删到7就行了,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-21 22:44:12 | 显示全部楼层
~/.vnc里面的文件已经删除了!
可是vnc4server :1总是提示桌面1已经启动,可是vnc4server -kill :1又说找不到文件!
xiaofeng:~/.vnc# rm *
xiaofeng:~/.vnc# vnc4server

You will require a password to access your desktops.

Password:
Verify:
Found /usr/share/vnc-java for http connections.

New 'xiaofeng:8 (root)' desktop is xiaofeng:8

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/xiaofeng:8.log

xiaofeng:~/.vnc# vnc4server -kill :1

Can't find file /root/.vnc/xiaofeng:1.pid
You'll have to kill the Xvnc process manually

xiaofeng:~/.vnc# vnc4server :1
A VNC server is already running as :1
回复 支持 反对

使用道具 举报

发表于 2006-10-23 11:14:01 | 显示全部楼层
killall -s KILL Xvnc
rm -rf ~/.vnc/*
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表