By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 3162 - [TDM][openSUSE TW] TDM broken: /etc/trinity/tdm/Xsession: line 46: /etc/X11/xdm/Xsession: No such file or directory
Summary: [TDM][openSUSE TW] TDM broken: /etc/trinity/tdm/Xsession: line 46: /etc/X11/x...
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: R14.0.x [Trinity]
Hardware: amd64 Linux
: P5 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: R14.0.9
  Show dependency treegraph
 
Reported: 2020-10-16 20:46 CDT by Felix Miata
Modified: 2021-04-27 23:06 CDT (History)
4 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Miata 2020-10-16 20:46:46 CDT
Initial summary:
TDM broken: [TDM][openSUSE TW] /etc/trinity/tdm/Xsession: line 46: /etc/X11/xdm/Xsession: No such file or directory

Not so recently TW started moving most content from /etc/X11/ to /usr/etc/X11/. Now exists
/usr/etc/X11/xdm/Xsession, not /etc/X11/xdm/Xsession. A symlink created between expected file and existing file works around failure. TDE session works normally started by startx from vtty login.

openSUSE Tumbleweed 20201014

TDM fails to start any kind of X session, e.g. TDE, IceWM or Awesome. I suspect this might have some relationship:

[quote]/usr/bin/Xorg is now a shell script running
/usr/bin/Xorg.wrap if present or /usr/bin/Xorg.bin otherwise.
previously,  /usr/bin/Xorg was /usr/bin/Xorg.bin.[/quote]
https://lists.opensuse.org/opensuse-factory/2020-10/msg00058.html

# ls -l /usr/bin/X /usr/bin/Xorg* /usr/bin/X11
lrwxrwxrwx 1 root root       4 Oct  7 08:26 /usr/bin/X -> Xorg
lrwxrwxrwx 1 root root       1 Aug 25 07:56 /usr/bin/X11 -> .
-rwxr-xr-x 1 root root     273 Oct  7 08:26 /usr/bin/Xorg
-rwxr-xr-x 1 root root 2418816 Oct  7 08:27 /usr/bin/Xorg.bin
[code]# cat /usr/bin/Xorg
#!/bin/sh
#
# Execute Xorg.wrap if it exists otherwise execute Xorg directly.
# This allows distros to put the suid wrapper in a separate package.

basedir=/usr/bin
if [ -x "$basedir"/Xorg.wrap ]; then
        exec "$basedir"/Xorg.wrap "$@"
else
        exec "$basedir"/Xorg.bin "$@"
fi[/code]
Comment 1 Slávek Banko 2020-10-17 18:43:09 CDT
This seems to be a distribution-specific thing - see patching specifically for suse in tde-packaging:

https://mirror.git.trinitydesktop.org/gitea/TDE/tde-packaging/src/branch/master/redhat/main/tdebase/tdebase.spec#L3272

Therefore, I believe that the problem will be solved again specifically for the distribution and it does not block the release of R14.0.9.

François, please, can you confirm that?
Comment 2 Felix Miata 2020-10-17 20:10:25 CDT
KDM3 has the same problem, with fix impending:
http://bugzilla.opensuse.org/show_bug.cgi?id=1177824

In openSUSE the change is a part of an overall change moving distro (& upstream?) configs out of /etc/ into /usr/etc/, so that only sysadmin configs remain in /etc/. As time permits I will be investigating whether Fedora and/or Mageia will be or are making a similar change.
Comment 3 Felix Miata 2020-10-17 23:59:48 CDT
Fixed KDM3 is already on the mirrors.
https://build.opensuse.org/request/show/842334 shows patchset.
8-)
Comment 4 Francois Andriot 2020-10-18 14:39:09 CDT
Hello, yes, I will add a distro specific patch directly in the spec file.
There is no need to patch source code.
Comment 5 Michele Calgaro 2020-11-05 08:05:20 CST
What is the status of this bug? Is the patch ready?
Comment 6 Francois Andriot 2020-11-05 09:03:38 CST
(In reply to Michele Calgaro from comment #5)
> What is the status of this bug? Is the patch ready?

Hello, I'm currently building packages for opensuse TW. I will release them, including patch, when TDM works as expected.
Comment 7 Michele Calgaro 2020-11-06 00:06:58 CST
Great, thanks for the feedback Francois. I will leave it to you to close this bug once you are done with your patches :-)
And thanks for all the work you do on RPM packaging.
Comment 8 Michele Calgaro 2021-04-25 19:44:34 CDT
Hi Francois,
just checking if it is ok to close this bug now.
Comment 9 Felix Miata 2021-04-27 22:35:58 CDT
I have 2 of 2 TDM on TW installations no longer requiring a workaround. TDM not broken now! :)
Comment 10 Michele Calgaro 2021-04-27 23:06:40 CDT
Great, thanks for the feedback Felix.