On 12/15/20 2:15 PM, Andreas Müller wrote:
On Tue, Dec 15, 2020 at 3:58 AM Kai <[email protected]> wrote:
Hi Andreas,

I am trying to use gdm as graphical_init_manager. But it fails to start
gdm with core-image-minimal-xfce.

My config in local.conf:

IMAGE_INSTALL_append = ' gdm rsyslog'
VIRTUAL-RUNTIME_graphical_init_manager = "gdm"
DISTRO_FEATURES_append = ' pam polkit'

#
# Use systemd for system initialization
#
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_login_manager = "shadow-base"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"


When I boot the image and run gdm, it shows error:

gdm-x-session: X server did not write display string

I have tried to enable configure option '--enable-suid-wrapper' of
xserver-xorg, it fails with other error looks like:

GdmManager: uid for sender and uid for session don't match


Did you meet such error when you upgraded gdm, please? And what's you
config when you validate it?

Thanks a lot.

Kai

Hi Kai,

Ooh - haven't tried this for very long time - am using sddm. When I
last tested it It looked to me that using gdm with something else but
gnome is pain.

As you might have seen my recent Yocto activities were few - am in
release panic on the job.

Plan to do some work on meta-gnome and meta-xfce during x-mas so will
look into that then.

Thanks for you quick reply.

I tried with core-image-minimal + packagegroup-gnome-desktop, it fails with another issue which I've met but not fixed yet:

> gdm: GdmManager: uid for sender and uid for session don't match

It parses /run/systemd/sessions/cx to get session uid but it is always 0/root but expect user gdm.

Regards,
Kai



Cheers,

Andreas


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#88307): 
https://lists.openembedded.org/g/openembedded-devel/message/88307
Mute This Topic: https://lists.openembedded.org/mt/78968614/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to