How to recover graphic login? reset/re-do graphics? (Mga7)

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

How to recover graphic login? reset/re-do graphics? (Mga7)

Postby codegazer » Mar 24th, '21, 14:54

Running Mageia 7 on a PC with latest updates.

During a recent system update the graphics system was being updated but /boot/ filled 100% (I think it was updating Nvidia drivers or kernel modules).

After several attempts to reboot situation is: boot process does not seem to start the graphical login as before.
System is actually up and running but no login screen.

I can ssh into from a 2nd machine and have applied all the most recent updates available.


Question: how do I re-do or reset the Nvidia drivers update to get the graphical login back?
Alternatively, how to change to not use any additional Nvidia graphics card support - so back to simple graphics?

Environment: Mageia 7 running kernel 5.10.25-desktop-1.mga7
Code: Select all
# lspci | grep -ie nvidia
28:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
28:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)

$ df /boot/
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda5       484M  271M  184M  60% /boot



I could re-install but if there is a smarter way to recover then I would like to learn and understand how to do that.
Last edited by isadora on Mar 24th, '21, 17:33, edited 1 time in total.
Reason: Please place command-output between [CODE]-tags, to improve readability, thanks ahead!!! ;)
User avatar
codegazer
 
Posts: 22
Joined: Mar 30th, '11, 00:48

Re: How to recover graphic login? reset/re-do graphics? (Mga

Postby magic » Mar 24th, '21, 18:21

Have you tried booting a different Kernel? (Under Advanced in GRUB)
No login prompt at all? Have you tried switching to, i.e., tty2? (Ctrl+Alt+F2)

You can run 'drakx11' as root to reconfigure X.
I see my C has been in the sea too long - it's gone rusty.
magic
 
Posts: 54
Joined: Jun 8th, '19, 09:38
Location: Nottinghamshire, UK

Re: How to recover graphic login? reset/re-do graphics? (Mga

Postby codegazer » Mar 24th, '21, 21:00

Things I tried but did not help: try a different kernel in "recovery mode".

Nearly got it working by:

a) ssh in from 2nd machine, run /bin/sudo drakconf and change the DISPLAY options to disable automatic graphical login.
b) reboot to non-graphic login prompt
c) login
d) run /bin/sudo drakconf and try different settings then test (leave auto graphic login disabled)
e) reboot
f) login
g) run startx and test if graphics working OK and if OK then enable auto graphic login.
h) reboot


I say "nearly got it working" because while graphics seemed to work in both the "test" option of (non-gui) drakconf of DISPLAY *and* startx seemed to work OK unfortunately after enabling auto graphic login there is no graphical login on reboot.

So I have to ssh in and disable auto graphic login using drakconf again.

For now, I have set not auto graphical login and when I do the text-only login followed by "echo /bin/mate-session > .xinitrc" then run "startx; exit" to get MATE up and running.

more fixing needed...
So, made some progress but not there yet.
User avatar
codegazer
 
Posts: 22
Joined: Mar 30th, '11, 00:48

Re: How to recover graphic login? reset/re-do graphics? (Mga

Postby jiml8 » Mar 25th, '21, 18:11

What does /var/log/Xorg.0.log say?
jiml8
 
Posts: 1253
Joined: Jul 7th, '13, 18:09

Re: How to recover graphic login? reset/re-do graphics? (Mga

Postby codegazer » Apr 9th, '21, 00:49

jiml8 wrote:What does /var/log/Xorg.0.log say?


Too much and not enough. :-)
User avatar
codegazer
 
Posts: 22
Joined: Mar 30th, '11, 00:48

Re: How to recover graphic login? reset/re-do graphics? (Mga

Postby morgano » Apr 9th, '21, 09:53

what do journal say?
depending of what it say,
select a very simple graphics mode like xorg vesa
maybe uninstall nvidia
maybe install and configure a simple DM, choose it by running drakdm.

When you get a log in, install nvidia etc again to get back to what you prefer.
Mandriva since 2006, Mageia 2011 at home & work. Thinkpad T40, T43, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1306
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron