Kali-Linux

正確安裝 Xampp 後,在 Kali Linux 中無法打開瀏覽器

  • November 7, 2020

首先,我在終端上發送命令,例如 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'

要在kali linux中啟動它,請按照建議使用的命令……

步驟1

打開終端然後輸入以下命令….

sudo /opt/lampp/manager-linux-x64.run

通過使用 GUI 出現在螢幕上,我們可以通過按 start all 輕鬆啟動所有需要的服務,而不是使用類似的命令

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.)

引用自:https://unix.stackexchange.com/questions/618357