I like to play gnu-backgammon (gnubg) which has been working for me under 15.0 for a while. Now that I just upgraded 15.0 to 15.1 I’m having some video issues-- when I start gnubg the program runs but there is no longer is graphical output visible. My first thought is that it may be a driver issue (NVidia video card) so I downloaded the latest driver. In order to install the updated driver, I have to boot into text mode and not have the graphics drivers installed. The driver update doesn’t work in graphics mode, text mode only. How do I change my boot to not load the graphics drivers so that I can boot into a text console and then install the latest nvidia drivers?
(I looked at yast, but I didn’t see a place to modify what modules will be loaded)
You have two quick choices. #1 Switch to a Virtual Terminal (e.g. by CTRL+ALT+F1) login as superuser and issue:
systemctl isolate multi-user.target
and you exit from the default graphical target; you can then login as any other user if needed in one of the available VTs if needed.
When done maybe it is better to reboot rather than return to the graphical target.
#2 If you don’t mind to reboot to get to a text session, simply add a “3” (without quotes) to the boot line (press “E” at the GRUB boot menu).
I did get into text mode and did install the updated NVidia drivers. Then, when I booted, I came up into text mode again.But, during boot I saw the graphics display (3 green dots in the middle of the screen telling me that there is a graphics mode lurking in there somewhere). So, (in text mode) I logged into my account and tried
$ startx
and after the “normal” messages I saw the following
(===) Using config file: “/etc/X11/xorg.conf”
(===) using config directory: “etc/X11/xorg.conf.d”
(===) Using system config directory “/usr/share/X11/xorg.conf.d”
VGA Arbitration: Cannot restore default device. (EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection rfused
xinit: server error
xinit failed. /usr/bin/Xorg is not setuid, maybe that’s the reason?
If so either use a dispaly manager (strongly recommended) or adjust /etc/permissions.local and run “chkstat --system --set” afterwards
So my question now is how to proceed to get the graphical display back? I’m not changing anything on the system without some guidance because I don’t want to mess things up more than they already are.
[HR][/HR]Is that GUI behaving as expected for the case of other applications?
[HR][/HR]Please note that, the “gnubg” package has some dependency requirements: “zypper info --requires gnubg”.
Does “zypper verify” indicate any missing dependencies?
After you performed the upgrade from Leap 15.0 to Leap 15.1, did you execute the following system checks?
I ran:
$systemctl isolate graphical.target
====AUTHENTICATING FOR org.freedesktop.systemd1.manage-units====
Authentication is required to start ‘garphical.target’.
Authenticating as: root
Password: <************> #root password
PolicyKit daemon disconnected from the bus,
We are no longer a registered authentication agent.
(graphics installled from run file downloaded from NVidia site)
From your first suggestion, I now can get into GUI. (just need to fix resolution) So, I’m going to work on the system some more and see if this is totally fixed. I will report back later.
Wait a minute – originally, you seem to have mentioned that, the GUI was running OK with the default openSUSE NVidia driver …
What happens to the GUI if, you revert to the openSUSE default Leap 15.1 installation?
[HR][/HR]I have a suspicion that, the original issue with GNU Backgammon not displaying, is due to an unresolved dependency which arose during the Leap 15.0 to Leap 15.1 upgrade …
I am back to normal operations. Since you were so kind to reply, allow me to respond. The GUI was working fine in 15.0, but I had problems going to 15.1 . What it came down to was my “/etc/X11/xorg.conf” file was messing things up. Renaming the xorg.conf file to something else, and letting the system do its thing worked. I only had to reset the desktop video resolution and I’m back in normal operation.
I’m going to try to work with the folks on the gbg mailing list since they seem to be aware of the problem…or I can just add some time to the rest of my day to do things other than play games. Hmmmm…I’ll have to ponder that https://forums.opensuse.org/images/icons/icon10.png.
I’m saying that this is solved. Moving “/etc/X11/xorg.conf” out of the way (I renamed it) allowed the system to discover the hardware and get everything booting properly. Then all I had to do was to reset the resolution from 640 X 480 to 1280 X 1040 (that’s what my hardware supports) and all is well.