X黑手网
X黑手网
X黑手网
ettercap报错GTK support或者GTK3 failed to initialize的解决方法

ettercap报错GTK support或者GTK3 failed to initialize的解决方法

1.GTK support is not compiled in ettercap报错

这种情况我们只需要把原来的版本替换掉就行了,kalinh默认安装的是ettercap-text-only,我们把它换成 ettercap-graphical就可以正常打开了

apt install  ettercap-graphical -y

那么我们再次使用ettercap -G就可以正常使用了

Screenshot_2023-08-01-15-09-46-744_com.offsec.nethunter.kex

2.GTK3 failed to initialize报错

这边我参照了一下github的issues,有兴趣的也可以看一下

https://github.com/Ettercap/ettercap/issues/1148

正如上面所说,这边装一个xorg就可以解决了

apt install xorg -y

Screenshot_2023-08-01-15-09-46-744_com.offsec.nethunter.kex

如果上面还没能解决这个报错的话,那么我们可以尝试另一种方法

在kali(非root)账户上面使用,记住一定不能使用root账户,是非root账户

xhost local:root

这个时候我们再次运行ettercap -G就可以了

© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容