![正确安装 Xampp 后,它无法在 Kali Linux 中的浏览器中打开](https://linux22.com/image/183000/%E6%AD%A3%E7%A1%AE%E5%AE%89%E8%A3%85%20Xampp%20%E5%90%8E%EF%BC%8C%E5%AE%83%E6%97%A0%E6%B3%95%E5%9C%A8%20Kali%20Linux%20%E4%B8%AD%E7%9A%84%E6%B5%8F%E8%A7%88%E5%99%A8%E4%B8%AD%E6%89%93%E5%BC%80.png)
首先,我在终端上输入命令,例如 sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp start
[sudo] password for tayef:
Starting XAMPP for Linux 7.2.34-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
其次,我发短信 sudo /opt/lampp/manager-linux-x64.run
sudo /opt/lampp/manager-linux-x64.run
完成上面的 xampp GUI 后,就像..请单击下面的图片链接
然后
单击转到应用程序上的 Xampp 主页面板后,它显示如下
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/tayef/.Xauthority which is owned by tayef.)
[11635:11635:1106/191936.161137:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/tayef/.Xauthority which is owned by tayef.)
/usr/bin/xdg-open: 869: iceweasel: not found
/usr/bin/xdg-open: 869: seamonkey: not found
/usr/bin/xdg-open: 869: mozilla: not found
/usr/bin/xdg-open: 869: epiphany: not found
/usr/bin/xdg-open: 869: konqueror: not found
/usr/bin/xdg-open: 869: chromium: not found
/usr/bin/xdg-open: 869: chromium-browser: not found
[11665:11665:1106/191936.206660:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
/usr/bin/xdg-open: 869: www-browser: not found
/usr/bin/xdg-open: 869: links2: not found
/usr/bin/xdg-open: 869: elinks: not found
/usr/bin/xdg-open: 869: links: not found
/usr/bin/xdg-open: 869: lynx: not found
/usr/bin/xdg-open: 869: w3m: not found
xdg-open: no method available for opening 'http://localhost:80'
答案1
要在 kali linux 中启动它,建议使用以下命令......
步骤1
打开终端然后输入以下命令......
sudo /opt/lampp/manager-linux-x64.run
通过使用屏幕上出现的 GUI,我们可以通过轻松地按全部启动来启动所有需要的服务,而不是使用像这样的命令
sudo service mysql start
sudo /opt/lampp/lampp start
第2步
打开任何首选浏览器,然后输入文本或网址,例如...
http://localhost:80/phpmyadmin/
上述步骤对 Kali-linux 用户很有用,因为过去几天我一直面临打开问题
我发现按 Xampp 主页选项卡启动应用程序时出现以下错误
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/tayef/.Xauthority which is owned by tayef.)
[24952:24952:1107/205040.567917:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/tayef/.Xauthority which is owned by tayef.)