gdm 3.14.1 doesn't give a login screen, only a black screen. Trying to restart /usr/local/etc/rc.d/gdm restart, gives error: gdm[1181]: Failed to give slave programs access to the display. Trying to proceed. Log: /var/log/gdm/:0-greeter.log (gnome-settings-daemon:964): media-keys-plugin-WARNING **: Unable to inhibit keypresses: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 was not provided by any .service files (gnome-settings-daemon:964): Gvc-WARNING **: Failed to connect context: OK (gnome-settings-daemon:964): color-plugin-WARNING **: failed to connect to colord: Error calling StartServiceByName for org.freedesktop.ColorManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1 (gnome-shell:978): mutter-WARNING **: IDLETIME counter not found How to fix this problem ?
Auto-assigned to maintainer gnome@FreeBSD.org
(In reply to Aston Pearl from comment #0) > gdm 3.14.1 doesn't give a login screen, only a black screen. > > Trying to restart /usr/local/etc/rc.d/gdm restart, gives error: > > gdm[1181]: Failed to give slave programs access to the display. Trying to > proceed. Does your gdm user have read-write access to /dev/dri/card0?
There is no /dev/dri. Is there something I missed ?
I get the same message on my system, but both gdm and gnome-shell work fine. What is the version of your FreeBSD system and which video card and video driver are you using?
FreeBSD 10.1 RELEASE i386. I have two machines. Both have the same result. Black screen. Cursor shows X. 1) NVIDIA GeForce GT520M using x11/nvidia-driver (340.46_1) The PORTREVISION 1 is a patch that make libEGL.so conflict fixed. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194924 NVidia logo appears for about a second. 2) Intel GMA 3650 using x11-drivers/xf86-video-intel I know that GDM runs in the background: root /usr/local/bin/X :0 -background none -noreset -verbose -auth /var/run/gdm/auth-for-gdm-ndSxyc/database -nolisten tcp vt09 (Xorg) root gdm-session-worker [pam/gdm-launch-environment] (gdm-session-worker) gdm /usr/local/bin/gnome-session --autostart /usr/local/share/gdm/greeter/autostart gdm /usr/local/bin/dbus-launch --exit-with-session /usr/local/bin/gnome-session --autostart /usr/local/share/gdm/greeter/autostart gdm /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session gdm /usr/local/libexec/at-spi-bus-launcher gdm /usr/local/bin/dbus-daemon --config-file=/usr/local/etc/at-spi2/accessibility.conf --nofork --print-address 3 gdm /usr/local/libexec/at-spi2-registryd --use-gnome-session gdm /usr/local/libexec/gnome-settings-daemon gdm /usr/local/libexec/gvfsd gdm /usr/local/libexec/gvfs-hal-volume-monitor gdm /usr/local/libexec/gvfs-gphoto2-volume-monitor gdm /usr/local/libexec/dconf-service root /usr/local/sbin/gdm
If I use SliM, it works fine. I can reach Xfce desktop. Yes I am not using x11/gnome3. GDM install everything it needs including gnome-shell.
Additional :0-greeter.log: Window manager warning: Failed to load theme "Adwaita": Failed to find a valid file for theme Adwaita Window manager warning: Failed to load theme "Simple": Failed to find a valid file for theme Simple Window manager warning: Failed to load theme "Raleigh": Failed to find a valid file for theme Raleigh Window manager warning: Failed to load theme "Emacs": Failed to find a valid file for theme Emacs Window manager warning: Failed to load theme "Default": Failed to find a valid file for theme Default Window manager warning: Failed to load theme "ThinIce": Failed to find a valid file for theme ThinIce Window manager warning: Failed to load theme "Redmond": Failed to find a valid file for theme Redmond Window manager warning: Failed to load theme "Mist": Failed to find a valid file for theme Mist Window manager warning: Failed to load theme "Industrial": Failed to find a valid file for theme Industrial Window manager warning: Failed to load theme "Crux": Failed to find a valid file for theme Crux Window manager warning: Failed to load theme "Clearlooks": Failed to find a valid file for theme Clearlooks Window manager warning: Failed to load theme "Smoke": Failed to find a valid file for theme Smoke Window manager warning: Failed to load theme "ZOMG-PONIES!": Failed to find a valid file for theme ZOMG-PONIES! Window manager warning: Failed to load theme "Xfce": Failed to find a valid file for theme Xfce Window manager warning: Failed to load theme "Xfce-winter": Failed to find a valid file for theme Xfce-winter Window manager warning: Failed to load theme "Xfce-stellar": Failed to find a valid file for theme Xfce-stellar Window manager warning: Failed to load theme "Xfce-smooth": Failed to find a valid file for theme Xfce-smooth Window manager warning: Failed to load theme "Xfce-saltlake": Failed to find a valid file for theme Xfce-saltlake Window manager warning: Failed to load theme "Xfce-redmondxp": Failed to find a valid file for theme Xfce-redmondxp Window manager warning: Failed to load theme "Xfce-orange": Failed to find a valid file for theme Xfce-orange Window manager warning: Failed to load theme "Xfce-light": Failed to find a valid file for theme Xfce-light Window manager warning: Failed to load theme "Xfce-kolors": Failed to find a valid file for theme Xfce-kolors Window manager warning: Failed to load theme "Xfce-kde2": Failed to find a valid file for theme Xfce-kde2 Window manager warning: Failed to load theme "Xfce-dusk": Failed to find a valid file for theme Xfce-dusk Window manager warning: Failed to load theme "Xfce-dawn": Failed to find a valid file for theme Xfce-dawn Window manager warning: Failed to load theme "Xfce-curve": Failed to find a valid file for theme Xfce-curve Window manager warning: Failed to load theme "Xfce-cadmium": Failed to find a valid file for theme Xfce-cadmium Window manager warning: Failed to load theme "Xfce-basic": Failed to find a valid file for theme Xfce-basic Window manager warning: Failed to load theme "Xfce-b5": Failed to find a valid file for theme Xfce-b5 Window manager warning: Failed to load theme "Xfce-4.6": Failed to find a valid file for theme Xfce-4.6 Window manager warning: Failed to load theme "Xfce-4.4": Failed to find a valid file for theme Xfce-4.4 Window manager warning: Failed to load theme "Xfce-4.2": Failed to find a valid file for theme Xfce-4.2 Window manager warning: Failed to load theme "Xfce-4.0": Failed to find a valid file for theme Xfce-4.0 Window manager warning: Failed to load theme "Daloa": Failed to find a valid file for theme Daloa Window manager warning: Failed to load theme "Kokodi": Failed to find a valid file for theme Kokodi Window manager warning: Failed to load theme "Moheli": Failed to find a valid file for theme Moheli Window manager error: Could not find a theme! Be sure /usr/local/share/themes exists and contains the usual themes. (gnome-settings-daemon:955): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
gdm manually runs result: # gdm --timed-exit gdm[1367]: Failed to give slave programs access to the display. Trying to proceed. gdm[1367]: GLib-GObject: invalid unclassed pointer in cast to 'GdmDisplayFactory' gdm[1367]: gdm_display_factory_get_display_store: assertion 'GDM_IS_DISPLAY_FACTORY (factory)' failed gdm[1367]: GLib-GObject: invalid unclassed pointer in cast to 'GdmDisplayFactory' gdm[1367]: gdm_display_factory_get_display_store: assertion 'GDM_IS_DISPLAY_FACTORY (factory)' faile
(In reply to Aston Pearl from comment #6) > If I use SliM, it works fine. I can reach Xfce desktop. Yes I am not using > x11/gnome3. GDM install everything it needs including gnome-shell. I'm aware, after upgrade of GNOME, some Xfce's applications failed. I'm working on. But this requires to update some libraries (using development releases). So, meantime, use Slim.
Now gdm 3.14.1 runs fine. It just needs x11-wm/metacity. As I install Xfce instead of Gnome3, it was skipped. It should be mark as dependency of GDM. It was a dependency of x11-themes/gnome-themes-2.32.1_1, but not x11-themes/gnome-themes-standard-3.14.2. So, Gnome3 users will not have problem at all.
(In reply to Aston Pearl from comment #10) > Now gdm 3.14.1 runs fine. It just needs x11-wm/metacity. As I install Xfce > instead of Gnome3, it was skipped. It should be mark as dependency of GDM. gdm should not need metacity. Is it a theme problem? > > It was a dependency of x11-themes/gnome-themes-2.32.1_1, but not > x11-themes/gnome-themes-standard-3.14.2. So, Gnome3 users will not have > problem at all. I guess there may be a packaging problem of gnome-themes-standard ...
(In reply to Ting-Wei Lan from comment #11) > (In reply to Aston Pearl from comment #10) > > Now gdm 3.14.1 runs fine. It just needs x11-wm/metacity. As I install Xfce > > instead of Gnome3, it was skipped. It should be mark as dependency of GDM. > > gdm should not need metacity. Is it a theme problem? > > > > > It was a dependency of x11-themes/gnome-themes-2.32.1_1, but not > > x11-themes/gnome-themes-standard-3.14.2. So, Gnome3 users will not have > > problem at all. > > I guess there may be a packaging problem of gnome-themes-standard ... x11/gnome-shell is missing, not x11-wm/metacity. x11-themes/gnome-themes-standard is also required (it installs GTK2 and GTK3 themes). To apply this GTK theme in Xfce session launch following command: xfconf-query -c xsettings -p /Net/ThemeName -t string -s Adwaita I think x11-themes/gnome-backgrounds must be installed, in order to avoid warnings. In my box test, gdm still fails, so better is to use SLiM.
Unfortunetely in my case, I already installed x11/gnome-shell, but nothing works with GDM, it just blank screen still until x11-wm/metacity give a rescue. In gnome2 days, I remember someone mentioned about the busy cursor in GDM which was solved by installing x11-wm/metacity, but I thought to ignore it as this time is a different problem, a blank screen. But now, it solved by x11-wm/metacity. Thanks for the xfconf-query tips. My box is a diskless machine, maybe something a little bit different.
I forgot to mention, I also satisfy GDM autostart, by installing the following ports without solves the blank screen. # portmaster accessibility/caribou ===>>> The following actions will be taken if you choose to proceed: Install accessibility/caribou Install accessibility/py-atspi Install devel/libgee Install graphics/clutter Install graphics/cogl Install graphics/libEGL # portmaster accessibility/orca ===>>> The following actions will be taken if you choose to proceed: Install accessibility/orca Install devel/py3-dbus Install devel/py3-gobject3 Install graphics/py3-cairo Install devel/py3-xdg Install devel/py-setuptools33 # portmaster x11/gnome-shell ===>>> The following actions will be taken if you choose to proceed: Install x11/gnome-shell Install databases/evolution-data-server Install databases/db5 Install devel/libgdata Install net/gnome-online-accounts Install devel/librest Install net-im/telepathy-glib Install security/libsecret Install www/webkit-gtk3 Install lang/p5-Switch Install devel/p5-Filter Install lang/ruby20 Install devel/readline Install textproc/libyaml Install multimedia/gstreamer1-plugins Install multimedia/gstreamer1 Install textproc/enchant Install textproc/hunspell Install net/liboauth Install net/uhttpmock Install devel/gnome-common Install devel/libical Install net/openldap24-client Install lang/gjs Install lang/spidermonkey24 Install net-im/folks Install sysutils/libzeitgeist Install sysutils/tracker Install audio/taglib Install converters/o3read Install devel/xdg-utils Install x11/xprop Install x11/xset Install x11-fonts/libXfontcache Install x11-fonts/fontcacheproto Install graphics/libgxps Install mail/gmime26 Install misc/e2fsprogs-libuuid Install multimedia/libmediaart Install multimedia/totem-pl-parser Install multimedia/libquvi09 Install lang/lua52 Install multimedia/libquvi-scripts09 Install textproc/exempi Install textproc/libcue Install textproc/raptor Install textproc/wv Install www/libsocialweb Install net-im/telepathy-logger Install sysutils/gnome-control-center Install devel/libgtop Install graphics/colord-gtk Install graphics/gnome-color-manager Install graphics/exiv2 Install textproc/docbook-utils Install print/tex-jadetex Install print/tex-formats Install devel/tex-kpathsea Install devel/tex-web2c Install devel/zziplib Install print/texlive-texmf Install print/texlive-base Install devel/t1lib Install graphics/silgraphite Install print/freetype Install print/psutils Install print/tex-ptexenc Install textproc/teckit Install print/tex-xmltex Install textproc/dsssl-docbook-modular Install textproc/p5-SGMLSpm Install www/lynx Install x11-toolkits/vte3 Install graphics/mesa-demos Install graphics/glew Install net/grilo Install security/apg Install security/libpwquality Install security/cracklib Install x11/gnome-menus Install x11/libXScrnSaver Install x11-wm/mutter Install x11/libxkbcommon
Just a thought, maybe it was not GDM concern at all that my screen is blank. But maybe x11-wm/mutter which is the actual problem. See my earlier post: (gnome-shell:978): mutter-WARNING **: IDLETIME counter not found as it failed and need a fallback to x11-wm/metacity and found that it was not available, hence the black screen.
If this is not the problem of the missing x11-wm/metacity, then this the responsibility of x11-wm/mutter, then it should mark graphics/clutter as required, not an option. My initial problem is with NVidia card which conflict with libEGL.so from graphics/libEGL (now solved). The graphics/clutter, which is needs Clutter OpenGL abstraction library graphics/cogl, which is needs graphics/libEGL, which conflict with NVIDIA. Its install the same file: /usr/local/lib/libEGL.so. So, that is why I didn't install graphics/clutter from the beginning. That way, it makes x11-wm/mutter build was not complete at all without graphics/clutter.
Hi, Its seems that was fixed with gdm 3.16.X.