-
-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
256 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/bin/bash | ||
|
||
#Get the necessary components | ||
apt update -y | ||
apt install udisks2 -y | ||
echo "" > /var/lib/dpkg/info/udisks2.postinst | ||
sudo dpkg --configure -a | ||
sudo apt-mark hold udisks2 | ||
sudo apt-get install keyboard-configuration -y | ||
sudo apt-get install tzdata -y | ||
sudo apt-get install sudo wget nano inetutils-tools dialog exo-utils tigervnc-standalone-server tigervnc-common tigervnc-tools -y | ||
apt install enlightenment -y | ||
|
||
mkdir -p ~/.vnc | ||
wget https://raw.githubusercontent.com/Techriz/AndronixOrigin/master/APT/XFCE4/vncserver-start -P /usr/local/bin/ | ||
wget https://raw.githubusercontent.com/Techriz/AndronixOrigin/master/APT/XFCE4/vncserver-stop -P /usr/local/bin/ | ||
chmod +x /usr/local/bin/vncserver-start | ||
chmod +x /usr/local/bin/vncserver-stop | ||
|
||
echo '#!/bin/bash | ||
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | ||
export PULSE_SERVER=127.0.0.1 | ||
LANG=en_US.UTF-8 | ||
export LANG | ||
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | ||
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | ||
echo $$ > /tmp/xsession.pid | ||
dbus-launch --exit-with-session enlightenment_start' > ~/.vnc/xstartup | ||
|
||
chmod +x ~/.vnc/xstartup | ||
|
||
apt install epiphany-browser -y | ||
|
||
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 Xfce4 Desktop Environment" | ||
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 | ||
source /etc/profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/bin/bash | ||
|
||
#Get the necessary components | ||
sudo apt-mark hold udisks2 | ||
sudo apt-get update | ||
sudo apt-get install keyboard-configuration -y | ||
sudo apt-get install tzdata -y | ||
sudo apt-get install sudo wget nano inetutils-tools dialog -y | ||
sudo apt-get install lxde-core lxterminal tigervnc-standalone-server tigervnc-common tigervnc-tools dbus-x11 --no-install-recommends -y | ||
sudo apt-get clean | ||
|
||
#Setup the necessary files | ||
mkdir -p ~/.vnc | ||
|
||
echo "#!/bin/bash | ||
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | ||
export PULSE_SERVER=127.0.0.1 | ||
LANG=en_US.UTF-8 | ||
export LANG | ||
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | ||
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | ||
echo $$ > /tmp/xsession.pid | ||
dbus-launch --exit-with-session startlxde" > ~/.vnc/xstartup | ||
|
||
chmod +x ~/.vnc/xstartup | ||
|
||
echo " " | ||
|
||
echo "Running browser patch" | ||
wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Uninstall/ubchromiumfix.sh && chmod +x ubchromiumfix.sh | ||
./ubchromiumfix.sh && rm -rf ubchromiumfix.sh | ||
|
||
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 LXDE Desktop Environment" | ||
echo " " | ||
echo " " | ||
echo " " | ||
echo "Running vncserver-start" | ||
echo " " | ||
echo " " | ||
echo " " | ||
echo "To Kill VNC Server just run vncserver-stop" | ||
echo " " | ||
echo " " | ||
echo " " | ||
|
||
vncpasswd | ||
vncserver-start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/bin/bash | ||
|
||
#Get the necessary components | ||
sudo apt-mark hold udisks2 | ||
sudo apt-get update -y | ||
sudo apt-get install keyboard-configuration -y | ||
sudo apt-get install tzdata -y | ||
sudo apt-get install sudo wget nano inetutils-tools dialog -y | ||
sudo apt-get install lxqt-core lxqt-config qterminal tigervnc-standalone-server tigervnc-tools dbus-x11 openbox -y | ||
sudo apt-get install xfe -y | ||
sudo apt-get clean | ||
|
||
#Setup the necessary files | ||
mkdir -p ~/.vnc | ||
echo "#!/bin/bash | ||
export PULSE_SERVER=127.0.0.1 | ||
LANG=en_US.UTF-8 | ||
export LANG | ||
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | ||
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | ||
echo $$ > /tmp/xsession.pid | ||
dbus-launch --exit-with-session startlxqt" > ~/.vnc/xstartup | ||
|
||
chmod +x ~/.vnc/xstartup | ||
|
||
echo " " | ||
|
||
echo "Running browser patch" | ||
wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Uninstall/ubchromiumfix.sh && chmod +x ubchromiumfix.sh | ||
./ubchromiumfix.sh && rm -rf ubchromiumfix.sh | ||
|
||
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 LXQt Desktop Environment" | ||
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 | ||
source /etc/profile | ||
|
||
vncpasswd | ||
vncserver-start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
#!/bin/bash | ||
|
||
#Get the necessary components | ||
sudo apt-get update | ||
sudo apt install udisks2 -y | ||
echo "" > /var/lib/dpkg/info/udisks2.postinst | ||
sudo dpkg --configure -a | ||
sudo apt-mark hold udisks2 | ||
sudo apt-get install keyboard-configuration -y | ||
sudo apt-get install tzdata -y | ||
sudo apt-get install sudo wget nano inetutils-tools dialog -y | ||
sudo apt-get install xfce4 xfce4-goodies xfce4-terminal exo-utils tigervnc-standalone-server tigervnc-common tigervnc-tools dbus-x11 --no-install-recommends -y | ||
sudo apt-get clean | ||
mkdir -p ~/.vnc | ||
wget https://raw.githubusercontent.com/Techriz/AndronixOrigin/master/APT/XFCE4/vncserver-start -P /usr/local/bin/ | ||
wget https://raw.githubusercontent.com/Techriz/AndronixOrigin/master/APT/XFCE4/vncserver-stop -P /usr/local/bin/ | ||
chmod +x /usr/local/bin/vncserver-start | ||
chmod +x /usr/local/bin/vncserver-stop | ||
|
||
echo '#!/bin/bash | ||
export PULSE_SERVER=127.0.0.1 | ||
LANG=en_US.UTF-8 | ||
export LANG | ||
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | ||
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | ||
echo $$ > /tmp/xsession.pid | ||
dbus-launch --exit-with-session /usr/bin/startxfce4' > ~/.vnc/xstartup | ||
|
||
chmod +x ~/.vnc/xstartup | ||
|
||
echo " " | ||
|
||
echo "Running browser patch" | ||
wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Uninstall/ubchromiumfix.sh && chmod +x ubchromiumfix.sh | ||
./ubchromiumfix.sh && rm -rf ubchromiumfix.sh | ||
|
||
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 Xfce4 Desktop Environment" | ||
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 | ||
source /etc/profile | ||
|
||
vncpasswd | ||
vncserver-start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.