Answer the question
In order to leave comments, you need to log in
How to run GUI on CentOS 7?
I decided to put centos under a virtual machine as a client. Here is the latest release.
Installed X Window System, Gnome, wanted to edit etc/inittab, but it says it's no longer in use.
startx doesn't work:
xinit: connectionton X server lost
waiting for x server to shut down error setting MTRR (base = 0xdooooooo, size = 0x00c00000, type = 1) Invalid argument (22)
Answer the question
In order to leave comments, you need to log in
xorg configure - there was some such command and it collected settings for the system. But the last time I did it was 4 years ago. but suddenly you will be prompted to a decision.
If you look at fedora , then there is a clear transition to systemd. Everything runs through it.
Directory with all this: /etc/systemd/system
There are two main modes:
multi-user.target is like runlevel 3
graphical.target is runlevel 5
They are also designed as directories in /etc/systemd/system with links to scripts that should be run at system startup.
The mode itself is prescribed to mine in the file: default.target
The graphical manager is used by gdm. It usually starts like this:
The status can be viewed like this:systemctl status gdm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question