标签:
kali版本:
root@kali:~# uname -a Linux kali 4.3.0-kali1-amd64 #1 SMP Debian 4.3.3-7kali2 (2016-01-27) x86_64 GNU/Linux
第一步 安装相关源:
apt-get install mate-core mate-desktop-environment mate-desktop-environment-extra
第二步 启动vncserver:
root@kali:~# vncserver New ‘X‘ desktop is kali:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/kali:1.log
第三步 关闭vncserver:
root@kali:~# vncserver -kill :1 Killing Xtightvnc process ID 2280
第四步 修改/root/.vnc/xstartup文件:
注释/etc/X11/Xsession,添加/usr/bin/mate-session
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & # Fix to make GNOME work export XKL_XMODMAP_DISABLE=1 #/etc/X11/Xsession /usr/bin/mate-session
第五步 启动vncserver:
root@kali:~# vncserver New ‘X‘ desktop is kali:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/kali:1.log
做完以上步骤就可以使用vnc连接了
vnc连接kali 2.0 报错:A problem has occurred and the system can't recover.
标签:
原文地址:http://www.cnblogs.com/zheh/p/5741298.html