Felix Miata composed on 2025-01-23 17:45 (UTC-0500):
# cat .xsess*
/etc/trinity/tdm/Xsession: line 46: /etc/X11/xdm/Xsession: No such file or directory
#
I upgraded as I had in the past from 15.5 to 15.6 long before 15.6 release. Most
of past times this worked fine, but apparently now something has changed in
openSUSE Leap X setup. I remember reading not terribly long ago in openSUSE
Factory mailing list that xdm was to be discontinued as a means to start every
primary DM, including TDM. Maybe that's the reason here? /etc/X11/xdm/ is now down
from 20 files and 2 directories to 2 files:
Xservers
xdm-config
# cat Xservers
# Xservers - local X-server list
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line).
# If you also have some X terminals connected which do not support XDMCP,
# you can add them here as well; you will want to leave those terminals
# on and connected to the network, else kdm will have a tougher time
# managing them. Each X terminal line should look like:
# XTerminalName:0 foreign
#
# use such a line to enable the console login option
in the kdm menu
#:0 local@tty1 /usr/bin/X vt7
# "reserve" means that the X server gets only started on request (only kdm)
# -keeptty implies that controlling tty is not detached (breaks startx!)
:0 local /usr/bin/X -nolisten tcp -br vt7 -keeptty
ga88x:~/X11/xdm # cat xdm-config
!
! xdm-config: Configuration of the xdm
!
DisplayManager.errorLogFile: /var/log/xdm.errors
DisplayManager.pidFile: /run/xdm.pid
DisplayManager.authDir: /var/lib/xdm
DisplayManager.keyFile: /usr/etc/X11/xdm/xdm-keys
DisplayManager.servers: /etc/X11/xdm/Xservers
DisplayManager.accessFile: /usr/etc/X11/xdm/Xaccess
DisplayManager.willing: su nobody -c /usr/etc/X11/xdm/Xwilling
!
! ATTENTION: `authName' should be in general MIT-MAGIC-COOKIE-1
! For XDM-AUTHENTICATION-1 which is default for xterminals see
! manual page of xdm and the manual coming with the xterminal.
!
DisplayManager.*.authName: MIT-MAGIC-COOKIE-1
DisplayManager.*.authComplain: false
!
! All displays should use authorization, but we cannot be sure
! X terminals will be configured that way, so by default
! use authorization only for local displays :0, :1, etc.
!
DisplayManager._0.authorize: true
DisplayManager._1.authorize: true
DisplayManager._93.authorize: true
!
! The scripts handling the setup, the startup, the session its self,
! and the reset of an X session.
!
DisplayManager.*.setup: /usr/etc/X11/xdm/Xsetup
DisplayManager.*.chooser: /usr/etc/X11/xdm/RunChooser
DisplayManager.*.startup: /usr/etc/X11/xdm/Xstartup
DisplayManager.*.session: /usr/etc/X11/xdm/Xsession
DisplayManager.*.reset: /usr/etc/X11/xdm/Xreset
!
DisplayManager._0.terminateServer: true
DisplayManager._93.terminateServer: true
!
DisplayManager*resources: /usr/etc/X11/xdm/Xresources
DisplayManager.*.terminateServer: false
!
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
!
DisplayManager.requestPort: 0
#
Copying Xsession from 15.6 doesn't help.
# startx /opt/trinity/bin/starttde
does produce an expected success mostly, but the
xrandr script I keep in
/etc/X11/xinit/xinitrc.d/ to run on startup is ignored, so all is mousetype, and
relative screen positions don't get set where they belong. I'll try on another
PC
with KDE3 on 16.0pre and TW to see how they work as time permits....
I collected differences among /etc/X11 trees. In that regard, 16.0 is like TW now,
far fewer files in the /etc/X11 tree:
## TDM on openSUSE 15.6 on host ga88x
# tree /etc/X11
/etc/X11
├── default-display-manager
├── DisplaySize -> ../../../../home/DisplaySize
├── setup -> ../../home/setup
├── xdm
│ ├── authdir -> /var/lib/xdm/authdir
│ ├── GiveDevices
│ ├── Keyboard.map
│ ├── keytable
│ ├── README.security
│ ├── README.SUSE
│ ├── RunChooser
│ ├── scripts
│ │ ├── 09-ssh-vars
│ │ ├── 10-gpg-agent
│ │ ├── 11-ssh-agent
│ │ ├── 20-dbus
│ │ ├── 30-console-kit
│ │ └── session-scriptlets.HOWTO
│ ├── SuSEconfig.xdm -> SUSEconfig.xdm
│ ├── SUSEconfig.xdm
│ ├── sys.xsession
│ ├── TakeDevices
│ ├── Xaccess
│ ├── xdm-config
│ ├── Xreset
│ ├── Xresources
│ ├── Xservers
│ ├── Xservers.fs
│ ├── Xsession
│ ├── Xsetup
│ ├── Xstartup
│ └── Xwilling
├── xinit
│ ├── xinitrc
│ ├── xinitrc.common
│ ├── xinitrc.d
│ │ ├── 50-kaveri-dix2v
│ │ ├── 50-systemd-user.sh
│ │ └── setup -> ../../../../home/setup
│ └── xserverrc
├── Xmodmap
├── Xmodmap.remote
├── xorg.conf.d
│ ├── 00-keyboard.conf
│ ├── 10-amdgpu.con
│ ├── 15-ddxdrv.conf
│ ├── 50-device.con
│ └── 60-flags.conf
├── xorg.conf.install
└── Xresources
7 directories, 44 files
## KDM3 on openSUSE 16.0pre on host msi85
# tree /etc/X11
/etc/X11
├── DisplaySize -> ../../../../home/DisplaySize
├── kstylerc
├── qt_plugins_3.3rc
├── qtrc
├── xdm
│ ├── xdm-config
│ └── Xservers
├── xinit
│ ├── xinitrc.common -> ../../../usr/etc/X11/xinit/xinitrc.common
│ └── xinitrc.d
│ ├── psetup
│ └── setup -> ../../../../home/setup
├── xorg.conf.d
│ ├── 00-keyboard.conf
│ └── 60-flags.conf
├── xorg.conf.install
└── Xresources.rpmsave
5 directories, 13 files
## TDM on openSUSE 16.0pre on host ga88x
# tree /etc/X11
/etc/X11
├── default-display-manager
├── DisplaySize -> ../../../../home/DisplaySize
├── setup -> ../../home/setup
├── xdm
│ ├── xdm-config
│ ├── Xservers
│ └── Xsession
├── xinit
│ ├── xinitrc.common -> ../../../usr/etc/X11/xinit/xinitrc.common
│ └── xinitrc.d
│ ├── 50-kaveri-dix2v
│ └── setup -> ../../../../home/setup
├── xorg.conf.d
│ ├── 00-keyboard.conf
│ ├── 10-amdgpu.con
│ ├── 15-ddxdrv.conf
│ ├── 50-device.con
│ └── 60-flags.conf
└── xorg.conf.install
5 directories, 15 files
## TDM on Tumbleweed on host ga88x
# tree /etc/X11
/disks/stw/etc/X11
├── DisplaySize -> ../../home/DisplaySize
├── setup -> ../../home/setup
├── xdm
│ ├── xdm-config
│ └── Xservers
├── xinit
│ ├── xinitrc.common -> ../../../usr/etc/X11/xinit/xinitrc.common
│ └── xinitrc.d
│ ├── 50-kaveri-dix2h
│ └── xdg-user-dirs.sh
├── xorg.conf.d
│ ├── 00-keyboard.conf
│ ├── 15-ddxdrv.con
│ ├── 15-ddxdrv.conf
│ └── 50-monitor0dpms.conf
├── xorg.conf.install
└── Xresources
5 directories, 13 files
As there are no "official" builds[1] for openSUSE pre-releases, should I give
a
try to changing 16.0 to use TW's TDE repos instead of those for 15.6?
Note: most (all?) files in /etc/X11/xinit/xinitrc.d/ are how I apply xrandr
commands for display position, DPI, etc. on X session startup.
[1] & neither in
https://cdn.opensuse.org/repositories/home:/PunisherHD:/Trinity:/
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata