Setting up Common Desktop Environment for modern use

Weird. I tried this on another machine and running dtlogin like this is preventing other daemons from starting.
I've got this issue on my machine. It's like as soon as it runs dtlogin it stops executing the startup scripts - even sshd wasn't running. I tried it with an & after it but then it says "The X-server can not be started on display :0..." when it finishes booting.

Does anyone have any idea how to fix this?
 
Okay, so removing "/usr/local/dt/bin/dtlogin" from /etc/rc.local and adding "dtlogin_enable="YES" to /etc/rc.conf fixed the issue.

I've realised that this guide is missing a few steps that probably weren't necessary when it was written. If you want to try this out then make sure you also follow the steps in the pkg-message.
 
Okay, so removing "/usr/local/dt/bin/dtlogin" from /etc/rc.local and adding "dtlogin_enable="YES" to /etc/rc.conf fixed the issue.
Running dtlogin (or startx) from /etc/rc.local causes a race condition between what starts first; the X11 session or tty login. If the tty login starts *after*, it steals input so keyboard doesn't work, and it is fairly difficult to even exit X11.

Not quite what you seemed to experience but another reason why /etc/rc.local should be avoided for autostarting X.
 
Back
Top