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

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

Postby pernel » Jul 15th, '15, 22:47

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?
Last edited by doktor5000 on Jul 19th, '15, 22:17, edited 2 times in total.
Reason: split into separate thread, adjusted title, marked [DONE]
pernel
 
Posts: 60
Joined: Mar 21st, '12, 20:13

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

Postby doktor5000 » Jul 16th, '15, 20:28

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby pernel » Jul 17th, '15, 09:37

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:
Attachments
journal.log
(127.64 KiB) Downloaded 115 times
pernel
 
Posts: 60
Joined: Mar 21st, '12, 20:13

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

Postby pernel » Jul 17th, '15, 16:54

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.
pernel
 
Posts: 60
Joined: Mar 21st, '12, 20:13

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

Postby doktor5000 » Jul 17th, '15, 20:47

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby pernel » Jul 18th, '15, 21:43

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.
Attachments
journal.log
(117.87 KiB) Downloaded 113 times
pernel
 
Posts: 60
Joined: Mar 21st, '12, 20:13

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

Postby pernel » Jul 19th, '15, 21:57

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.
pernel
 
Posts: 60
Joined: Mar 21st, '12, 20:13


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest

cron