Skip to content

Commit

Permalink
Update Kde for Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
exalab999 committed Jul 12, 2022
1 parent 83414fb commit ffe64b1
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 8 deletions.
5 changes: 0 additions & 5 deletions Beta/README.md

This file was deleted.

41 changes: 41 additions & 0 deletions Scripts/DesktopEnvironment/Heavy/KDE/Yum/arm/de-yum-kde.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash

#Get the necessary components
yum groupinstall kde-desktop-environment --forcearch=armv7hl -y
yum install tigervnc-server --forcearch=armv7hl -y

#Setup the necessary files
mkdir ~/.vnc
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/arm/xstartup -P ~/.vnc/
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/arm/vncserver-start -P /usr/local/bin/
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/arm/vncserver-stop -P /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 Kde 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

vncserver-start
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ yum install tigervnc-server -y

#Setup the necessary files
mkdir ~/.vnc
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Experimental/xstartup -P ~/.vnc/
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Experimental/vncserver-start -P /usr/local/bin/
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Experimental/vncserver-stop -P /usr/local/bin/
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/xstartup -P ~/.vnc/
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/vncserver-start -P /usr/local/bin/
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Heavy/KDE/Yum/vncserver-stop -P /usr/local/bin/
chmod +x ~/.vnc/xstartup
chmod +x /usr/local/bin/vncserver-start
chmod +x /usr/local/bin/vncserver-stop
Expand Down
4 changes: 4 additions & 0 deletions Scripts/DesktopEnvironment/Heavy/KDE/Yum/vncserver-start
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export USER=root
export HOME=/root

vncserver -geometry 1024x768 -depth 24 -name remote-desktop :1
6 changes: 6 additions & 0 deletions Scripts/DesktopEnvironment/Heavy/KDE/Yum/vncserver-stop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export USER=root
export HOME=/root

vncserver -kill :1
rm -rf /tmp/.X1-lock
rm -rf /tmp/.X11-unix/X1
3 changes: 3 additions & 0 deletions Scripts/DesktopEnvironment/Heavy/KDE/Yum/xstartup
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
xrdb $HOME/.Xresources
dbus-launch startplasma-x11

0 comments on commit ffe64b1

Please sign in to comment.