These are the symptoms I’m struggling to find a solution for:
Booting with sysvinit: all OK
Booting with systemd: seems to “hang” after mounting the file systems, which is not the case, since, after about 40 secs I get the console’s login prompt. If I login and excute “rcxdm start” with root permissions, the X server starts and the graphical login screen shows up, I can login and all is normal until next boot. This is what I see in /var/log/messages
Nov 24 15:22:01 knurpht xdm[1006]: Starting service gdm
Nov 24 15:22:01 knurpht xdm[1006]: ** (gdm:1078): WARNING **: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Bestand of map bestaat niet
Nov 24 15:22:01 knurpht startproc: startproc: exit status of parent of /usr/sbin/gdm: 1
taking a look learns that the pid file exists, so I suspect systemd to have something wrong in the ordering of the services, or xdm should try again if it fails, but I wouldn’t know how to “set” this for systemd
This command then seems to place the file in /etc/systemd/system/graphical.target.wants where it is run on startup. Anyway, it might be worth a try if you are trying to get gnome to run at startup.
On 2011-11-24 16:06, Knurpht wrote:
>
> Hi all,
>
> These are the symptoms I’m struggling to find a solution for:
> Booting with sysvinit: all OK
> Booting with systemd: seems to “hang” after mounting the file systems,
> which is not the case, since, after about 40 secs I get the console’s
> login prompt.
I think this is because, contrary to systemV, systemd boots almost
silently, so it apparently stalls.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Hummm … I’m currently working on my first 12.1 setup (lol). It seems that setting initdefault to 3 wasn’t enough to enforce runlevel 3 (which doesn’t surprise me). I set up xdm as default displaymanager - as I always do - in my install script (by setting the value of DISPLAYMANAGER to xdm in /etc/sysconfig/displaymanager). After rebooting this system for the first time - although I’m far from being done yet - I saw a nice green customized xdm login screen from where I could log in in twm, icewm or others. Anyway, this was not exactly what I expected (I expected a console login), but as far as I can tell, xdm is still doing its job.