Hi all
It seems that Fedora 26 allowed me to have KDM and LightDM installed without gdm, gnome-shell, and mutter. I had a crash while attempting to login using LightDM:
# journalctl -e #2 0x00007feb273ed783 gtk_css_static_style_compute_value (libgtk-3.so.0) #3 0x00007feb273d900c _gtk_css_lookup_resolve (libgtk-3.so.0) #4 0x00007feb273ed6bc gtk_css_static_style_new_compute (libgtk-3.so.0) #5 0x00007feb273ed715 gtk_css_static_style_get_default (libgtk-3.so.0) #6 0x00007feb273d99a2 gtk_css_node_init (libgtk-3.so.0) #7 0x00007feb25bde390 g_type_create_instance (libgobject-2.0.so.0) #8 0x00007feb25bbf4b8 g_object_new_internal (libgobject-2.0.so.0)
Many neurons were lost trying to track the cause down, but then the fix was:
# yum install gdm
Last metadata expiration check: 0:51:01 ago on Tue May 30 03:01:28 2017 CDT.
Dependencies resolved.
============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Installing dependencies:
gdm x86_64 1:3.24.2-1.fc26 updates-testing 501 k
gnome-shell x86_64 3.24.2-1.fc26 updates-testing 1.9 M
mutter x86_64 3.24.2-1.fc26 updates-testing 2.2 M
How do you troubleshoot dependencies? Or is there some other mis-configuration which could have caused the problem? cheers -- Rick
On 05/30/17 17:15, Rick Leir wrote:
It seems that Fedora 26 allowed me to have KDM and LightDM installed without gdm, gnome-shell, and mutter. I had a crash while attempting to login using LightDM:
Of course F26 is still in Alpha. So, if you managed to get LightDM installed without its dependencies you should report this on the fedora-test list.
On 05/30/17 17:28, Ed Greshko wrote:
On 05/30/17 17:15, Rick Leir wrote:
It seems that Fedora 26 allowed me to have KDM and LightDM installed without gdm, gnome-shell, and mutter. I had a crash while attempting to login using LightDM:
Of course F26 is still in Alpha. So, if you managed to get LightDM installed without its dependencies you should report this on the fedora-test list.
Sorry to reply to myself.... But I misread the original post. And, I am currently trying to reproduce....
Ed I previously had graphics card problems so there is quite a history of uninstall / reinstall this and that. But each time you run dnf, it should be checking dependencies, am I not right?
Is there a way to check whether I installed something with the -f force option?
And perhaps a way to clear out any -f flags or settings, just to make sure that is not a cause? Cheers Rick
On May 30, 2017 5:51:11 AM EDT, Ed Greshko ed.greshko@greshko.com wrote:
On 05/30/17 17:28, Ed Greshko wrote:
On 05/30/17 17:15, Rick Leir wrote:
It seems that Fedora 26 allowed me to have KDM and LightDM installed without gdm, gnome-shell, and mutter. I had a crash while attempting to login using LightDM:
Of course F26 is still in Alpha. So, if you managed to get LightDM installed without its dependencies you should report this on the fedora-test list.
Sorry to reply to myself.... But I misread the original post. And, I am currently trying to reproduce....
-- I'm jet lagged. That's my excuse and I'm sticking to it. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On 05/30/17 18:39, Rick Leir wrote:
previously had graphics card problems so there is quite a history of uninstall / reinstall this and that. But each time you run dnf, it should be checking dependencies, am I not right?
Is there a way to check whether I installed something with the -f force option?
And perhaps a way to clear out any -f flags or settings, just to make sure that is not a cause?
First of all, a bit of what I've done/determined to this point.
I've installed the F26 Alpha1.7 KDE spin. This gets one sddm installed as the default DM. No kdm or any other DM.
If you do a simple "dnf install lightdm" it will install several packages including lightdm and lightdm-autologin-greeter. If you were to then do a "systemctl --force enable lightdm.service" you would end up at a pretty much black screen with no ability to login when you rebooted. This is because, as my cursory searches show, one needs to have a "greeter" installed or have the system configured for "autologin". So, unless you configure things accordingly this is expected behavior.
So, what I did was to do "dnf install lightdm lightdm-gtk-greeter-settings" which resulted in...
Packages Altered: Install gnome-themes-standard-3.22.3-1.fc26.x86_64 @updates-testing Install lightdm-1.22.0-1.fc26.x86_64 @updates-testing Install lightdm-gobject-1.22.0-1.fc26.x86_64 @updates-testing Install lightdm-gtk-2.0.2-4.fc26.x86_64 @fedora Install lightdm-gtk-greeter-settings-1.2.0-6.fc26.noarch @fedora
I then rebooted and had lightdm running and a login screen which allowed me to login my KDE desktop without issue. No need for any of the packages you've listed....
[root@f26-a-md ~]# rpm -q gdm gnome-shell mutter package gdm is not installed package gnome-shell is not installed package mutter is not installed
[root@f26-a-md ~]# ps aux | grep lightdm root 999 0.0 0.3 363496 4864 ? SLsl 18:44 0:00 /usr/sbin/lightdm root 1040 0.7 5.3 405320 68088 tty1 Ssl+ 18:44 0:05 /usr/libexec/Xorg -background none :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch root 1184 0.0 0.4 318100 6128 ? SLl 18:44 0:00 lightdm --session-child 15 22
To answer your question. Yes, dnf does check for dependencies and ensures they are satisfied each time it is run. And, as I've pointed out, a working lightdm system doesn't need what you've installed.
as my cursory searches show, one needs to have a "greeter" installed
Thanks for telling me, I had not heard of "greeter"s (embarrassed). Even though I remember FC6. Your advice is most welcome.
Black screen .. that was my problem, and I was deep into X11 logs trying to find the fix. Do you think there should be a dependency so a greeter of some sort will normally get installed? I am spoiled from a few years of using the slick Ubuntu UI's. Now that may change, as I hear of drastic changes in that camp.
Also, gtk could be a bit more defensive. Maybe I should get involved. The design probably uses Dependency Injection, and I would be inclined to code in some checks so that a friendly message goes in the log before a crash due to a missing / null dependency. I have done c++ UI code in the past, but I might be a bit rusty. Cheers --Rick
On 05/31/17 00:30, Rick Leir wrote:
as my cursory searches show, one needs to have a "greeter" installed
Thanks for telling me, I had not heard of "greeter"s (embarrassed). Even though I remember FC6. Your advice is most welcome.
Black screen .. that was my problem, and I was deep into X11 logs trying to find the fix. Do you think there should be a dependency so a greeter of some sort will normally get installed? I am spoiled from a few years of using the slick Ubuntu UI's. Now that may change, as I hear of drastic changes in that camp.
No, I don't think there should be a dependency that a greeter is installed since it is documented that you can use lightdm without a greeter if you have an autologin setup.
Also, gtk could be a bit more defensive. Maybe I should get involved. The design probably uses Dependency Injection, and I would be inclined to code in some checks so that a friendly message goes in the log before a crash due to a missing / null dependency. I have done c++ UI code in the past, but I might be a bit rusty. Cheers --Rick -- Sorry for being brief. Alternate email is rickleir at yahoo dot com
I am equally brief, but that is due to it being 2AM. :-)
No, I don't think there should be a dependency that a greeter is installed since it is documented that you can use lightdm without a greeter if you have an autologin setup.
Ed, How many people like me will have a machine out of action for a week because that piece of doco did not jump out at them? Ok, Fedora does not focus on being beginner friendly, other goals like leading edge virtualization are more important and actually that is what draws me.
Anyhow, let's drop the issue for now, and see if anyone else twigs on these words in the future. Cheers -- Rick
On 05/31/17 07:40, Rick Leir wrote:
How many people like me will have a machine out of action for a week because that piece of doco did not jump out at them?
I would say an extremely small number. Why? Because the vast majority would be installing a desktop and using the DM supplied with that desktop. If a desktop uses lightDM then it would have been installed with the necessary greeter. I don't think many go through the trouble to install/change their DM. And, since many/most/some folks installing Fedora start with GNOME the pieces needed for lightDM are already there should they choose to install it.
FWIW, I found that nugget of documentation in the LightDM - ArchWiki which is the only link I followed after searching on google for lightdm. This I did after installing only lightDM and being faced with a blank screen.
Ok, Fedora does not focus on being beginner friendly, other goals like leading edge virtualization are more important and actually that is what draws me.
Anyhow, let's drop the issue for now, and see if anyone else twigs on these words in the future. Cheers
Sounds like a plan!