On Friday 23 May 2014 19:40:36 you wrote:
Am 24.05.2014 02:21, schrieb Greg Madden:
> On Friday 23 May 2014 15:05:11 you wrote:
>> hi all,
>>
>> Like the subject said i've got problems with tdm. Its just the
>> other branch of the bug Nr 2057. I recently switched from 3.5.13.2
>> on precise to the nightly builds (R14.0.0 i guess).
>>
>> And ended up with both kdm-trinity and tdm-trinity. On the way to
>> switch i was getting asked whitch DisplayManager and i choose
>> tdm-trinity. i reboot and ended in the non-X Prompt on tty1.
>> The confusing part is that the command (after login) initctl list
>> shows the service
>> 'tdm-trinity start/running, process 2838'.
>> So i have to 'initctl restart tdm-trinity' to get the
>> X-Login(graphically)
>>
>> I just looked around a bit in /etc/init/tdm-trinity.conf and it
>> seems alright.
>>
>> So I'm in a state of confusion. What am i doing wrong
>>
>> Greetings Werner Bast
>
> How did you 'switch' to R14 ? There is a thread on the TDE users
list:
:Most
simple way to upgrade Trinity" discussing how to upgrade
: TDE.
Since the upgrade path has not been , at least, documented yet,
feedback is welcome on what you did, sources.list, commands or ?.
To fix a possible broken install I would make sure I did not have
any packages with 'KDE' in the name since R14 has renamed
everthing? to TDE Purge leftover KDE-* packages
I just changed the lines in sources.list.
and updated. After that i had to manually start tdm. Then i kicked
kdm-trinity*. And nothing changed (the description says its only a
transitional package). I had to manually start tdm anyway.
What i also want is not only the solution, but to know where the
problem is.
Yours Werner
Is there a 'tdm-trinity' script in '/etc/init.d' ?
There is a link in /etc/init.d:
lrwxrwxrwx 1 root root 21 Mai 21 08:17 /etc/init.d/tdm-trinity ->
/lib/init/upstart-job
ubuntu uses upstart and the tdm-trinity.conf in /etc/init
looks ok.
cat /etc/init/tdm-trinity.conf:
<code>
# tdm-trinity - TDE Display Manager
#
# The display manager service manages the X servers running on the
# system, providing login and auto-login services
description "TDE Display Manager"
author "Richard Johnson and Timothy Pearson"
start on ((filesystem
and runlevel [!06]
and started dbus
and stopped udevtrigger
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics))
or runlevel PREVLEVEL=S)
stop on runlevel [016]
emits login-session-start
emits desktop-session-start
emits desktop-shutdown
script
if [ -n "$UPSTART_EVENTS" ]
then
[ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11
/default-display-manager 2>/dev/null)" = "/opt/trinity/bin/tdm" ] || {
stop; exit 0; }
# Since we have no plymouth integration to take over the VT we
simply
# quit plymouth all the time. Note that sleeping appears necessary
# as the VT freeing is somewhat delayed and TDM would otherwise go
# to configured KVT+1 (if plymouth was using it).
$(plymouth --quit && plymouth --wait && sleep 1) || :
if [ "$RUNLEVEL" = S -o "$RUNLEVEL" = 1 ]
then
# Single-user mode
exit 0
fi
fi
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
elif [ -r /etc/environment ]; then
. /etc/environment
export LANG LANGUAGE
fi
TDEDIRS=/opt/trinity/
PATH=/opt/trinity/bin:/bin:/usr/bin:/sbin:/usr/sbin
initctl emit starting-dm DM=tdm-trinity
exec /opt/trinity/bin/tdm
end script
post-stop script
if [ "$UPSTART_STOP_EVENTS" = runlevel ]; then
initctl emit desktop-shutdown
fi
end script
</code>
cat /etc/X11/default-display-manager:
<code>
/opt/trinity/bin/tdm
</code>