From 01d4bbd015c81509a3bfe4819a0138229bdaf0f6 Mon Sep 17 00:00:00 2001 From: daleclack Date: Wed, 9 Dec 2020 21:47:46 +0800 Subject: [PATCH] Add termux-kali scripts --- termux/Anlinux-kali/de-apt-awesome.sh | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 termux/Anlinux-kali/de-apt-awesome.sh diff --git a/termux/Anlinux-kali/de-apt-awesome.sh b/termux/Anlinux-kali/de-apt-awesome.sh new file mode 100644 index 0000000..a45de70 --- /dev/null +++ b/termux/Anlinux-kali/de-apt-awesome.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +#Get the necessary components +apt-get update +apt-get install awesome xterm -y +apt install tigervnc-common tigervnc-scraping-server tigervnc-standalone-server tigervnc-xorg-extension -y +apt-get install thunar mate-terminal -y + +#Setup the necessary files +mkdir ~/.vnc +cd ./xstartup -P ~/.vnc/ +cd ./vncserver-start -P /usr/local/bin/ +cd ./vncserver-stop /usr/local/bin/ + +chmod +x ~/.vnc/xstartup +chmod +x /usr/local/bin/vncserver-start +chmod +x /usr/local/bin/vncserver-stop + +echo " " +echo "You can now start vncserver by running vncserver-start" +echo " " +echo "It will ask you to enter a password when first time starting it." +echo " " +echo "The VNC Server will be started at 127.0.0.1:5901" +echo " " +echo "You can connect to this address with a VNC Viewer you prefer" +echo " " +echo "Connect to this address will open a window with Awesome Window Manager" +echo " " +echo " " +echo " " +echo "Running vncserver-start" +echo " " +echo " " +echo " " +echo "To Kill VNC Server just run vncserver-stop" +echo " " +echo " " +echo " " + +echo "export DISPLAY=":1"" >> /etc/profile +apt install apt-utils aptitude codeblocks build-essential pavucontrol pulseaudio glade gedit firefox-esr audacious brasero atril synaptic -y + +vncserver-start \ No newline at end of file