black screen after restarting/rebooting

Hi, I 'm on opensuse leap 42.3 since the release date on a desktop pc.A few days ago, I’ve come across this problem:when I try to reboot, pc shuts down and a black screen welcomes me, where there is nothing else to do than manually shut down the pc.Every other power choice work’s fine(shut down, logout, e.t.c.). Any suggestions here?

Please post the Graphical User Interface configured on the machine suffering this issue – “KDE” or, “GNOME” or, “Xfce” or, “LXDE” or, whatever.

Please also check that, the system is being rebooted by means of the systemd command “systemctl reboot” – the SystemV command “init 6” should also function as expected – it is normally translated to “systemctl reboot”.

You can give some information about Computer Hardware, and any video drivers in use ?

I’m on kde.I use the reboot button from the menu, how can I check the above info?

Model: “Intel 82801JI (ICH10 Family) USB UHCI Controller #3
Vendor: pci 0x8086 “Intel Corporation”
Device: pci 0x3a36 “82801JI (ICH10 Family) USB UHCI Controller #3
SubVendor: pci 0x1043 “ASUSTeK Computer Inc.”
SubDevice: pci 0x82d4 “P5Q Deluxe Motherboard”
Driver: “uhci_hcd”

Vendor: pci 0x1002 “ATI Technologies Inc”
Device: pci 0xaa30 “RV770 HDMI Audio [Radeon HD 4850/4870]”
Driver: “snd_hda_intel”
Are these enough, or you need something more specific?

Assuming that, the Display Manager is “SDDM”, please check the content of “/etc/sddm.conf” and in particular the value of the parameter “RebootCommand=”. For the case of “KDM” being used as the Display Manager, the content of “/usr/share/kde4/config/kdm/kdmrc” needs to be checked.

sddm.conf:
"[Theme]
Current=breeze-openSUSE
CursorTheme=breeze_cursors

[XDisplay]
ServerPath=/usr/bin/X
SessionCommand=/etc/X11/xdm/Xsession
DisplayCommand=/etc/X11/xdm/Xsetup
MinimumVT=7
[Autologin]

Username for autologin session

User=h***s"
no rebootcommand here!
And there is no such folder(kdm) on usr/share/kde4/config!

Given that, the default value for the “sddm.conf” parameter “RebootCommand=” is “/usr/bin/systemctl reboot”, the behaviour from either within a KDE session or at the SDDM Greeter screen, should be just that.

Please post the behaviour for the case that, the machine’s user logs out from the KDE session and then the “reboot” button of the SDDM Greeter screen is pressed.

Please also, setup a new (“fresh”) “Test” user and check if this issue also occurs with the new user.

Well, this one is strange!
I did press “reboot” on the SDDM Greeter screen(after logging out) and it worked fine(that’s a nice workaround I thought).Then I gave it another chance from the same user as before, using again the reboot button from the menu and…it worked!!!:OI had this problem for more than 10 days, tried at least 20 times and never worked, and now it’s gone!What happened?:?

Possibly something in the KDE user cache: ~/.cache/

If the affected user is logged out then, either with an administrator account or, the user, login via a TTY VT ( <Ctrl + Alt + F1> or F2; F3; F4; F5; F6 – TTYs 1 through 6 ) and then remove everything in the user’s .cache/ directory. Also check "/tmp/kde-<User Name>/.

Once the cache has been emptied, select TTY7 ( <Ctrl + Alt + F7> ) – the SDDM Greeter screen – and login again.

these will remove every change and preference I’ve made to the system, right?I’ll consider doing this, if it happens again.Thanks for the help;)

No. Cache is cache.

Your preferences and other settings are mostly in ~/.config/ – a few things such as Kontact store some of the settings in things such as the Akonadi database located in ~/.local/share/ – everything else is in ~/.config/ – except for some of the KDE4 things which are still in ~/.kde4/share/ . . .
[HR][/HR]And no, I don’t have a “Live free or die” UNIX® License Plate . . . :wink:

LOL, and I was thinking to buy you one for all the help provided:P
thanks again for all the useful info:)

I have the same problem as @hara75gr. Yesterday I upgraded my openSUSE from 42.1 to 42.2 and next to 42.3. I configured my desktop and installed some additional drivers. In meanwhile I rebooted the laptop few times without any problems but once the black screen with blinking white text appeared. It looks like the computer launches with the init 3 mode. My old laptop is ASUS K52JC with specification: https://www.asus.com/Laptops/K52JC/specifications/. It contains NVIDIA GF310M graphics card and also integrated Intela(R) HD Graphics. After installation I made Easy way to get NVIDIA drivers from https://en.opensuse.org/SDB:NVIDIA_drivers. I use KDE.

I remember that just before the problem had occurred I changed settings of SDDM and then rebooted ASUS. My /etc/sddm.conf lists now:


[Autologin]
Relogin=false
User=

[General]
Haltcommand=
RebootCommand=

[Theme]
Current=brezze-openSUSE
CursorTheme=DMZ-AA

[Users]
MaximumUid=65000
MinimumUid=1000

[XDisplay]
DisplayCommad=/etc/X11/xdm/Xsetup
MinimumVT=7
ServerPath=/usr/bin/X
SessionCommand=/etc/X11/xdm/Xsession

And it is strange that the console text blinks all the time. Maybe not important in this case but weird.
EDIT: I also cleaned .cache/ directory. It didn’t help.

Benek

You could try to minimise the sddm.conf content:

  1. “[Autologin] section:” The default value of “Relogin=” is ‘false’ – therefore remove the “[Autologin] section:” completely.
  2. “[General] section:” The default values of “HaltCommand=” and “RebootCommand=” are being used anyway – therefore remove the “[General] section:” completely.
  3. “[Theme] section:” You seem to have published a spelling mistake, which may or may not be present in your “/etc/sddm.conf” file:

The value of “Current=” should, possibly, be ‘breeze-openSUSE’ – check the directory “/usr/share/sddm/themes/”.
The value of “CursorTheme=” seems to be OK.

The rest of the sddm.conf content seems to be OK.

Yeah, in the file everything is OK.

Unfortunately it doesn’t work. I logged in as root, deleted these sections and saved the file. When I use cat to list the content of the file, I see that just deleted parts are appended to that file:


[Theme]
Current=breeze-openSUSE
CursorTheme=DMZ-AA

[Users]
MaximumUid=65000
MinimumUid=1000

[XDisplay]
DisplayCommad=/etc/X11/xdm/Xsetup
MinimumVT=7
ServerPath=/usr/bin/X
SessionCommand=/etc/X11/xdm/Xsession
[General]
#Reboot command
RebootCommand=


#Halt command
HaltCommand=


Probably these lines are added automatically when I save changes. Of course I rebooted the computer to check how it works. Maybe not SDDM causes the problem :idea:

I can’t edit my previous message, so I must to add this post.

SOLUTION**:**

I found on another forum that someone had the same problem with Kali Linux after NVIDIA drivers installation. One user recommended to remove the file /etc/X11/xorg.conf. To prevent loss of the file I changed its name as root:


mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old

After reboot everything works as should. Maybe it is possible to add this solution to new packages to avoid this annoying bug in the future.

Haven’t used ‘xorg.conf’ for quite a while now:

  • I removed it a long time ago when this system was running 13.2;
  • the upgrade to Leap 42.2 dropped a "xorg.conf.install
    " into ‘/etc/X11/’.

Generally you don’t need a xorg.conf file for NVIDIA drivers but you may have settings regarding monitors mice and such that you may need so just removing any configuration file at driver install is not going to happen. One solution if you need custom setup of other hardware in the X stack is to use the files in /etc/X11/xorg.conf.d directory since they are more finely divided in purpose.

I had the same problem installing 42.3 Friday. This is not a Desktop problem, the screen goes black after initrd.

See this thread.

https://forums.opensuse.org/showthread.php/526835-Can-only-install-and-boot-with-nomodeset-in-kernel