Page 1 of 1

how to automatically start x-server

PostPosted: Mar 24th, '18, 08:54
by benmc
I have completed a net install of cauldron.
I have a nvidia card that uses the 340 driver.
at reboot the x-server does not start automatically.
if I tty, login as my normal user, then
Code: Select all
startx startlxde
the Nvidia logo appears briefly, then the LXDE desktop is presented.
if i reboot, I need to do this again.

dkms minimal and dkms-nvidia340 was not installed, I have since installed them, and the nvidia module built and apparently installed, but otherwise but no change

how can I make it automatic?

TIA

Re: how to automatically start x-server

PostPosted: Mar 24th, '18, 17:12
by doktor5000
What display manager did you select, and is that enabled? Maybe just run drakedm and select a display manager?

Not sure about cauldron, but you could try

Code: Select all
systemctl status prefdm
systemctl is-enabled prefdm
systemctl status displaymanager
systemctl is-enabled displaymanager

Re: how to automatically start x-server

PostPosted: Mar 25th, '18, 02:53
by benmc
doktor5000 wrote:What display manager did you select, and is that enabled? Maybe just run drakedm and select a display manager?


tried lightdm, lxdm and sddm. no luck there, but ok if I just logout and back in.

changed graphics driver from nvidia to vesa but no obvious change there either.

your other suggestion results:

Code: Select all
$ systemctl status prefdm
Unit prefdm.service could not be found.

[root@localhost ~]# systemctl status prefdm
Unit prefdm.service could not be found.
[root@localhost ~]# systemctl is-enabled prefdm
Failed to get unit file state for prefdm.service: No such file or directory
[root@localhost ~]# systemctl status displaymanager
Unit displaymanager.service could not be found.
[root@localhost ~]# systemctl is-enabled displaymanager
Failed to get unit file state for displaymanager.service: No such file or directory


thanks for your input.

Re: how to automatically start x-server

PostPosted: Mar 25th, '18, 15:11
by doktor5000
Sorry, don't really currently have a cauldron installation to test, but seems like the issue is about the mechanism which starts the display manager, maybe this is currently being worked on - you may want to try the mailing lists ...

Re: how to automatically start x-server

PostPosted: Mar 25th, '18, 15:55
by ITA84
In my current Cauldron installation there's display-manager.service which is a symlink to /usr/lib/systemd/system/sddm.service, so I guess it's already transitioned from prefdm. No idea which package it's from though

Re: how to automatically start x-server

PostPosted: Mar 25th, '18, 21:25
by benmc
thanks Doktor5000, I will see if I can get it to start by extrapolating from your earlier suggestions.
mailing list is always available too. ;)

ITA84: I have over the last few months been creating cauldron systems.
first were unsuccessful upgrades of Mga6 in VM.
when they became regularly successful, I "upgraded" my tests to bare metal upgrades.
When they became successful regularly, I have moved on to net-installs from scratch on bare metal.
earlier trials would only intermittently identify keyboard or mouse, so would halt at language selection page.
later ones would have 'script errors' or file conflicts, and so would not complete installation.
these latest ones are the ones I am having problems with, so things are progressing quite well, as the installation at least completes.
they do not have a prefdm file at all, (and quite some others when compared with a fresh M6 install) but can be started with "startx start_desktop_choice_of_installed_desktops", so are at least partly usable.

If I copy the prefdm (and some others) from a working "upgrade" cauldron, still no dm greeter, but an improvement at least (a moving mouse "block") where one would expect the dm greeter.

more trials to continue

Re: how to automatically start x-server

PostPosted: Mar 26th, '18, 20:51
by benmc