LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-20-2016, 12:47 AM   #1
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
gdm-3.18.2 screen flicker


I try to build GNOME base on these
LFS : Version 7.9-systemd
BLFS : Version 2016-03-22 (systemd edition)

All GNOME version 3.14.x and 3.16.x change to 3.18.x
and using GDM-3.18.2 as display manager.

When I tried to start GDM
Code:
systemctl start gdm
screen keep flickering, and no graphical login screen.

Try to check status
Code:
# systemctl status gdm
● gdm.service - GNOME Display Manager
   Loaded: loaded (/lib/systemd/system/gdm.service; disabled; vendor preset: enabled)
   Active: active (running) since Wed 2016-07-20 12:31:40 WIB; 9s ago
 Main PID: 18066 (gdm)
   CGroup: /system.slice/gdm.service
           └─18066 /usr/sbin/gdm

Jul 20 12:31:50 mylfs gdm[18066]: Unable to kill session worker process
Jul 20 12:31:50 mylfs gdm[18066]: Child process -19065 was already dead.
Jul 20 12:31:50 mylfs gdm[18066]: Child process 19053 was already dead.
Jul 20 12:31:50 mylfs gdm[18066]: Unable to kill session worker process
Jul 20 12:31:50 mylfs gdm[18066]: Child process -19082 was already dead.
Jul 20 12:31:50 mylfs gdm[18066]: Child process 19069 was already dead.
Jul 20 12:31:50 mylfs gdm[18066]: Unable to kill session worker process
Jul 20 12:31:50 mylfs gdm[18066]: Child process -19099 was already dead.
Jul 20 12:31:50 mylfs gdm[18066]: Child process 19086 was already dead.
Jul 20 12:31:50 mylfs gdm[18066]: Unable to kill session worker process
Please help.
 
Old 07-20-2016, 06:57 AM   #2
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
I had similar problems with gdm for systemd. It compiled correctly but would not launch. You can try the command
Code:
journalctl -b
to see if there is any clue why it doesn't start. The solution for me was to use lxdm. Inside this thread, one of the responders provides a link on how to compile lxdm for systemd. I am an xfce user, but you can use lxdm as a login manager to launch any desktop environment.

Last edited by plasmonics; 07-20-2016 at 07:07 AM.
 
Old 07-20-2016, 08:28 AM   #3
hpmachining
LQ Newbie
 
Registered: Apr 2016
Posts: 15

Rep: Reputation: 1
I had to rebuild Polkit and Polkit-gnome to get GDM to work.
 
Old 07-20-2016, 08:45 AM   #4
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
Quote:
Originally Posted by hpmachining View Post
I had to rebuild Polkit and Polkit-gnome to get GDM to work.
I will try this and see what happens.
 
Old 07-20-2016, 08:57 PM   #5
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by plasmonics View Post
Code:
journalctl -b
Here is the output :
Code:
Jul 21 08:47:02 mylfs su[337]: pam_unix(su:session): session opened for user root by mylfs(uid=0)
Jul 21 08:47:02 mylfs su[337]: pam_systemd(su:session): Cannot create session: Already running in a session
Jul 21 08:47:24 mylfs polkitd[282]: Registered Authentication Agent for unix-process:346:5518 (system bus name :1.12 [/usr/bin/pkttyagent --notify-fd 4 --fallback], object path /org/freedeskt
Jul 21 08:47:24 mylfs systemd[1]: Stopping Getty on tty1...
Jul 21 08:47:24 mylfs systemd[1]: Stopped Getty on tty1.
Jul 21 08:47:24 mylfs systemd[1]: Starting GNOME Display Manager...
Jul 21 08:47:24 mylfs systemd[1]: Started GNOME Display Manager.
Jul 21 08:47:24 mylfs polkitd[282]: Unregistered Authentication Agent for unix-process:346:5518 (system bus name :1.12, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_
Jul 21 08:47:25 mylfs systemd[1]: Created slice User Slice of gdm.
Jul 21 08:47:25 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:25 mylfs systemd-logind[251]: New session c2 of user gdm.
Jul 21 08:47:25 mylfs systemd[1]: Started Session c2 of user gdm.
Jul 21 08:47:25 mylfs systemd[361]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:25 mylfs systemd[361]: Reached target Paths.
Jul 21 08:47:25 mylfs systemd[361]: Reached target Sockets.
Jul 21 08:47:25 mylfs systemd[361]: Reached target Timers.
Jul 21 08:47:25 mylfs systemd[361]: Reached target Basic System.
Jul 21 08:47:25 mylfs systemd[361]: Reached target Default.
Jul 21 08:47:25 mylfs systemd[361]: Startup finished in 33ms.
Jul 21 08:47:25 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:27 mylfs /usr/libexec/gdm-wayland-session[365]: Activating service name='org.gtk.vfs.Daemon'
Jul 21 08:47:27 mylfs /usr/libexec/gdm-wayland-session[365]: Successfully activated service 'org.gtk.vfs.Daemon'
Jul 21 08:47:27 mylfs /usr/libexec/gdm-wayland-session[365]: /usr/bin/gnome-session: line 15: /libexec/gnome-session-binary: No such file or directory
Jul 21 08:47:27 mylfs org.gtk.vfs.Daemon[367]: A connection to the bus can't be made
Jul 21 08:47:27 mylfs gdm[353]: Child process 357 was already dead.
Jul 21 08:47:27 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:27 mylfs systemd-logind[251]: Removed session c2.
Jul 21 08:47:27 mylfs systemd[1]: Stopping User Manager for UID 21...
Jul 21 08:47:27 mylfs systemd[361]: Reached target Shutdown.
Jul 21 08:47:27 mylfs systemd[361]: Starting Exit the Session...
Jul 21 08:47:27 mylfs systemd[361]: Stopped target Default.
Jul 21 08:47:27 mylfs systemd[361]: Stopped target Basic System.
Jul 21 08:47:27 mylfs systemd[361]: Stopped target Paths.
Jul 21 08:47:27 mylfs systemd[361]: Stopped target Timers.
Jul 21 08:47:27 mylfs systemd[361]: Stopped target Sockets.
Jul 21 08:47:27 mylfs systemd[1]: Created slice User Slice of gdm.
Jul 21 08:47:27 mylfs systemd-logind[251]: New session c3 of user gdm.
Jul 21 08:47:27 mylfs systemd[1]: Started Session c3 of user gdm.
Jul 21 08:47:27 mylfs systemd[361]: Received SIGRTMIN+24 from PID 391 (kill).
Jul 21 08:47:27 mylfs systemd[362]: pam_unix(systemd-user:session): session closed for user gdm
Jul 21 08:47:27 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:27 mylfs systemd[394]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:27 mylfs systemd[394]: Reached target Sockets.
Jul 21 08:47:27 mylfs systemd[394]: Reached target Timers.
Jul 21 08:47:27 mylfs systemd[394]: Reached target Paths.
Jul 21 08:47:27 mylfs systemd[394]: Reached target Basic System.
Jul 21 08:47:27 mylfs systemd[394]: Reached target Default.
Jul 21 08:47:27 mylfs systemd[394]: Startup finished in 6ms.
Jul 21 08:47:27 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[398]: Activating service name='org.gtk.vfs.Daemon'
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[398]: Successfully activated service 'org.gtk.vfs.Daemon'
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[398]: /usr/bin/gnome-session: line 15: /libexec/gnome-session-binary: No such file or directory
Jul 21 08:47:28 mylfs org.gtk.vfs.Daemon[400]: A connection to the bus can't be made
Jul 21 08:47:28 mylfs gdm[353]: GdmDisplay: display lasted 0.137535 seconds
Jul 21 08:47:28 mylfs gdm[353]: Child process 386 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:28 mylfs systemd-logind[251]: Removed session c3.
Jul 21 08:47:28 mylfs systemd[1]: Stopping User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd[394]: Stopped target Default.
Jul 21 08:47:28 mylfs systemd[394]: Stopped target Basic System.
Jul 21 08:47:28 mylfs systemd[394]: Stopped target Timers.
Jul 21 08:47:28 mylfs systemd[394]: Stopped target Paths.
Jul 21 08:47:28 mylfs systemd[394]: Reached target Shutdown.
Jul 21 08:47:28 mylfs systemd[394]: Starting Exit the Session...
Jul 21 08:47:28 mylfs systemd[394]: Stopped target Sockets.
Jul 21 08:47:28 mylfs systemd[394]: Received SIGRTMIN+24 from PID 424 (kill).
Jul 21 08:47:28 mylfs systemd[395]: pam_unix(systemd-user:session): session closed for user gdm
Jul 21 08:47:28 mylfs systemd[1]: Stopped User Manager for UID 21.
Jul 21 08:47:28 mylfs systemd[1]: Removed slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Created slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd-logind[251]: New session c4 of user gdm.
Jul 21 08:47:28 mylfs systemd[1]: Started Session c4 of user gdm.
Jul 21 08:47:28 mylfs systemd[430]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:28 mylfs systemd[430]: Reached target Paths.
Jul 21 08:47:28 mylfs systemd[430]: Reached target Timers.
Jul 21 08:47:28 mylfs systemd[430]: Reached target Sockets.
Jul 21 08:47:28 mylfs systemd[430]: Reached target Basic System.
Jul 21 08:47:28 mylfs systemd[430]: Reached target Default.
Jul 21 08:47:28 mylfs systemd[430]: Startup finished in 6ms.
Jul 21 08:47:28 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]: Fatal server error:
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]: (EE) Cannot open log file "/var/lib/gdm/.local/share/xorg/Xorg.pid-436.log"
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]: Please consult the The X.Org Foundation support
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]:          at http://wiki.x.org
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]:  for help.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[434]: Unable to run X server
Jul 21 08:47:28 mylfs systemd-logind[251]: Removed session c4.
Jul 21 08:47:28 mylfs systemd[1]: Stopping User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd[430]: Reached target Shutdown.
Jul 21 08:47:28 mylfs gdm[353]: Child process -434 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Child process 419 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:28 mylfs systemd[430]: Starting Exit the Session...
Jul 21 08:47:28 mylfs systemd[430]: Stopped target Default.
Jul 21 08:47:28 mylfs systemd[430]: Stopped target Basic System.
Jul 21 08:47:28 mylfs systemd[430]: Stopped target Sockets.
Jul 21 08:47:28 mylfs systemd[430]: Stopped target Paths.
Jul 21 08:47:28 mylfs systemd[430]: Stopped target Timers.
Jul 21 08:47:28 mylfs systemd[430]: Received SIGRTMIN+24 from PID 439 (kill).
Jul 21 08:47:28 mylfs systemd[431]: pam_unix(systemd-user:session): session closed for user gdm
Jul 21 08:47:28 mylfs systemd[1]: Stopped User Manager for UID 21.
Jul 21 08:47:28 mylfs systemd[1]: Removed slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Created slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd-logind[251]: New session c5 of user gdm.
Jul 21 08:47:28 mylfs systemd[447]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:28 mylfs systemd[1]: Started Session c5 of user gdm.
Jul 21 08:47:28 mylfs systemd[447]: Reached target Sockets.
Jul 21 08:47:28 mylfs systemd[447]: Reached target Timers.
Jul 21 08:47:28 mylfs systemd[447]: Reached target Paths.
Jul 21 08:47:28 mylfs systemd[447]: Reached target Basic System.
Jul 21 08:47:28 mylfs systemd[447]: Reached target Default.
Jul 21 08:47:28 mylfs systemd[447]: Startup finished in 8ms.
Jul 21 08:47:28 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[451]: Activating service name='org.gtk.vfs.Daemon'
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[451]: Successfully activated service 'org.gtk.vfs.Daemon'
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[451]: /usr/bin/gnome-session: line 15: /libexec/gnome-session-binary: No such file or directory
Jul 21 08:47:28 mylfs org.gtk.vfs.Daemon[453]: A connection to the bus can't be made
Jul 21 08:47:28 mylfs gdm[353]: GdmDisplay: display lasted 0.151822 seconds
Jul 21 08:47:28 mylfs gdm[353]: Child process 438 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:28 mylfs systemd-logind[251]: Removed session c5.
Jul 21 08:47:28 mylfs systemd[1]: Stopping User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd[447]: Stopped target Default.
Jul 21 08:47:28 mylfs systemd[447]: Stopped target Basic System.
Jul 21 08:47:28 mylfs systemd[447]: Stopped target Timers.
Jul 21 08:47:28 mylfs systemd[447]: Stopped target Paths.
Jul 21 08:47:28 mylfs systemd[447]: Stopped target Sockets.
Jul 21 08:47:28 mylfs systemd[447]: Reached target Shutdown.
Jul 21 08:47:28 mylfs systemd[447]: Starting Exit the Session...
Jul 21 08:47:28 mylfs systemd[447]: Received SIGRTMIN+24 from PID 477 (kill).
Jul 21 08:47:28 mylfs systemd[448]: pam_unix(systemd-user:session): session closed for user gdm
Jul 21 08:47:28 mylfs systemd[1]: Stopped User Manager for UID 21.
Jul 21 08:47:28 mylfs systemd[1]: Removed slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Created slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd-logind[251]: New session c6 of user gdm.
Jul 21 08:47:28 mylfs systemd[1]: Started Session c6 of user gdm.
Jul 21 08:47:28 mylfs systemd[482]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:28 mylfs systemd[482]: Reached target Timers.
Jul 21 08:47:28 mylfs systemd[482]: Reached target Paths.
Jul 21 08:47:28 mylfs systemd[482]: Reached target Sockets.
Jul 21 08:47:28 mylfs systemd[482]: Reached target Basic System.
Jul 21 08:47:28 mylfs systemd[482]: Reached target Default.
Jul 21 08:47:28 mylfs systemd[482]: Startup finished in 6ms.
Jul 21 08:47:28 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]: Fatal server error:
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]: (EE) Cannot open log file "/var/lib/gdm/.local/share/xorg/Xorg.pid-488.log"
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]: Please consult the The X.Org Foundation support
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]:          at http://wiki.x.org
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]:  for help.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[486]: Unable to run X server
Jul 21 08:47:28 mylfs systemd-logind[251]: Removed session c6.
Jul 21 08:47:28 mylfs gdm[353]: Child process -486 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Child process 472 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:28 mylfs systemd[1]: Stopping User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd[482]: Stopped target Default.
Jul 21 08:47:28 mylfs systemd[482]: Reached target Shutdown.
Jul 21 08:47:28 mylfs systemd[482]: Starting Exit the Session...
Jul 21 08:47:28 mylfs systemd[482]: Stopped target Basic System.
Jul 21 08:47:28 mylfs systemd[482]: Stopped target Timers.
Jul 21 08:47:28 mylfs systemd[482]: Stopped target Paths.
Jul 21 08:47:28 mylfs systemd[482]: Stopped target Sockets.
Jul 21 08:47:28 mylfs systemd[482]: Received SIGRTMIN+24 from PID 491 (kill).
Jul 21 08:47:28 mylfs systemd[483]: pam_unix(systemd-user:session): session closed for user gdm
Jul 21 08:47:28 mylfs systemd[1]: Stopped User Manager for UID 21.
Jul 21 08:47:28 mylfs systemd[1]: Removed slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Created slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd[1]: Started Session c7 of user gdm.
Jul 21 08:47:28 mylfs systemd[498]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:28 mylfs systemd-logind[251]: New session c7 of user gdm.
Jul 21 08:47:28 mylfs systemd[498]: Reached target Paths.
Jul 21 08:47:28 mylfs systemd[498]: Reached target Timers.
Jul 21 08:47:28 mylfs systemd[498]: Reached target Sockets.
Jul 21 08:47:28 mylfs systemd[498]: Reached target Basic System.
Jul 21 08:47:28 mylfs systemd[498]: Reached target Default.
Jul 21 08:47:28 mylfs systemd[498]: Startup finished in 6ms.
Jul 21 08:47:28 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[502]: Activating service name='org.gtk.vfs.Daemon'
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[502]: Successfully activated service 'org.gtk.vfs.Daemon'
Jul 21 08:47:28 mylfs /usr/libexec/gdm-wayland-session[502]: /usr/bin/gnome-session: line 15: /libexec/gnome-session-binary: No such file or directory
Jul 21 08:47:28 mylfs org.gtk.vfs.Daemon[504]: A connection to the bus can't be made
Jul 21 08:47:28 mylfs gdm[353]: GdmDisplay: display lasted 0.132535 seconds
Jul 21 08:47:28 mylfs gdm[353]: Child process 490 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:28 mylfs systemd-logind[251]: Removed session c7.
Jul 21 08:47:28 mylfs systemd[1]: Stopping User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd[498]: Stopped target Default.
Jul 21 08:47:28 mylfs systemd[498]: Reached target Shutdown.
Jul 21 08:47:28 mylfs systemd[498]: Starting Exit the Session...
Jul 21 08:47:28 mylfs systemd[498]: Stopped target Basic System.
Jul 21 08:47:28 mylfs systemd[498]: Stopped target Paths.
Jul 21 08:47:28 mylfs systemd[498]: Stopped target Timers.
Jul 21 08:47:28 mylfs systemd[498]: Stopped target Sockets.
Jul 21 08:47:28 mylfs systemd[498]: Received SIGRTMIN+24 from PID 528 (kill).
Jul 21 08:47:28 mylfs systemd[499]: pam_unix(systemd-user:session): session closed for user gdm
Jul 21 08:47:28 mylfs systemd[1]: Stopped User Manager for UID 21.
Jul 21 08:47:28 mylfs systemd[1]: Removed slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Created slice user-21.slice.
Jul 21 08:47:28 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd-logind[251]: New session c8 of user gdm.
Jul 21 08:47:28 mylfs systemd[1]: Started Session c8 of user gdm.
Jul 21 08:47:28 mylfs systemd[533]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:28 mylfs systemd[533]: Reached target Paths.
Jul 21 08:47:28 mylfs systemd[533]: Reached target Sockets.
Jul 21 08:47:28 mylfs systemd[533]: Reached target Timers.
Jul 21 08:47:28 mylfs systemd[533]: Reached target Basic System.
Jul 21 08:47:28 mylfs systemd[533]: Reached target Default.
Jul 21 08:47:28 mylfs systemd[533]: Startup finished in 6ms.
Jul 21 08:47:28 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]: Fatal server error:
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]: (EE) Cannot open log file "/var/lib/gdm/.local/share/xorg/Xorg.pid-539.log"
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]: Please consult the The X.Org Foundation support
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]:          at http://wiki.x.org
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]:  for help.
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]: (EE)
Jul 21 08:47:28 mylfs /usr/libexec/gdm-x-session[537]: Unable to run X server
Jul 21 08:47:28 mylfs systemd-logind[251]: Removed session c8.
Jul 21 08:47:28 mylfs gdm[353]: Child process -537 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Child process 523 was already dead.
Jul 21 08:47:28 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:28 mylfs systemd[1]: Stopping User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd[533]: Stopped target Default.
Jul 21 08:47:28 mylfs systemd[533]: Stopped target Basic System.
Jul 21 08:47:28 mylfs systemd[533]: Stopped target Paths.
Jul 21 08:47:28 mylfs systemd[533]: Stopped target Timers.
Jul 21 08:47:28 mylfs systemd[533]: Stopped target Sockets.
Jul 21 08:47:28 mylfs systemd[533]: Reached target Shutdown.
Jul 21 08:47:28 mylfs systemd[533]: Starting Exit the Session...
Jul 21 08:47:28 mylfs systemd[533]: Received SIGRTMIN+24 from PID 542 (kill).
Jul 21 08:47:28 mylfs systemd[534]: pam_unix(systemd-user:session): session closed for user gdm
Jul 21 08:47:28 mylfs systemd[1]: Stopped User Manager for UID 21.
Jul 21 08:47:28 mylfs systemd[1]: Removed slice user-21.slice.
Jul 21 08:47:28 mylfs systemd[1]: Created slice User Slice of gdm.
Jul 21 08:47:28 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:28 mylfs systemd-logind[251]: New session c9 of user gdm.
Jul 21 08:47:28 mylfs systemd[1]: Started Session c9 of user gdm.
Jul 21 08:47:28 mylfs systemd[549]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:29 mylfs systemd[549]: Reached target Paths.
Jul 21 08:47:29 mylfs systemd[549]: Reached target Sockets.
Jul 21 08:47:29 mylfs systemd[549]: Reached target Timers.
Jul 21 08:47:29 mylfs systemd[549]: Reached target Basic System.
Jul 21 08:47:29 mylfs systemd[549]: Reached target Default.
Jul 21 08:47:29 mylfs systemd[549]: Startup finished in 6ms.
Jul 21 08:47:29 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:29 mylfs /usr/libexec/gdm-wayland-session[553]: Activating service name='org.gtk.vfs.Daemon'
Jul 21 08:47:29 mylfs /usr/libexec/gdm-wayland-session[553]: Successfully activated service 'org.gtk.vfs.Daemon'
Jul 21 08:47:29 mylfs /usr/libexec/gdm-wayland-session[553]: /usr/bin/gnome-session: line 15: /libexec/gnome-session-binary: No such file or directory
Jul 21 08:47:29 mylfs org.gtk.vfs.Daemon[555]: A connection to the bus can't be made
Jul 21 08:47:29 mylfs gdm[353]: GdmDisplay: display lasted 0.124303 seconds
Jul 21 08:47:29 mylfs gdm[353]: Child process 541 was already dead.
Jul 21 08:47:29 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:29 mylfs systemd-logind[251]: Removed session c9.
Jul 21 08:47:29 mylfs systemd[1]: Stopping User Manager for UID 21...
Jul 21 08:47:29 mylfs systemd[549]: Reached target Shutdown.
Jul 21 08:47:29 mylfs systemd[549]: Starting Exit the Session...
Jul 21 08:47:29 mylfs systemd[549]: Stopped target Default.
Jul 21 08:47:29 mylfs systemd[549]: Stopped target Basic System.
Jul 21 08:47:29 mylfs systemd[549]: Stopped target Sockets.
Jul 21 08:47:29 mylfs systemd[549]: Stopped target Paths.
Jul 21 08:47:29 mylfs systemd[549]: Stopped target Timers.
Jul 21 08:47:29 mylfs systemd[549]: Received SIGRTMIN+24 from PID 579 (kill).
Jul 21 08:47:29 mylfs systemd[550]: pam_unix(systemd-user:session): session closed for user gdm
Jul 21 08:47:29 mylfs systemd[1]: Stopped User Manager for UID 21.
Jul 21 08:47:29 mylfs systemd[1]: Removed slice User Slice of gdm.
Jul 21 08:47:29 mylfs systemd[1]: Created slice User Slice of gdm.
Jul 21 08:47:29 mylfs systemd[1]: Starting User Manager for UID 21...
Jul 21 08:47:29 mylfs systemd-logind[251]: New session c10 of user gdm.
Jul 21 08:47:29 mylfs systemd[1]: Started Session c10 of user gdm.
Jul 21 08:47:29 mylfs systemd[585]: pam_unix(systemd-user:session): session opened for user gdm by (uid=0)
Jul 21 08:47:29 mylfs systemd[585]: Reached target Sockets.
Jul 21 08:47:29 mylfs systemd[585]: Reached target Timers.
Jul 21 08:47:29 mylfs systemd[585]: Reached target Paths.
Jul 21 08:47:29 mylfs systemd[585]: Reached target Basic System.
Jul 21 08:47:29 mylfs systemd[585]: Reached target Default.
Jul 21 08:47:29 mylfs systemd[585]: Startup finished in 6ms.
Jul 21 08:47:29 mylfs systemd[1]: Started User Manager for UID 21.
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]: (EE)
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]: Fatal server error:
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]: (EE) Cannot open log file "/var/lib/gdm/.local/share/xorg/Xorg.pid-591.log"
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]: (EE)
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]: (EE)
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]: Please consult the The X.Org Foundation support
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]:          at http://wiki.x.org
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]:  for help.
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]: (EE)
Jul 21 08:47:29 mylfs /usr/libexec/gdm-x-session[589]: Unable to run X server
Jul 21 08:47:29 mylfs systemd-logind[251]: Removed session c10.
Jul 21 08:47:29 mylfs gdm[353]: Child process -589 was already dead.
Jul 21 08:47:29 mylfs gdm[353]: Child process 574 was already dead.
Jul 21 08:47:29 mylfs gdm[353]: Unable to kill session worker process
Jul 21 08:47:29 mylfs systemd[1]: Stopping User Manager for UID 21...
It said error at X.Org. But I can start basic X.org by running startx command (twm with three xterm windows and one xclock window).

Last edited by anak_bawang; 07-20-2016 at 09:01 PM.
 
Old 07-20-2016, 08:59 PM   #6
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by hpmachining View Post
I had to rebuild Polkit and Polkit-gnome to get GDM to work.
Still does not work :-(
 
Old 07-20-2016, 09:04 PM   #7
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by plasmonics View Post
The solution for me was to use lxdm.
Installing lxdm using this options:
1. Pam lxdm
Code:
auth       substack     system-auth
auth       optional     pam_gnome_keyring.so
account    include      system-account
session    optional     pam_systemd.so
session    optional     pam_keyinit.so force revoke
session    include      system-auth
session    optional     pam_gnome_keyring.so auto_start
2. configure options
Code:
./configure --prefix=/usr                                   \
            --sysconfdir=/etc                               \
            --with-pam                                      \
            --enable-gtk3                                   \
            --disable-consolekit                            \
            --with-systemdsystemunitdir=/lib/systemd/system
LXDM can load GNOME :-(
 
Old 07-21-2016, 08:27 AM   #8
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
Quote:
Originally Posted by anak_bawang View Post
Installing lxdm using this options:
1. Pam lxdm
Code:
auth       substack     system-auth
auth       optional     pam_gnome_keyring.so
account    include      system-account
session    optional     pam_systemd.so
session    optional     pam_keyinit.so force revoke
session    include      system-auth
session    optional     pam_gnome_keyring.so auto_start
Those are the same entries I used.
Quote:
2. configure options
Code:
./configure --prefix=/usr                                   \
            --sysconfdir=/etc                               \
            --with-pam                                      \
            --enable-gtk3                                   \
            --disable-consolekit                            \
            --with-systemdsystemunitdir=/lib/systemd/system
I used the config options mentioned in the link, a little bit different from yours. Looks like you figured it out yourself. As long as it works, that's all that matters. In addition, I had to put the following info in ~/.xinitrc
Code:
exec dbus-launch --exit-with-session startxfce4
export $DBUS_SESSION_BUS_ADDRESS
Quote:
LXDM can load GNOME :-(
It should load them all. I use it to load xfce, fluxbox, openbox, sawfish, and icewm. Anyway, looks like you got it to work.

--------------
As a follow up to gdm, I recall from the link I provided that gnome-session is one of the requirements for gdm. I could not get gnome-session dependencies to compile. In addition, one of the posters mentioned that gdm does not work with the proprietary nVidia driver. I prefer to use the proprietary driver. Hence the reason I decided to stick with lxdm.

Last edited by plasmonics; 07-21-2016 at 08:39 AM.
 
Old 07-21-2016, 08:24 PM   #9
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
After one and half hours googling

1. First fix permission of gdm
Code:
# chown -R gdm:gdm /var/lib/gdm > /dev/null
# chown root:gdm /var/log/gdm > /dev/null
# gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
2. Start gdm, and see the journal log
Code:
# journalctl -b
...
/usr/bin/gnome-session: line 15: /libexec/gnome-session-binary: No such file or directory
...
3. Edit /usr/bin/gnome-session script file
Change this line : exec ${exec_prefix}/libexec/gnome-session-binary "$@"
With : exec /usr/libexec/gnome-session-binary "$@"

4. Start gdm, it works. I can login to gnome. After logout, I can not re-login. Need to reboot :-(

5. Try with LXDM
Quote:
Originally Posted by plasmonics View Post
It should load them all. I use it to load xfce, fluxbox, openbox, sawfish, and icewm. Anyway, looks like you got it to work.
Try to load icewm (I had to built it to test LXDM), it is okay.

Now trying to load gnome with LXDM.
Error, and the message on screen is
Code:
Oh no! Something has gone wrong.
A problem has sccurred and the system can't recover.
Please log out and try again.
Click logout, back to login screen.

6. Another problems, not found solution yet. Any suggestion, please.

Last edited by anak_bawang; 07-21-2016 at 09:26 PM.
 
Old 07-22-2016, 06:43 AM   #10
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
i am not a gnome user so I can't replicate the error. Does lxdm load fluxbox? I notice your lxdm config options are different from the BLFS documentation.
 
Old 07-24-2016, 08:18 PM   #11
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by plasmonics View Post
i am not a gnome user so I can't replicate the error. Does lxdm load fluxbox? I notice your lxdm config options are different from the BLFS documentation.
Yes, it can load fluxbox, IceWM, openbox, sawfish.
 
Old 07-25-2016, 07:19 AM   #12
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
Regarding the error "A problem has occurred. The system cant recover ...", I faced something similar trying to launch xfce4 from lxdm. After at lot of googling, I had to add two lines to ~/.xinitrc. (See post #8). Could a similar fix be required to launch Gnome?

Last edited by plasmonics; 07-25-2016 at 07:21 AM.
 
Old 07-25-2016, 08:46 PM   #13
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
No. It does not work :-(
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Screen flicker PopSicle Linux - Newbie 4 12-15-2015 11:06 AM
Screen Flicker xXDarkwolfXx Solaris / OpenSolaris 3 03-03-2009 07:24 PM
ATI 9200 SE screen flicker in screen saver gargamel Slackware 12 07-09-2005 04:10 PM
very very slow flicker of the screen wolfchild Red Hat 0 08-19-2004 01:27 PM
notebook screen flicker akshunj Linux - Laptop and Netbook 2 10-22-2003 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration