美文网首页
tigervnc 重设密码步骤

tigervnc 重设密码步骤

作者: 王滕辉 | 来源:发表于2017-05-09 15:40 被阅读163次

    [root@single ~]# cd /root/
    [root@single ~]# ls
    anaconda-ks.cfg Downloads Music rpmbuild shadowsocks-libev
    Desktop install.log Pictures rp.sh Templates
    Documents install.log.syslog Public scripts Videos
    [root@single ~]# cd .vnc
    [root@single .vnc]# ls
    localhost.localdomain:1.log passwd single:2.log
    localhost.localdomain:1.pid single:1.log xstartup
    localhost.localdomain:2.log single:1.pid xstartup.bak
    [root@single .vnc]# rm passwd
    rm: remove regular file `passwd'? y
    [root@single .vnc]# vncserver -kill :1
    Killing Xvnc process ID 14244
    [root@single .vnc]# vncserver

    You will require a password to access your desktops.
    Password:
    Verify:

    New 'single:1 (root)' desktop is single:1

    Starting applications specified in /root/.vnc/xstartup
    Log file is /root/.vnc/single:1.log

    [root@single .vnc]#

    相关文章

      网友评论

          本文标题:tigervnc 重设密码步骤

          本文链接:https://www.haomeiwen.com/subject/hhcvtxtx.html