正确安装 Xampp 后,它无法在 Kali Linux 中的浏览器中打开

正确安装 Xampp 后,它无法在 Kali Linux 中的浏览器中打开

首先,我在终端上输入命令,例如 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.)

相关内容