Login help needed - won't start X

Help is needed and appreciated
System has been running fine. I did 2 things.

1 - Changed the password,

2 - Then an online update.

Rebooted, it will not start X.

text login accepted the new password
ran startx to see what it says

> startx
hostname: Name or service not known
xauth: file /home/dad/.serverauth.1718 does not exist

(EE)
Fatal server error:
(EE) Could not create lock file in /tmp.tXB-lock
(EE)
(EE)
Please consult the The X.org Foundation ...
(EE)
xinti: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
------------------------------------------
xinit failed. /user/bin/Xorg is not setuid, maybe that's the reason?
If so either use a display manager (strongly recommended) or adjust /etc/permissions.local and run "chkstat --system --set" afterward.

Which password? In a multi-user system like Unix/Linux there can be hundreds of users each having tier own password.

Correct. I am the primary user. It is my user login password (not root) that was changed.

thanks

are there any other files that would be useful ?

In that case, a user having changed his password can have no influence upon the system not showing the Display Manager’s graphical login screen.

I do not deny you have a problem, but that then is related to the update, not to the user changing password.

BTW, Unix/Linux does not have the concept of a “primary user”.

Thanks. the primary user, was just my way of saying I am the only user on this computer.

So how do we fix what the update messed up?

what info do you need?

I am not good at those graphical cases, but other sare and I assume they will join here.
In the meantime you could tell the make and type of your graphics card.

What GPU do you have? inxi -Gxx

On openSUSE, startx only seems to work for the root user any more. Does it for you?

Do this

cat /var/log/Xorg.0.log | susepaste

and provide resulting URL here please.

Does X work if you boot a prior kernel from Grub’s advanced options?

Do you see any failure clues in dmesg or journalctl -b?

Nvidia GeForce GT 610
and a
Nvidia GeForce GT 710

Pasted as:
SUSE Paste
SUSE Paste

Also, I was able to log in via kernel 5.3.18-150300.59.43.1 default
The one that will not boot is kernel 5.3.18-150300.59.49.1 default

Is there a means to back out of the update?
I do have snapshots installed, but have not used that feature.

Before trying to deal with snapshots, try removing the package xf86-video-nouveau, then reboot with the 59.49 kernel to see if it works any better using the modesetting DIX display driver instead of the noveau DDX display driver.

You don’t necessarily need to go back to a snapshot if the only problem is the 59.49 kernel. It can simply be removed with rpm, zypper or YaST while not booted using it.

You could be having a problem as I reported here, where there’s a possible workaround.

The log shows three displays connected to one card, none connected to the other. Please while booted to 59.43, capture from within X ouput from inxi -Gayz and paste here, after first running inxi -U (to upgrade from Leap’s broken inxi version).

@idee:

For quite a few years now « well beforesystemd” … », a “normal” user is not allowed to start X11.

  • Yes, yes, many many years ago, “normal
    ” users were allowed to start X11 sessions but, that is, for quite a few years now, longer the case … - Currently, X11 and, Wayland, may only be started by means of a systemd service and, they have to be started by means of a Display Manager service.

Of all the distros I’m familiar with, only openSUSE that I’m aware of doesn’t at least offer an option for non-root users to be able to use startx. e.g., Debian and its many derivatives provide a package xserver-xorg-legacy that enables it. AFAIK, multiseat configuration demands it, but I’ve not tested this in quite some time.

Are you sure you understand what Wayland is? Explain what exact component of “Wayland” is started by systemd service?

The systemd service is the “Display Manager” service and, you choose to use either X11 or, Wayland …

  • It’s only a setuid root Xorg server wrapper – of course this will allow a non-root user to execute “startx”

Rings a bell – <https://wiki.archlinux.org/title/Xorg_multiseat&gt; –

  • Memories of KDM setup –
    KDM supports multi-seat configurations.
    SDDM does not support multi-seat configurations …
    “startx” is needed only by administrators to test the individual seats …

Here is the:

inxi -GayzGraphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: eVga.com. driver: nouveau
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 8 ports:
    active: DVI-D-1,DVI-I-1,HDMI-A-1 empty: none bus-ID: 01:00.0
    chip-ID: 10de:128b class-ID: 0300
  Device-2: NVIDIA GF119 [GeForce GT 610] vendor: eVga.com. driver: nouveau
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: lanes: 16 ports:
    active: none off: DVI-I-2 empty: HDMI-A-2,VGA-1 bus-ID: 20:00.0
    chip-ID: 10de:104a class-ID: 0300
  Display: x11 server: X.org v: 1.20.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa alternate: nouveau,nv,nvidia gpu: nouveau
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1024 s-size: <missing: xdpyinfo>
  Monitor-1: DVI-D-1 pos: center model: Samsung SyncMaster serial: <filter>
    built: 2006 res: 1280x1024 hz: 60 dpi: 86 gamma: 1.2
    size: 376x301mm (14.8x11.9") diag: 482mm (19") ratio: 5:4 modes:
    max: 1280x1024 min: 720x400
  Monitor-2: DVI-I-1 pos: primary,left model: Samsung SyncMaster
    serial: <filter> built: 2006 res: 1280x1024 hz: 60 dpi: 86 gamma: 1.2
    size: 376x301mm (14.8x11.9") diag: 482mm (19") ratio: 5:4 modes:
    max: 1280x1024 min: 720x400
  Monitor-3: HDMI-1 mapped: HDMI-A-1 pos: right model: Samsung SyncMaster
    serial: <filter> built: 2006 res: 1280x1024 hz: 60 dpi: 86 gamma: 1.2
    size: 376x301mm (14.8x11.9") diag: 482mm (19") ratio: 5:4 modes:
    max: 1280x1024 min: 720x400
  OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.2.4
    compat-v: 3.1 direct render: Yes

A couple of issues came up in removing the noveau drivers when booted into 59.49
1 - it was able to boot, so that was good.
2 - I have 3 monitors, and an hdmi to a tv. The two video cards are each providing signals to 2 of the 4.
After noveau was removed, the tv signal via hdmi is no longer active
using LXQT Monitor tool (rxandr) it only shows the 3 monitors
3 - various apps no longer work. ie, browsers. So to reply here I had to boot back into 59.43
note that this was before running inxi, don’t know if that will make a difference.

I will reboot again now and see if any of those items are back after running inxi -U

thanks in advance.

Back into 59.49.
The browsers are working again.

Don’t know if you need it or not, but ran unxi Gayz in 59/49 also, here are the results:

inxi -GayzGraphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: eVga.com. driver: nouveau
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 8 ports:
    active: DVI-D-1,DVI-I-1,HDMI-A-1 empty: none bus-ID: 01:00.0
    chip-ID: 10de:128b class-ID: 0300
  Device-2: NVIDIA GF119 [GeForce GT 610] vendor: eVga.com. driver: nouveau
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: lanes: 16 ports:
    active: none off: DVI-I-2 empty: HDMI-A-2,VGA-1 bus-ID: 20:00.0
    chip-ID: 10de:104a class-ID: 0300
  Display: x11 server: X.org v: 1.20.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa alternate: nouveau,nv,nvidia gpu: nouveau
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1024 s-size: <missing: xdpyinfo>
  Monitor-1: DVI-D-1 pos: center model: Samsung SyncMaster serial: <filter>
    built: 2006 res: 1280x1024 hz: 60 dpi: 86 gamma: 1.2
    size: 376x301mm (14.8x11.9") diag: 482mm (19") ratio: 5:4 modes:
    max: 1280x1024 min: 720x400
  Monitor-2: DVI-I-1 pos: primary,left model: Samsung SyncMaster
    serial: <filter> built: 2006 res: 1280x1024 hz: 60 dpi: 86 gamma: 1.2
    size: 376x301mm (14.8x11.9") diag: 482mm (19") ratio: 5:4 modes:
    max: 1280x1024 min: 720x400
  Monitor-3: HDMI-1 mapped: HDMI-A-1 pos: right model: Samsung SyncMaster
    serial: <filter> built: 2006 res: 1280x1024 hz: 60 dpi: 86 gamma: 1.2
    size: 376x301mm (14.8x11.9") diag: 482mm (19") ratio: 5:4 modes:
    max: 1280x1024 min: 720x400
  OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.2.4
    compat-v: 3.1 direct render: Yes

Still no video signal to the tv.
Only the 3 monitors are live

Presumably the TV is connected to the “empty” HDMI-A-2 port. What do ls -1 /sys/class/drm and xrandr --listproviders report?

Try --auto as suggested here for the various possible names of the HDMI port the TV is connected to, e.g. xrandr --output HDMI-1 --auto.

On TVs with multiple HDMI ports, sometimes one is special, intended to support the special foibles of a PC instead of dedicated video devices. If you have that option, use it.

Also, install xdpyinfo.

Here, all 4 outputs are working automagically:

# ls -1 /sys/class/drm
card0
card0-DVI-I-1
card0-HDMI-A-1
card0-VGA-1
card1
card1-DVI-I-2
card1-DVI-I-3
renderD128
renderD129
ttm
version
# xrandr --listproviders
Providers: number : 2
Provider 0: id: 0xf4; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 2; outputs: 3; associated providers: 1; name: modesetting
    output DVI-I-1
    output HDMI-1
    output VGA-1
Provider 1: id: 0x43; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 2; outputs: 2; associated providers: 1; name: modesetting
    output DVI-I-1-2
    output DVI-I-1-3
# inxi -SGayz
System:
  **Kernel: 5.3.18-150300.59.49**-default x86_64 bits: 64 compiler: gcc v: 7.5.0
    parameters: root=LABEL=<filter> ipv6.disable=1 net.ifnames=0 noresume
    mitigations=auto consoleblank=0
  Desktop: Trinity R14.0.11 tk: Qt 3.5.0 info: kicker wm: Twin 3.0 vt: 7
    dm: TDM Distro: openSUSE **Leap 15.3**
Graphics:
  **Device-1**: NVIDIA GF108 [GeForce [b]GT 630] vendor: Gigabyte **driver: nouveau**
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports:
    **active: DVI-I-1,HDMI-A-1** empty: VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0f00
    class-ID: 0300
  **Device-2**: NVIDIA G84 [GeForce [b]8600 GT] vendor: XFX Pine **driver: nouveau**
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: lanes: 16 ports:
    **active: DVI-I-2,DVI-I-3** empty: none bus-ID: 05:00.0 chip-ID: 10de:0402
    class-ID: 0300
  **Display**: x11 server: **X.Org** v: 1.20.3 **driver: X: loaded: modesetting**
    unloaded: fbdev,vesa alternate: nouveau,nv,nvidia gpu: nouveau
    display-ID: :0 screens: 1
  **Screen**-1: 0 s-res: **8000x1440** s-dpi: 120 s-size: 1693x304mm (66.7x12.0")
    s-diag: 1720mm (67.7")
  **Monitor-1: DVI**-I-1 pos: primary,left model: NEC EA243WM serial: <filter>
    built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.4x12.8") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  **Monitor-2: DVI**-I-1-2 mapped: DVI-I-2 pos: center-r model: Dell P2012H
    serial: <filter> built: 2012 res: 1600x900 hz: 60 dpi: 92 gamma: 1.2
    size: 443x249mm (17.4x9.8") diag: 508mm (20") ratio: 16:9 modes:
    max: 1600x900 min: 720x400
  **Monitor-3: DVI**-I-1-3 mapped: DVI-I-3 pos: right model: Acer K272HUL
    serial: <filter> built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.5x13.2") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  **Monitor-4: HDMI**-1 mapped: HDMI-A-1 pos: center-l model: VO32LFHDTV10A
    serial: <filter> built: 2008 res: 1920x1080 hz: 60 dpi: 70 gamma: 1.2
    size: 700x390mm (27.6x15.4") diag: 801mm (31.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: NVC1 v: 4.3 Mesa 20.2.4 direct render: Yes
# inxi -I
Info:...Shell: Bash inxi: 3.3.13
ls -1 /sys/class/drmcard0
card0-DVI-D-1
card0-DVI-I-1
card0-HDMI-A-1
card1
card1-DVI-I-2
card1-HDMI-A-2
card1-VGA-1
renderD128
renderD129
ttm
version
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0xeb; cap: 0x2 (Sink Output); crtcs: 4; outputs: 3; associated providers: 0; name: modesetting
    output DVI-I-1
    output DVI-D-1
    output HDMI-1
Provider 1: id: 0x44; cap: 0x2 (Sink Output); crtcs: 2; outputs: 3; associated providers: 0; name: modesetting
    output 0x41
    output 0x42
    output 0x43

I didn’t see anything happen with the xrandr --output HDMI-1 --auto

I rebooted.
When I came back into 59.49 most of the apps would not load. Yast & browsers.
I rebooted again in 59.43 and the apps are working.
In installed xdpyinfo as requested.

Below is an older saved xrandr settings I found. This is what was working prior to the latest update. But it will not apply them.

DVI-I-1: Mode: 1280x1024
 Rate: 60.0197 Hz
 Rotation: None
 Position: 0x0
 Primary: True
 Enabled: True
DVI-D-1:
 Mode: 1280x1024
 Rate: 60.0197 Hz
 Rotation: None
 Position: 1280x0
 Primary: False
 Enabled: True
HDMI-1:
 Mode: 1280x1024
 Rate: 60.0197 Hz
 Rotation: None
 Position: 2560x0
 Primary: False
 Enabled: True
DVI-I-1-2:
 Mode: 1920x1080
 Rate: 60 Hz
 Rotation: None
 Position: 3840x0
 Primary: False
 Enabled: True
[/CODE]