Background
Yesterday, I installed CentOS v7 on a refurbished box. I went with the “Server with GUI” option, but upon starting up for the first time, the usual login screen is not coming up.
I have a dull blank screen, rather than one that lists my username.
Remediation
Idea
Took to the net and found a few people had similar problems. The most widely promulgated option is to edit the /etc/default/grub configuration file and look for the “GRUB_CMDLINE_LINUX” entry.
And, go on to add “video=LVDS-1:d” to the end of the current contents of the entry.
Steps
Outline
- Access Terminal window via pressing the key combination CTRL-ALT-F2
- Login from the terminal by entering the username and password
- The configuration file /etc/default/grub is read only and so change the file to writable
- Edit in vi or your choice editor as sudo
- Look for the “GRUB_CMDLINE_LINUX” entry and add “video=LVDS-1:d” to the end of the current value.
- Reconfigure using grub2-mkconfig
- Reboot your computer
Details
Here are the steps in detail.
CTRL-ALT-F2
Access Terminal mode by pressing the key combination CTRL-ALT-F2. The Terminal Screen should appear.
Logging from the Terminal
Logging from the Terminal by entering your username and password.
Launch vi in sudo mode
sudo vi /etc/default/grub
Edit /etc/default/grub
Add ” video=LVDS-1:d“
Before
Add
Reconfig Grub
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Reboot
reboot
Credit
No original thoughts here!
Credits go out to the guys ( scubastevesama) who spoke about it on Reddit.
And, the ones ( Josef Holland ) who blogged about it.
References
CentOS Login Screen
- centos 7 installation issue, no login screen – scubastevesama
Link - Josef Holland – Disable Laptop LCD Completely on boot
Demoted On:- 2022-April-5th
Link - [RESOLVED] Atom D510 – 6.0 updated to 6.1 – became confused about monitor configuration
Link - Install on a laptop with external monitor only
Link
Editing /etc/default/grub