Start oracle linux in gui

How to install XFCE GUI on Oracle Linux 8 or 7?

Oracle Linux which is based on RHEL (red hat enterprise Linux) works in a similar fashion and also supports its RPM and other packages.

Although the full package ISO comes with an option to install GNOME graphical user interface on Oracle Linux, however, if you are using a command-line server and after some time, you would like to have GUI, then it is possible as well. By default, the “Server with GUI” environment option is available in the group list of Oracle, however, you will not find XFCE there by default. Therefore to get it we need to add an Extra package repository called EPEL, which is popular on Centos, RHEL, and Fedora… Being a copy of RedHat, we can use the same on Oracle as well…

Install XFCE GUI on Oracle Linux 8 or 7 Server

You can follow the below commands even if you already have some GUI environment such as Gnome on your Oracle server. Also, we can use these commands for CentOS 7 & 8.

Читайте также:  Командная строка linux epub

Login as root

To install packages on Linux either we should have a user with sudo or access to the root account. Login with root or any user that is in under sudo group.

Add EPEL Repository on Oracle Linux

EPEL repository comes with hundreds of packages that are not available on the official repository of Oracle, CentOS, or RHEL.

#For Oracle Linux 8 use this command to add EPEL repo

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

#And those are on Oracle Linux 7 they can using this one.

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Run system update

First, run the server update command to let the system rebuild the repository cache, so that it could recognize the packages available in that.

To check the available repository on your system you can use the command:

Repolist

Check the available environments and tools in the group

There are multiple packages and tools that are available in the Group List to install on Oracle Linux with just one command. We can also find out the XFCE and Gnome there as well. To check it out using the command:

XFCE available goups

Command to install XFCE GUI on Oracle Linux

Finally, you will find the XFCE in the Available Groups, to install it run the groupinstall command along with the package name.

Install XFCE GUI Oracle Linux

Set GUI as default system on startup

We need to tell the system after booting use only the graphical user interface, so for that set the default target system to the GUI interface.

systemctl set-default graphical.target

Reboot system

Once done, reboot the system and login with your system user.

Читайте также:  Linux mint cinnamon файлы

XFCE graphical user interface installation on Oracle 8 or 7

1 thought on “How to install XFCE GUI on Oracle Linux 8 or 7?”

After following your instructions and rebooting, I’m left with a sometimes blinking underline at the top left
of the screen. The green light on my RPi4 blinks occasionally, but after many minutes, nothing has happened. Seems like the XFCE is not starting and I get no login prompt because of last command above: “systemctl set-default graphical.target’ Any ideas as to what is wrong? Reply

Leave a Comment Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Источник

How to start graphical interface before login?

I’ve installed Oracle Linux 6.4 (x86_64) on a server as a database server, the packages installed by default didn’t include the graphical interface. Following this article, I installed the referred packages and thereafter I could launch the graphical interface using startx after login. Can I make the server start the graphical server before login and actually login using a graphical greeter (if the term was correct!), or I have to log in first then startx after (automatically or manually)?

4 Answers 4

You could try changing the runlevel in the /etc/inittab file from id:3:initdefault: to id:5:initdefault: .

Yes. I totally forgot about that.. Was lost looking into the display manager stuff.. I kinda expected after installing graphical server that some package did the inittab for me 🙂

On my Debian 7 system with the venerable sysVinit and Gnome3 as desktop environment the startup of graphical environment upon change of runlevel to graphical runlevel (runlevel 2, rc2) is carried out by gdm3 init script — /etc/init.d/gdm3 , symlinked in /etc/rc2.d/S20gdm3 ( /etc/rc2.d/S20gdm3 -> /etc/init.d/gdm3 ).

Читайте также:  How to connect kali linux to wifi

gdm3 is responsible for running the Xserver and graphical greeter. If you’re planning to use barebone X without any desktop environment, probably, you’re going to need analogue of that script for xdm . Otherwise consider installing a desktop environment, such as Gnome or KDE.

If your system already has xdm (and its startup script in /etc/init.d/ ) installed, you have to start it upon switching to your default runlevel (or change the default runlevel). That is, your /etc/rcX.d (where X is your default runlevel specified in /etc/inittab ) must contain script S##xdm , where ## is some number, e.g. 20 (exact number depends on the order, in which you want your init scripts to be executed, because S19 is executed before S20) and S##xdm should be a symlink to /etc/init.d/xdm (run sudo ln -s /etc/init.d/xdm /etc/rcX/S##xdm to create that symlink).

Источник

Оцените статью
Adblock
detector