vino 密码

来源:互联网 发布:php流媒体服务器搭建 编辑:程序博客网 时间:2024/05/29 17:01

忘记了vino 登录密码.

vncpassword 修改不了vino的密码.

vino密码保存在

~/.gconf/desktop/gnome/remote_access/%gconf.xml 

删除该文件.

用vnc登录后重新配置.


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

~/.gconf/desktop/gnome/remote_access/%gconf.xml

中保存的密码经过base64加密,将密码改为1234,1234 base编码后为 MTIzNA==

echo -n '1234' | base64

 MTIzNA==

gconftool-2 --type string --set  /desktop/gnome/remote_access/vnc_password MTIzNA==

重启后生效


gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled falsegconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true

原创粉丝点击