Fail to start gdm
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
Quoted 32 lines · Kai
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
Quoted 7 lines
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.
Cheers,
Andreas
Quoted 45 lines · Andreas Müller
Quoted 31 lines · Kai
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
Quoted 7 lines
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.
Quoted 5 lines
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:
Quoted 1 line
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
Quoted 4 lines
Cheers,
Andreas