Skip to content

Commit 5816935

Browse files
authored
Remove 9 specific instructions from Desktop shells in version 8 (#2866)
* leave 8 instructions minus the former "8" header prefixes
1 parent 79caa77 commit 5816935

File tree

1 file changed

+77
-216
lines changed

1 file changed

+77
-216
lines changed

docs/guides/desktop/xfce_installation.md

Lines changed: 77 additions & 216 deletions
Original file line numberDiff line numberDiff line change
@@ -18,265 +18,126 @@ It is also one of the most accessible desktop environments to combine with alter
1818

1919
* A workstation or notebook
2020
* A desire to run XFCE as your desktop instead of the default GNOME desktop
21-
* For the 9 minimal and 8 procedures, the ability to `sudo` to elevate privileges
21+
* For this procedure, the ability to `sudo` to elevate privileges
2222

23-
=== "9"
23+
## Install Rocky Linux minimal
2424

25-
## 9: Introduction
25+
!!! note
2626

27-
The development team for Rocky Linux 9 has made installing XFCE, and other popular desktop environments, uncomplicated by including live images. For those that might not know what that is, a live image is a bootable image that will load the OS without installation. When loaded, you have the option to install it to your machine's disk drive and use it.
27+
Throughout this section, you will either need to be the root user or be able to `sudo` to elevate your privileges.
2828

29-
## 9: Get, verify, and write the XFCE live image
29+
When installing Rocky Linux, we used the following sets of packages:
3030

31-
Prior to installation, the first step is to download the live image and write that to a DVD or a USB thumb drive. As stated earlier, the image will be bootable, just like any other installation media for Linux. You can find the latest XFCE image in the download section for Rocky Linux 9 [live images](https://dl.rockylinux.org/pub/rocky/9.6/live/x86_64/). Note that this particular link assumes x86_64 is your processor's architecture.
32-
33-
As of this writing, you can use x86_64 or aarch64 architectures for this live image. Download the live image and checksum files.
31+
* Minimal
32+
* Standard
3433

35-
Verify the image with the CHECKSUM file with the following
34+
## Run System Update
3635

37-
(note this is an example! Ensure your image name and CHECKSUM files match):
36+
First, run the server update command. The system will rebuild the repository cache. In this way, the system can recognize the packages available.
3837

39-
```
40-
sha256sum -c CHECKSUM --ignore-missing Rocky-9-XFCE-x86_64-latest.iso.CHECKSUM
41-
```
38+
```
39+
dnf update
40+
```
4241

43-
If all goes well, you will see this message:
42+
## Enabling repositories
4443

45-
```
46-
Rocky-9-XFCE-x86_64-latest.iso: OK
47-
```
44+
You need the unofficial repository for XFCE in the EPEL repository, to run on Rocky 8.x versions.
4845

49-
If the checksum for the file returns OK, you are now ready to write your ISO image to your media. This procedure differs depending on the OS, the media, and the tools. We are assuming here that you know how to write the image to your media.
46+
Enable this repository by entering:
5047

51-
## 9: Booting
48+
```
49+
dnf install epel-release
50+
```
5251

53-
This again is different by machine, BIOS, OS, and so on. You will need to ensure that your machine is set to boot to whatever your media is (DVD or USB) as the first boot device. This screen will show if you are successful:
52+
Answer 'Y' to install it.
5453

55-
![xfce_boot](images/xfce_boot.png)
54+
You also need the Powertools and lightdm repositories. Enable those now:
5655

57-
If so, you are on your way! If you want to test the media, you can enter that option first, or you can enter **S** to **Start Rocky Linux XFCE 9.0**.
56+
```
57+
dnf config-manager --set-enabled powertools
58+
dnf copr enable stenstorp/lightdm
59+
```
5860

59-
Remember, this is a live image. It is going to take some time to boot to the first screen. Do not panic, just wait! When the live image boots, you will see this screen:
61+
!!! Warning
6062

63+
The `copr` build system creates a repository that is known to work for installing `lightdm`, but is not maintained by the Rocky Linux community. Use at your own risk!
6164

62-
![xfce_install](images/xfce_install.png)
65+
Again, you will be presented with a warning message about the repository. Go ahead and answer `Y` to the prompt.
6366

64-
## 9: Installing XFCE
67+
## Check the available environments and tools in the group
6568

66-
At this point, you can use the XFCE environment. When you decide to use it permanently, double-click the option to Install to Hard Drive.
69+
Now that the repositories are enabled, run the following commands to check everything.
6770

68-
This will start a pretty familiar installation process for those who have installed Rocky Linux before. The first screen will allow the selection your default language:
71+
First, check your repository listing with:
6972

70-
![xfce_language](images/xfce_language.png)
73+
```
74+
dnf repolist
75+
```
7176

72-
The next screen will have some things that you need to verify or change. The options are numbered for reference:
77+
You should get the following back showing all of the enabled repositories:
7378

74-
![xfce_install2](images/xfce_install_2.png)
79+
```bash
80+
appstream Rocky Linux 8 - AppStream
81+
baseos Rocky Linux 8 - BaseOS
82+
copr:copr.fedorainfracloud.org:stenstorp:lightdm Copr repo for lightdm owned by stenstorp
83+
epel Extra Packages for Enterprise Linux 8 - x86_64
84+
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
85+
extras Rocky Linux 8 - Extras
86+
powertools Rocky Linux 8 - PowerTools
87+
```
7588

76-
1. **Keyboard** - Ensure that it matches up to the keyboard layout that you use.
77-
2. **Time & Date** - Ensure this matches up to your time zone.
78-
3. **Installation Destination** - You will need to click into this option, even if it is just to accept what is already there.
79-
4. **Network & Host Name** - Verify that you have what you want here. Provided the network is enabled, you can always change this later if you need to.
80-
5. **Root Password** - Set a root password. Remember to save this somewhere safe (password manager).
81-
6. **User Creation** - Create at least one user. If you want the user to have administrative rights, set this option when creating the user.
82-
7. **Begin Installation** - When completed and verified, click this option.
89+
Run the following command to check for XFCE:
8390

84-
When you do step 7, the installation process will start installing packages, shown in this screenshot:
91+
```
92+
dnf grouplist
93+
```
8594

86-
![xfce_install3](images/xfce_install_3.png)
95+
You should see "Xfce" at the bottom of the listing.
8796

88-
After the installation to the hard drive is complete, you will see the following screen:
97+
Run `dnf update` one more time to ensure all of the enabled repositories read into the system.
8998

90-
![xfce_install_final](images/xfce_install_final.png)
99+
## Installing packages
91100

92-
Click **Finish Installation**.
101+
To install XFCE, run:
93102

94-
When you have done this, it will take you back to the live image screen. Reboot your machine and remove the boot media you used for the XFCE install.
103+
```
104+
dnf groupinstall "xfce"
105+
```
95106

96-
Next you will get a login screen with the user you created above. Enter your password, which will get you to the XFCE desktop:
107+
Also install lightdm:
97108

98-
![xfce_desktop](images/xfce_desktop.png)
109+
```
110+
dnf install lightdm
111+
```
99112

100-
=== "9-minimal"
113+
## Final steps
101114

102-
## 9 minimal: Introduction
115+
You need to disable `gdm`, which gets added and enabled during *dnf groupinstall "xfce"*:
103116

104-
If you installed Rocky Linux 9.x and decide that you want to install XFCE after, this procedure will get you there. This procedure assumes installation of `Rocky-9.4-x86_64-minimal.iso`.
117+
```
118+
systemctl disable gdm
119+
```
105120

106-
### Update your system
121+
Now you can enable *lightdm*:
107122

108-
First, ensure the update of your system:
123+
```
124+
systemctl enable lightdm
125+
```
109126

110-
```bash
111-
sudo dnf update -y && dnf upgrade -y
112-
```
127+
You need to tell the system after booting to use only the graphical user interface. Set the default target system to the GUI interface:
113128

114-
![9_min1](images/xfce_9_min_1.png)
129+
```
130+
systemctl set-default graphical.target
131+
```
115132

116-
Secondly, run the command below to install epel-release repo which contains all packages that we need to install for Xfce Desktop.
133+
Then reboot:
117134

118-
```bash
119-
sudo dnf install epel-release -y
120-
```
135+
```
136+
reboot
137+
```
121138

122-
![9_min2](images/xfce_9_min_2.png)
123-
124-
### Install XFCE desktop
125-
126-
Install XFCE by running this command:
127-
128-
```bash
129-
sudo dnf groupinstall xfce -y
130-
```
131-
132-
![9_min3](images/xfce_9_min_3.png)
133-
134-
### Starting the XFCE desktop
135-
136-
You can launch the XFCE desktop from the command line if you see the message "Complete!" in the command output and no errors.
137-
138-
```bash
139-
sudo systemctl isolate graphical.target
140-
```
141-
142-
### Enable XFCE desktop on boot
143-
144-
At this point you have installed the XFCE desktop on the system and ensured it functions by running it from the command line. If you always want your system to start with XFCE instead of the command line, you need to run the following command. You will need to open the XFCE terminal from the 9 points icon first:
145-
146-
```bash
147-
sudo systemctl set-default graphical.target
148-
```
149-
150-
![9_min5](images/xfce_9_min_5.png)
151-
152-
**NOTE:** You can log in with your root username and password.
153-
154-
![9_min6](images/xfce_9_min_6.png)
155-
156-
Now you can test it. Reboot your system with the `sudo reboot` command. You will see your system opening with the XFCE desktop login screen.
157-
158-
![9_min7](images/xfce_9_min_7.png)
159-
160-
=== "8"
161-
162-
## 8: Install Rocky Linux minimal
163-
164-
!!! note
165-
166-
Throughout this section, you will either need to be the root user or be able to `sudo` to elevate your privileges.
167-
168-
When installing Rocky Linux, we used the following sets of packages:
169-
170-
* Minimal
171-
* Standard
172-
173-
## 8: Run System Update
174-
175-
First, run the server update command. The system will rebuild the repository cache. In this way, the system cab recognize the packages available.
176-
177-
```
178-
dnf update
179-
```
180-
181-
## 8: Enabling repositories
182-
183-
You need the unofficial repository for XFCE in the EPEL repository, to run on Rocky 8.x versions.
184-
185-
Enable this repository by entering:
186-
187-
```
188-
dnf install epel-release
189-
```
190-
191-
Answer 'Y' to install it.
192-
193-
You also need the Powertools and lightdm repositories. Enable those now:
194-
195-
```
196-
dnf config-manager --set-enabled powertools
197-
dnf copr enable stenstorp/lightdm
198-
```
199-
200-
!!! Warning
201-
202-
The `copr` build system creates a repository that is known to work for installing `lightdm`, but is not maintained by the Rocky Linux community. Use at your own risk!
203-
204-
Again, you will be presented with a warning message about the repository. Go ahead and answer `Y` to the prompt.
205-
206-
## 8: Check the available environments and tools in the group
207-
208-
Now that the repositories are enabled, run the following commands to check everything.
209-
210-
First, check your repository listing with:
211-
212-
```
213-
dnf repolist
214-
```
215-
216-
You should get the following back showing all of the enabled repositories:
217-
218-
```bash
219-
appstream Rocky Linux 8 - AppStream
220-
baseos Rocky Linux 8 - BaseOS
221-
copr:copr.fedorainfracloud.org:stenstorp:lightdm Copr repo for lightdm owned by stenstorp
222-
epel Extra Packages for Enterprise Linux 8 - x86_64
223-
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
224-
extras Rocky Linux 8 - Extras
225-
powertools Rocky Linux 8 - PowerTools
226-
```
227-
228-
Run the following command to check for XFCE:
229-
230-
```
231-
dnf grouplist
232-
```
233-
234-
You should see "Xfce" at the bottom of the listing.
235-
236-
Run `dnf update` one more time to ensure all of the enabled repositories read into the system.
237-
238-
## 8: Installing packages
239-
240-
To install XFCE, run:
241-
242-
```
243-
dnf groupinstall "xfce"
244-
```
245-
246-
Also install lightdm:
247-
248-
```
249-
dnf install lightdm
250-
```
251-
252-
## 8: Final steps
253-
254-
You need to disable `gdm`, which gets added and enabled during *dnf groupinstall "xfce"*:
255-
256-
```
257-
systemctl disable gdm
258-
```
259-
260-
Now you can enable *lightdm*:
261-
262-
```
263-
systemctl enable lightdm
264-
```
265-
266-
You need to tell the system after booting to use only the graphical user interface. Set the default target system to the GUI interface:
267-
268-
```
269-
systemctl set-default graphical.target
270-
```
271-
272-
Then reboot:
273-
274-
```
275-
reboot
276-
```
277-
278-
You should end up with a login prompt in the XFCE GUI, and when you login, you will have all of the XFCE environment.
139+
You should end up with a login prompt in the XFCE GUI, and when you login, you will have all of the XFCE environment.
279140

280141
## Conclusion
281142

282-
XFCE is a light environment with a simplistic interface. It is an alternative to the default GNOME desktop on Rocky Linux. If you are running Rocky Linux 9, the developers have created a handy live image that speeds up the installation process.
143+
XFCE is a light environment with a simplistic interface. It is an alternative to the default GNOME desktop on Rocky Linux.

0 commit comments

Comments
 (0)