On Fri, Jan 26, 2018 at 1:41 PM, InvalidPath <invalid.p...@gmail.com> wrote:
> > > On Fri, Jan 26, 2018 at 8:24 AM, InvalidPath <invalid.p...@gmail.com> > wrote: > >> >> >> On Fri, Jan 26, 2018 at 12:24 AM, Ed Greshko <ed.gres...@greshko.com> >> wrote: >> >>> On 01/26/18 15:01, Joe Zeff wrote: >>> > On 01/25/2018 07:54 PM, InvalidPath wrote: >>> >> >>> >> >>> >> Ok so tonight I tried enabling, and I had to manually rm or mv the >>> existing >>> >> display-manager.service file because enabling another DE would not >>> overwrite it. I >>> >> tried both SDDM and LightDM... neither of which would boot correctly, >>> all got was >>> >> a black screen with no mouse. Alt+F# would not work either. So I'm >>> thinking she >>> >> locked up tight as a drum. >>> > >>> > First you disable the old DM, then enable the new one. >>> >>> systemctl -f enable sddm >>> >>> does what is needed. The "key" is the -f which means "force" >>> >>> -f, --force >>> When used with enable, overwrite any existing conflicting >>> symlinks. >>> >>> >>> FWIW, I had already given this command to the OP in a different thread. >>> >>> >>> -- >>> A motto of mine is: When in doubt, try it out >>> >>> >>> _______________________________________________ >>> users mailing list -- users@lists.fedoraproject.org >>> To unsubscribe send an email to users-le...@lists.fedoraproject.org >>> >>> >> @Ed I know /etc/systemd/system/display-manager.service is a symlink, I >> use zsh so I saw the light blue flashing text in my terminal ;) >> >> And neither works meaning, I tried replacing this symlink with one >> pointing to /usr/lib/systemd/system/sddm.service >> because the command you gave me would not overwrite the symlink.. and I >> even ran it as root but it still refused. No clue why really but honestly I >> didnt care enough to find out. So I manually created a new symlink to teh >> sddm file. Then later on I created one (overwriting the default) to the >> LightDM service file. All to no avail. >> >> And by boot correctly in last nights escapades I mean that this time... I >> did not even get a mouse cursor... just black. >> And I did remove the Gnome bits but this time I did it individually after >> 'sudo --exclude='qemu* libvirt*' remove gnome-<package-name>' which after >> many of these the GDM was removed, I ended up reinstalling GDM* which in >> turn reinstalled every BLASTED thing that I had just removed beforehand. >> So frustrating. >> >> I did check the contents of /var/lib/sddm/state.conf and it references >> gnome-desktop of all things! Why is it so bloody hard to change the >> Display Managers up in here?? >> >> @Joe So are you meaning that I should mask or delete the symlink to my >> current DM, maybe reboot then create one for teh other.. like SDDM or >> LightDM? >> > > > So tonight, I guess I should try again.. maybe remove and reinstall sddm > and I'd firstly think that installing a few other DM's would be a good idea > but then I'm left with so many other dependencies that I'd be in the same > boat as now. So am I correct in thinking that reinstalling sddm, I will > retry the enable command and see if the results are different this time.. > and if greeted with a black screen then journalctl should be my friend.. Oh > and also check that state.conf file to make sure it's not still pointing to > GDM... Is this a solid plan? > Update: I just discovered this: Enable the systemd service for your new display manager using systemctl enable displaymanager.service -f If this doesn’t work, Manjaro users can try disabling the previous display manager first: sudo systemctl stop gdm sudo systemctl disable gdm sudo systemctl enable lightdm.service sudo systemctl start lightdm while on Arch Linux you might have to remove the /etc/systemd/system/default.target file, and create a display-manager.service file in the /etc/systemd/system directory. This new file should be a symlink to your new display manager’s service file in /usr/lib/systemd/system/. The advice in this section applies to new versions of Fedora as well (from Fedora 14 onwards). You can also change your display manager on Fedora with a practical tool called system-switch-displaymanager <https://apps.fedoraproject.org/packages/system-switch-displaymanager>. So I reinstalled sddm, and that system-switch-displaymanager.. seems to have done the same things that you guys have mentioned just I guess in a different method. It returned: 14:24:23 bhart@Vostok /etc/systemd/system 11s $ system-switch-displaymanager sddm Created symlink /etc/systemd/system/display-manager.service → /usr/lib/systemd/system/sddm.service. Your default graphical display manager has successfully been switched. So I'll find out if my DM was actually switched here in a couple hours.
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org