From: Grigory Shepelev <shegeley@gmail.com>
To: 57589@debbugs.gnu.org
Subject: bug#57589: Guix hands on GDM with wayland
Date: Tue, 6 Sep 2022 14:05:50 +0300 [thread overview]
Message-ID: <ff5841ea-4a03-6c0f-cad8-6bd37a2bfb26@gmail.com> (raw)
In-Reply-To: <d7d665ee-7cec-85cc-7ecd-745fbf0d313a@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 6024 bytes --]
Creating new user didn't helped.
I created new user (did this Guix way, via adding to config and
reconfiguring the system) and logged it as a new user. Still X11 system
displays with `xrandr`, and `echo $XDG_SESSION_TYPE`. I don't think
there is a need to try moving all home files, creating new user should
be enough to test provided option.
Although I noticed a gear icon below in the right of the gdm screen when
logging in as a default user (saw that in Ubuntu) with options "GNOME"
or "GNOME on Xorg". Trying to login in "GNOME" (Wayland supposedly)
gives a black screen for ~2s. After couple attempts logged back into
"GNOME on Xorg".
Attached logs again. They says something about DBUS. Any ideas?
---
(gsd-keyboard:5189): dbind-WARNING **: 13:35:36.273: AT-SPI: Error
retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files
(gsd-xsettings:5219): dbind-WARNING **: 13:35:36.476: AT-SPI: Error
retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files
GNOME Shell-Message: 13:35:36.777: Registering session with GDM
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
(gnome-shell:5099): mutter-WARNING **: 13:36:02.454: Connection to
xwayland lost
---
On 05.09.2022 20:55, Grigory Shepelev wrote:
> Had some info from Guix Matrix channel:
> > GDM does wayland too with the option set to #t. I was able to get it
> to work going back from sddm, but I had to remove the home folder and
> recreate it from scratch, since gnome session was crashing on login. I
> had no problem starting gnome on a new account so i figured something
> was hanging around that cause a problem even after deleting all caches
> and configs etc.
> > By “home folder” I mean my user’s directory /home/use
>
> https://matrix.to/#/!jivGmMiiorFwdgwaxc:matrix.org/$W4HJQCzv8G0aHM3_PAFrtUaj6Q3aS18vMZCwlMch71I?via=matrix.org&via=hummingbard.com&via=privacytools.io
> <https://matrix.to/#/!jivGmMiiorFwdgwaxc:matrix.org/$W4HJQCzv8G0aHM3_PAFrtUaj6Q3aS18vMZCwlMch71I?via=matrix.org&via=hummingbard.com&via=privacytools.io>
>
>
> Most likely will try for new user tomorrow
>
> пн, 5 сент. 2022 г., 16:24 Grigory Shepelev <shegeley@gmail.com>:
>
> Oops. I accidentally replied privately to dev@jpoiret.xyz, not
> mentioning 57589@debbugs.gnu.org. I hope the history can be recovered
> from this message.
>
> Josselin recommended to
>
> - check permissions on /tmp/.X11-unix/ (gdm user should have r+w
> permissions)
>
> shegeley@zone51 /tmp$ ls -lah .X11-unix/
> total 0
> drwxrwxrwt 2 gdm gdm 80 сен 5 16:12 ./
> drwxrwxrwt 6 root root 160 сен 5 16:16 ../
> srwxrwxrwx 1 shegeley users 0 сен 5 16:12 X1
> srwxr-xr-x 1 gdm gdm 0 сен 5 16:12 X1024
>
> - check /var/lib/gdm/, doesn't have the proper permissions
>
> Hm. That's really strange. For some reason /var/lib/gdm had
> "transmission" as user-group. I assure you that I didn't
> explicitly
> do any "dirty stuff" like that permission changing in my config
>
>
> shegeley@zone51 /tmp$ sudo ls -lah /var/lib/gdm
> total 0
> drwx------ 1 gdm gdm 38 авг 26 21:46 .
> drwxr-xr-x 1 root root 248 авг 28 18:37 ..
> drwxr-xr-x 1 973 transmission 62 авг 26 21:46 .cache
> drwx------ 1 973 transmission 44 авг 26 21:46 .config
> drwx------ 1 973 transmission 10 авг 26 21:46 .local
> shegeley@zone51 /tmp$ sudo chown -R gdm:gdm /var/lib/gdm
> shegeley@zone51 /tmp$ sudo ls -lah /var/lib/gdm
> total 0
> drwx------ 1 gdm gdm 38 авг 26 21:46 .
> drwxr-xr-x 1 root root 248 авг 28 18:37 ..
> drwxr-xr-x 1 gdm gdm 62 авг 26 21:46 .cache
> drwx------ 1 gdm gdm 44 авг 26 21:46 .config
> drwx------ 1 gdm gdm 10 авг 26 21:46 .local
>
>
> After changing it was able to launch into GDM, but with X11 as display
> manager :( Attached new logs.
>
>
> On 05.09.2022 10:23, Josselin Poiret wrote:
> > Hi again,
> >
> > Grigory Shepelev<shegeley@gmail.com> writes:
> >
> >> My config is heavily depends on it's directory (passing it with
> >> --load-path). I can (and will) publish it all (I've been
> planning to do
> >> so) but I'd like to polish few parts.
> >>
> >> Any exact part are you looking for in config? I attached my
> system-wide
> >> services.
> > I asked for that partly because it helps identifying common
> errors, and
> > it's always better for people debugging to have access to all the
> > information, and partly because I couldn't see anything that
> could help
> > in the logs. However, it seems mutter can't write into
> /tmp/.X11-unix/,
> > could you check that the gdm user has the permission to write
> there? It
> > should be rwxrwxrwx. I don't see any modification in your config
> that
> > would prevent the x11-socket-directory-service from
> %desktop-services to
> > run. Also, it seems that /var/lib/gdm/ doesn't have the proper
> > permissions, maybe because of [1]. You can try `sudo chown -R
> gdm:gdm
> > /var/lib/gdm` to fix that.
> >
> > [1]https://issues.guix.gnu.org/36508
> >
> > HTH.
>
[-- Attachment #2: greeter-13:26-06-09-2022.log --]
[-- Type: text/x-log, Size: 6553 bytes --]
gnome-session-binary[5084]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
mutter-Message: 13:35:34.015: Running GNOME Shell (using mutter 41.0) as a Wayland display server
mutter-Message: 13:35:34.037: Device '/dev/dri/card0' prefers shadow buffer
mutter-Message: 13:35:34.049: Added device '/dev/dri/card0' (i915) using atomic mode setting.
mutter-Message: 13:35:34.170: Boot VGA GPU /dev/dri/card0 selected as primary
(gnome-shell:5099): dbind-WARNING **: 13:35:34.904: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
mutter-Message: 13:35:34.951: Using public X11 display :1024, (using :1025 for managed services)
mutter-Message: 13:35:34.951: Using Wayland display name 'wayland-0'
glamor: No eglstream capable devices found
GNOME Shell-Message: 13:35:35.168: Skipping parental controls support as it’s disabled
GNOME Shell-Message: 13:35:35.228: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
GNOME Shell-Message: 13:35:35.228: Will monitor session c8
portal is not running: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.IBus was not provided by any .service files
dbus-daemon[5083]: [session uid=968 pid=5083] Activating service name='org.gnome.Shell.Notifications' requested by ':1.5' (uid=968 pid=5099 comm="/gnu/store/17v3gmam4lpvz44nc6g2cninm5v50lpn-gnome-")
(gnome-shell:5099): dconf-WARNING **: 13:35:35.979: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
dbus-daemon[5083]: [session uid=968 pid=5083] Successfully activated service 'org.gnome.Shell.Notifications'
GNOME Shell-Message: 13:35:36.036: Could not get properties from org.freedesktop.locale1
GNOME Shell-Message: 13:35:36.037: Failed to get PolKit permission: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
** (gnome-shell:5099): WARNING **: 13:35:36.053: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
(gsd-sharing:5184): sharing-plugin-WARNING **: 13:35:36.071: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
(gsd-sharing:5184): sharing-plugin-WARNING **: 13:35:36.071: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
(gsd-sharing:5184): sharing-plugin-WARNING **: 13:35:36.072: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
dbus-daemon[5083]: [session uid=968 pid=5083] Activating service name='org.gnome.ScreenSaver' requested by ':1.25' (uid=968 pid=5228 comm="/gnu/store/3yhp4vzadh71qanaa5dfzmgjggsn3pk6-gnome-")
dbus-daemon[5083]: [session uid=968 pid=5083] Successfully activated service 'org.gnome.ScreenSaver'
GNOME Shell-Message: 13:35:36.148: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: gnome-shell not allowed to act as agent
gnome-session-binary[5084]: WARNING: Could not retrieve current screensaver active state!
(gsd-usb-protection:5228): usb-protection-plugin-WARNING **: 13:35:36.155: Failed to fetch USBGuard parameters: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 was not provided by any .service files
(gsd-power:5227): dbind-WARNING **: 13:35:36.271: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(gsd-media-keys:5199): dbind-WARNING **: 13:35:36.271: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(gsd-color:5188): dbind-WARNING **: 13:35:36.271: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(gsd-wacom:5187): dbind-WARNING **: 13:35:36.271: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(gsd-keyboard:5189): dbind-WARNING **: 13:35:36.273: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(gsd-keyboard:5189): dconf-WARNING **: 13:35:36.312: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
(gsd-media-keys:5199): media-keys-plugin-WARNING **: 13:35:36.359: Failed to grab accelerator for keybinding settings:hibernate
(gsd-media-keys:5199): media-keys-plugin-WARNING **: 13:35:36.359: Failed to grab accelerator for keybinding settings:playback-repeat
portal is not running: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.IBus was not provided by any .service files
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
(gsd-xsettings:5219): dbind-WARNING **: 13:35:36.476: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
GNOME Shell-Message: 13:35:36.777: Registering session with GDM
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Unsupported maximum keycode 708, clipping.
> X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
(gnome-shell:5099): mutter-WARNING **: 13:36:02.454: Connection to xwayland lost
(ibus-daemon:5322): GLib-WARNING **: 13:36:02.462: GChildWatchSource: Exit status of a child process was requested but ECHILD was received by waitpid(). See the documentation of g_child_watch_source_new() for possible causes.
next prev parent reply other threads:[~2022-09-06 12:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-05 5:37 bug#57589: Guix hands on GDM with wayland Grigory Shepelev
2022-09-05 6:00 ` Josselin Poiret via Bug reports for GNU Guix
[not found] ` <9ffabf4d-6a4a-fb5a-4390-d07a839c2592@gmail.com>
[not found] ` <877d2i1dzl.fsf@jpoiret.xyz>
2022-09-05 13:24 ` Grigory Shepelev
2022-09-05 17:55 ` Grigory Shepelev
2022-09-06 11:05 ` Grigory Shepelev [this message]
2022-11-01 15:55 ` Grigory Shepelev
2022-11-21 2:43 ` Grigory Shepelev
2022-11-21 6:50 ` Grigory Shepelev
2022-11-22 1:35 ` Grigory Shepelev
2022-12-12 3:56 ` Grigory Shepelev
2023-01-04 3:08 ` Grigory Shepelev
2022-11-24 12:28 ` mirai
2022-12-01 13:35 ` mirai
2023-01-12 15:55 ` bug#57589: Guix hangs on GDM with Wayland Bruno Victal
2023-03-22 0:51 ` bug#57589: close Bruno Victal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ff5841ea-4a03-6c0f-cad8-6bd37a2bfb26@gmail.com \
--to=shegeley@gmail.com \
--cc=57589@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).