From 89b2d9485f4e17b318ff7eee287b7291544bc7c0 Mon Sep 17 00:00:00 2001 From: S0ra <73751962+S0raWasTaken@users.noreply.github.com> Date: Tue, 6 Jul 2021 01:46:27 -0500 Subject: [PATCH 1/2] Add apt install dbus-x11 Since Kali and other distros complain about child process dbus-launch missing when running the desktop Also changed apt-get to apt, since apt is quite better --- Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh b/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh index 55c629d..863b4ba 100644 --- a/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh +++ b/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh @@ -1,10 +1,11 @@ #!/bin/bash #Get the necessary components -apt-get update -apt-get install xfce4 xfce4-terminal tightvncserver -y -apt-get install xfe -y -apt-get clean +apt update +apt install xfce4 xfce4-terminal tightvncserver -y +apt install xfe -y +apt install dbus-x11 +apt clean #Setup the necessary files mkdir ~/.vnc @@ -41,4 +42,4 @@ echo " " echo "export DISPLAY=":1"" >> /etc/profile source /etc/profile -vncserver-start \ No newline at end of file +vncserver-start From 60e02d75e358425b1ada76a2f7073c26802630c0 Mon Sep 17 00:00:00 2001 From: S0ra Date: Mon, 27 Sep 2021 23:11:14 -0500 Subject: [PATCH 2/2] Add the -y after the apt command --- Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh b/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh index 863b4ba..d71a938 100644 --- a/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh +++ b/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh @@ -4,7 +4,7 @@ apt update apt install xfce4 xfce4-terminal tightvncserver -y apt install xfe -y -apt install dbus-x11 +apt install dbus-x11 -y apt clean #Setup the necessary files