Page 1 of 1

[DONE] X does not start on normal boot, runs fine as root

PostPosted: Jul 15th, '15, 22:47
by pernel
I'm not sure if my issue is the same.
edit doktor5000: split out from original thread viewtopic.php?f=7&t=9885

An obsolete nvidia fx1800 card always created problems in each version of Mageia.
Now X refuses to start. Tried suggestions here and in errata without success.
Logged in as normal user I get this output:
startx
xauth: file/home/per/.serverauth,5418 does not exist
xauth: /home/per/.Xauthority not writable, changes will be ignored
xauth: timeout in locking authority file /home/per/.Xauthority


Logged in as root startx starts a graphics session as root.

Tested with nouveau and Nvidia 340 driver without success.
Any hints?

Re: [SOLVED] Unable to boot after upgrade from M4 to M5

PostPosted: Jul 16th, '15, 20:28
by doktor5000
pernel wrote:Now X refuses to start. Logged in as normal user I get this output:
[...]
Logged in as root startx starts a graphics session as root.


So you can manually start an X session as root, and in display manager you can then normally login as your user and continue?


You might be bitten by one of the ordering cycles. Please see https://bugs.mageia.org/show_bug.cgi?id=16260 and read the initial description there,
I've reported that on behalf of one user in the german forum.

Can you try to reproduce that? That is, boot normally, and when X does not come up, switch to another tty via Ctrl+Alt+F2 to F8
and as root run
Code: Select all
journalctl -ab > journal.log
and please attach that file here. You can also grep yourself for ordering cycles there.

If it's an ordering cycle, should be pretty obvious what to disable to fix it.

Re: X does not start on normal boot, but runs fine as root =

PostPosted: Jul 17th, '15, 09:37
by pernel
Well, not exactly like you describe it.
During boot I quickly see a starting splash screen. After that I'm soon offered to login in the console (full screen, no graphics).
When login as normal user I get the output above after the command startx. In this situation I have to reboot. After login as root startx opens a graphics desktop.

Login in another tty does not help.

journalctl -ab > journal.log give the attached output:

Re: X does not start on normal boot, but runs fine as root =

PostPosted: Jul 17th, '15, 16:54
by pernel
Additional information: Created another user to test. With this normal user startx works and gives me a normal graphics session. So maybe I have two problems: 1) something screwed up with the original user and 2) some problem starting X.

Re: X does not start on normal boot, but runs fine as root =

PostPosted: Jul 17th, '15, 20:47
by doktor5000
pernel wrote:During boot I quickly see a starting splash screen. After that I'm soon offered to login in the console (full screen, no graphics).

That is weird, the default is that X (or runlevel 5) starts by default ... except you configured it not to.

Will have a look at the log on weekend, maybe it can help to explain what happens.

Re: X does not start on normal boot, but runs fine as root =

PostPosted: Jul 18th, '15, 21:43
by pernel
Adding a fresh journal.log
After again removing the normal user, selecting the card in mcc command line, creating the normal user again, rebooting, login in console (as normal user) and startx which then opens a graphical KDE session.

Re: X does not start on normal boot, but runs fine as root =

PostPosted: Jul 19th, '15, 21:57
by pernel
Solved - sort of.
Many other things were screwed up in the system by this update so I decided to give up an make a clean install.
The installation detected the graphics properly.
Thanks doctor for the attention anyhow.