I just finished building on Fedora 25. All works great, thanks to the awesome developers making this happen.
As noted in my subject, I was wondering if anyone has had success building a systemd service startup file for dtlogin. I have read through the init script on the wiki as well as some SysV-to-systemd tutorials, but, even after cutting things down the the bare minimum, I seem to be missing something.
Thanks to all responses.
-- Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
created he file: /etc/systemd/system/dtlogin.service; it contains the following:
[Unit]
Description=dtlogin
[Service]
ExecStart=/usr/dt/bin/login
[Install]
Alias=display-manager.service
ran systemctl enable dtlogin.service
reboot
see dtlogin upon reboot and am able to login to CDE
Observations: I noticed in the init script wiki page that dtlogin should be started with the -daemon option. I am not sure yet how to add that in this service file, but I would welcome insight.
I also noticed that there is a slight delay in startup, where, initially, it looks like the startup will fail and boot only to runlevel 3 (in SysV terms) with no graphical boot. But, after some moments, dtlogin does display as expected. Again, if anyone has more experience with systemd and can enhance the above, please enlighten me.
Looking forward to responses.
-- Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did this because upon reboot and login, CDE would start then kick me out back to dtlogin. adding the Requires and After lines ppears to have fixed the issue.
-- Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I just finished building on Fedora 25. All works great, thanks to the awesome developers making this happen.
As noted in my subject, I was wondering if anyone has had success building a systemd service startup file for dtlogin. I have read through the init script on the wiki as well as some SysV-to-systemd tutorials, but, even after cutting things down the the bare minimum, I seem to be missing something.
Thanks to all responses.
-- Michael
I have an update:
[Unit]
Description=dtlogin
[Service]
ExecStart=/usr/dt/bin/login
[Install]
Alias=display-manager.service
Observations: I noticed in the init script wiki page that dtlogin should be started with the -daemon option. I am not sure yet how to add that in this service file, but I would welcome insight.
I also noticed that there is a slight delay in startup, where, initially, it looks like the startup will fail and boot only to runlevel 3 (in SysV terms) with no graphical boot. But, after some moments, dtlogin does display as expected. Again, if anyone has more experience with systemd and can enhance the above, please enlighten me.
Looking forward to responses.
-- Michael
I made an edit to the dtlogin.service file:
[Unit]
Description=dtlogin
Requires=rpcbind.service
After=rpcbind.service
[Service]
ExecStart=/usr/dt/bin/dtlogin
[Install]
Alias=display-manager.service
I did this because upon reboot and login, CDE would start then kick me out back to dtlogin. adding the Requires and After lines ppears to have fixed the issue.
-- Michael