Dr. Nikolaus Klepp via tde-devels composed on 2023-09-21 18:48 (UTC+0200):
2023 Thu, 21 Sep 08:53:40 -0400 Felix Miata via tde-devels scripsit:
Dr. Nikolaus Klepp via tde-devels composed on 2023-09-21 13:56 (UTC+0200):
2023 Thu, 21 Sep 06:04:10 -0400 Felix Miata scripsit:
Adding a line 7
fi
or appending
; fi
to line 6 doesn't help. Neither does restoring the original Xsetup from early 2022.
Can you post the file without diff?
Her on devuan it says (cat /etc/trinity/tdm/Xsetup):
#! /bin/sh # Xsetup - run as root before the login dialog appears
#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole &
# cat /etc/trinity/tdm/Xsetup #!/usr/bin/sh # Xsetup - run as root before the login dialog appears
#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole &
-if [ -x /home/setup ] ; then /home/setup #
It's the same file as on all my 100+ TDE installations.
Actually it's not. It's so far found only in Fedora installations.
... so it does nothing. Where does your /home/setup come from?
https://web.archive.org/web/20171021160528/http://fm.no-ip.com/Share/setup with an appropriate # removed. IOW, just an xrandr command, mainly for multi-display setup.
Might be a stupid question, but which shell is "/usr/bin/sh" ? As you have already mentioned the "if"-line looks fishy to me, it should have a closing "fi", e.g.:
Without the last line I added, it ships in the rpm: http://tde-mirror.yosemite.net/trinity/rpm/f38/trinity-r14/RPMS/x86_64/trinity-tdm-14.1.0-1.fc38.x86_64.rpm Could whatever processes the file have become stricter or more sensitive?
if [ -x /home/setup ]; then /home/setup; fi
or it shoud be something like:
[ -x /home/setup ] && /home/setup
The problem remains with the following Xsetup content (matches that from Debian 13):
# cat Xsetup #! /bin/sh # Xsetup - run as root before the login dialog appears
#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole & EOF
and with:
# cat Xsetup #! /bin/sh # Xsetup - run as root before the login dialog appears
#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole &
[ -x /home/setup ] && /home/setup EOF
Given I'm using the F38 TDE version in the F39 prerelease, it's reasonable that this is somehow a fault in the alpha/beta product, not TDE I suppose. The problem isn't present in the F38 installation from which this was upgraded to F39.
All that said, the original subject problem exists in F38, which otherwise works as expected. Its 74303 byte .xsession-errors from simply logging in is attached. This is after replacing its Xsetup file with one that is exactly the same as in Trixie. The prior login's file with apparently errant Xsetup was 74044 bytes.
# grep FIXME .xsession-errors | wc -l 324 #