You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -18,265 +18,126 @@ It is also one of the most accessible desktop environments to combine with alter
18
18
19
19
* A workstation or notebook
20
20
* 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
22
22
23
-
=== "9"
23
+
## Install Rocky Linux minimal
24
24
25
-
## 9: Introduction
25
+
!!! note
26
26
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.
28
28
29
-
## 9: Get, verify, and write the XFCE live image
29
+
When installing Rocky Linux, we used the following sets of packages:
30
30
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
34
33
35
-
Verify the image with the CHECKSUM file with the following
34
+
## Run System Update
36
35
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.
You need the unofficial repository for XFCE in the EPEL repository, to run on Rocky 8.x versions.
48
45
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:
50
47
51
-
## 9: Booting
48
+
```
49
+
dnf install epel-release
50
+
```
52
51
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.
54
53
55
-

54
+
You also need the Powertools and lightdm repositories. Enable those now:
56
55
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
+
```
58
60
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
60
62
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!
61
64
62
-

65
+
Again, you will be presented with a warning message about the repository. Go ahead and answer `Y` to the prompt.
63
66
64
-
## 9: Installing XFCE
67
+
## Check the available environments and tools in the group
65
68
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.
67
70
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:
69
72
70
-

73
+
```
74
+
dnf repolist
75
+
```
71
76
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:
73
78
74
-

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
+
```
75
88
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:
83
90
84
-
When you do step 7, the installation process will start installing packages, shown in this screenshot:
91
+
```
92
+
dnf grouplist
93
+
```
85
94
86
-

95
+
You should see "Xfce" at the bottom of the listing.
87
96
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.
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
+
```
95
106
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:
97
108
98
-

109
+
```
110
+
dnf install lightdm
111
+
```
99
112
100
-
=== "9-minimal"
113
+
## Final steps
101
114
102
-
## 9 minimal: Introduction
115
+
You need to disable `gdm`, which gets added and enabled during *dnf groupinstall "xfce"*:
103
116
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
+
```
105
120
106
-
### Update your system
121
+
Now you can enable *lightdm*:
107
122
108
-
First, ensure the update of your system:
123
+
```
124
+
systemctl enable lightdm
125
+
```
109
126
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:
113
128
114
-

129
+
```
130
+
systemctl set-default graphical.target
131
+
```
115
132
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:
117
134
118
-
```bash
119
-
sudo dnf install epel-release -y
120
-
```
135
+
```
136
+
reboot
137
+
```
121
138
122
-

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
-

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
-

151
-
152
-
**NOTE:** You can log in with your root username and password.
153
-
154
-

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
-

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.
279
140
280
141
## Conclusion
281
142
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