ArcticaProject/arctica-greeter

Guest Session not working on Debian

adriano-pinaffo opened this issue · 0 comments

I have lightdm with Arctica greeter installed and they work just fine. Then I wanted to try the guest session of arctica.

I installed guest-session like below:
apt-get install arctica-greeter-guest-session

my lightdm config became this:

$ /usr/sbin/lightdm --show-config
   [Seat:*]
I  greeter-session=arctica-greeter
I  greeter-hide-users=false
A  session-wrapper=/etc/X11/Xsession
I  user-session=xfce
C  guest-wrapper=/usr/libexec/lightdm/lightdm-guest-session
G  xserver-allow-tcp=true
G  xserver-command=X -core -listen tcp
H  allow-guest=true
H  greeter-allow-guest=true
I  greeter-show-manual-login=true
I  greeter-show-remote-login=true

   [LightDM]
H  guest-account-script=arctica-greeter-guest-account-script

Sources:
A  /usr/share/lightdm/lightdm.conf.d/01_debian.conf
B  /usr/share/lightdm/lightdm.conf.d/40-kde-plasma-kf5.conf
C  /usr/share/lightdm/lightdm.conf.d/50-arctica-greeter-guest-wrapper.conf
D  /usr/share/lightdm/lightdm.conf.d/50-slick-greeter.conf
E  /usr/share/lightdm/lightdm.conf.d/80-ukui-greeter.conf
F  /usr/share/lightdm/lightdm.conf.d/90-arctica-greeter.conf
G  /etc/lightdm/lightdm.conf.d/70-xserver-remote-connection.conf
H  /etc/lightdm/lightdm.conf.d/91-arctica-greeter-guest-session.conf
I  /etc/lightdm/lightdm.conf.d/99-my-own-configuration.conf
J  /etc/lightdm/lightdm.conf

Still when I click on Guest Session in the Arctica greeter, the screen goes black and comes back to the greeter, as if nothing happened. Logging in with regular users is fine. I noticed the following messages in the logs:

Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x40000f (arctica-gr)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

But I don't know if they have anything to do with it. Below is the full seat0.log. Can anyone help?

debianuser@debian9:/var/log/lightdm$ sudo cat seat0-greeter.log
[+0.00s] DEBUG: arctica-greeter.vala:701: HiDPI support: auto
[+0.00s] DEBUG: posix_spawn avoided (fd close requested) 
/usr/libexec/arctica-greeter/arctica-greeter-check-hidpi:33: DeprecationWarning: Gdk.Screen.get_primary_monitor is deprecated
  primary = screen.get_primary_monitor()
/usr/libexec/arctica-greeter/arctica-greeter-check-hidpi:35: DeprecationWarning: Gdk.Screen.get_monitor_geometry is deprecated
  rect = screen.get_monitor_geometry(primary)
/usr/libexec/arctica-greeter/arctica-greeter-check-hidpi:36: DeprecationWarning: Gdk.Screen.get_monitor_width_mm is deprecated
  width_mm = screen.get_monitor_width_mm(primary)
/usr/libexec/arctica-greeter/arctica-greeter-check-hidpi:37: DeprecationWarning: Gdk.Screen.get_monitor_height_mm is deprecated
  height_mm = screen.get_monitor_height_mm(primary)
/usr/libexec/arctica-greeter/arctica-greeter-check-hidpi:38: DeprecationWarning: Gdk.Screen.get_monitor_scale_factor is deprecated
  monitor_scale = screen.get_monitor_scale_factor(primary)
arctica-greeter-check-hidpi: Window scale is 1
[+0.13s] DEBUG: arctica-greeter.vala:710: Loading command line options
[+0.13s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.18s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+0.18s] DEBUG: arctica-greeter.vala:769: Launched at-spi-bus-launcher. PID: 1882
[+0.18s] DEBUG: arctica-greeter.vala:780: Starting arctica-greeter 0.99.1.3 UID=115 LANG=en_US.UTF-8
[+0.18s] DEBUG: arctica-greeter.vala:783: Setting cursor
[+0.18s] DEBUG: arctica-greeter.vala:787: Setting GTK+ settings
[+0.24s] DEBUG: arctica-greeter.vala:810: Creating Arctica Greeter
[+0.24s] DEBUG: Connecting to display manager...
[+0.24s] DEBUG: Wrote 26 bytes to daemon
[+0.24s] DEBUG: Read 8 bytes from daemon
[+0.24s] DEBUG: Read 155 bytes from daemon
[+0.24s] DEBUG: Connected api=1 version=1.26.0 default-session=xfce show-manual-login=true hide-users=false has-guest-account=true show-remote-login=true
[+0.25s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.25s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+0.25s] DEBUG: arctica-greeter.vala:852: Launched marco WM. PID: 1894
[+0.25s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.26s] WARNING: arctica-greeter.vala:897: Systemd failed to start Indicator Service 'ayatana-indicator-keyboard': Failed to start ayatana-indicator-keyboard.service: Unit ayatana-indicator-keyboard.service not found.

[+0.26s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.26s] DEBUG: arctica-greeter.vala:894: Successfully started Indicator Service 'ayatana-indicator-session'
[+0.26s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.27s] WARNING: arctica-greeter.vala:897: Systemd failed to start Indicator Service 'ayatana-indicator-datetime': Failed to start ayatana-indicator-datetime.service: Unit ayatana-indicator-datetime.service not found.

[+0.27s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.27s] DEBUG: arctica-greeter.vala:894: Successfully started Indicator Service 'ayatana-indicator-power'
[+0.27s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.28s] WARNING: arctica-greeter.vala:897: Systemd failed to start Indicator Service 'ayatana-indicator-sound': Failed to start ayatana-indicator-sound.service: Unit ayatana-indicator-sound.service not found.

[+0.28s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.29s] DEBUG: arctica-greeter.vala:894: Successfully started Indicator Service 'ayatana-indicator-application'
[+0.29s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+0.31s] DEBUG: arctica-greeter.vala:919: Launched nm-applet. PID: 1925
[+0.31s] DEBUG: arctica-greeter.vala:937: Starting main loop
[+0.31s] DEBUG: settings-daemon.vala:72: Acquired org.gnome.SessionManager
[+0.31s] DEBUG: settings-daemon.vala:98: Acquired org.gnome.ScreenSaver
[+0.31s] DEBUG: settings-daemon.vala:160: All bus names acquired, starting /usr/bin/mate-settings-daemon
[+0.31s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+0.34s] DEBUG: settings-daemon.vala:173: Launched /usr/bin/mate-settings-daemon. PID: 1930

** (mate-settings-daemon:1930): WARNING **: 18:18:58.640: There was a problem when setting QT_AUTO_SCREEN_SCALE_FACTOR=0: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “Setenv”

** (mate-settings-daemon:1930): WARNING **: 18:18:58.641: There was a problem when setting QT_SCALE_FACTOR=1: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “Setenv”
[+0.50s] DEBUG: arctica-greeter.vala:125: xsettings is ready
[+0.50s] DEBUG: arctica-greeter.vala:534: Creating background surface
[+0.51s] DEBUG: menubar.vala:345: LANG=en_US.UTF-8 LANGUAGE=(null)
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/liborg.ayatana.indicator.keyboard.so' does not exist.
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/org.ayatana.indicator.keyboard.so' does not exist.
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/org.ayatana.indicator.keyboard' does not exist.
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/liborg.ayatana.indicator.datetime.so' does not exist.
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/org.ayatana.indicator.datetime.so' does not exist.
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/org.ayatana.indicator.datetime' does not exist.
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/liborg.ayatana.indicator.sound.so' does not exist.
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/org.ayatana.indicator.sound.so' does not exist.
[+0.51s] WARNING: File '/usr/lib/ayatana-indicators3/7/org.ayatana.indicator.sound' does not exist.
[+0.51s] DEBUG: menubar.vala:377: LANG=en_US.UTF-8 LANGUAGE=(null)
[+0.52s] DEBUG: arctica-greeter.vala:225: Invalid session: '(null)'. Using session 'lightdm-xsession' instead.
[+0.52s] DEBUG: user-list.vala:871: Adding user to list. User: Login, background: (null), is_active: false, has_messages: false, session: (null)
[+0.52s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.52s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+0.52s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+0.52s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.53s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.53s] DEBUG: user-list.vala:1043: Adding/updating user debian9user (debian9user)
[+0.53s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+0.55s] DEBUG: arctica-greeter.vala:225: Invalid session: '(null)'. Using session 'lightdm-xsession' instead.
[+0.55s] DEBUG: user-list.vala:871: Adding user to list. User: debian9user, background: (null), is_active: false, has_messages: false, session: (null)
[+0.55s] DEBUG: user-list.vala:1043: Adding/updating user debianuser ()
[+0.55s] DEBUG: user-list.vala:871: Adding user to list. User: debianuser, background: (null), is_active: false, has_messages: false, session: lightdm-xsession
[+0.55s] DEBUG: user-list.vala:1043: Adding/updating user debianuser2 ()
[+0.55s] DEBUG: user-list.vala:871: Adding user to list. User: debianuser2, background: (null), is_active: false, has_messages: false, session: lightdm-xsession
[+0.55s] DEBUG: user-list.vala:1043: Adding/updating user sshuser ()
[+0.56s] DEBUG: arctica-greeter.vala:225: Invalid session: '(null)'. Using session 'lightdm-xsession' instead.
[+0.56s] DEBUG: user-list.vala:871: Adding user to list. User: sshuser, background: (null), is_active: false, has_messages: false, session: (null)
[+0.56s] DEBUG: user-list.vala:1025: Adding guest account entry
[+0.56s] DEBUG: arctica-greeter.vala:225: Invalid session: '(null)'. Using session 'lightdm-xsession' instead.
[+0.56s] DEBUG: user-list.vala:871: Adding user to list. User: Guest Session, background: (null), is_active: false, has_messages: false, session: (null)
[+0.56s] DEBUG: main-window.vala:245: Monitor 0 is 1024x768 pixels at 0,0
[+0.56s] DEBUG: main-window.vala:271: MainWindow is 1024x768 pixels
[+0.56s] DEBUG: arctica-greeter.vala:860: Showing greeter
[+0.56s] DEBUG: arctica-greeter.vala:302: Showing main window
[+0.58s] DEBUG: Ignoring configuration file /etc/lightdm/lightdm.conf.d/90-arctica-greeter.conf.old, it does not have .conf suffix
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/twm.desktop (TWM, The Tab Window Manager)
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/jwm.desktop (Jwm, Minimalistic pure X11 window manager with menu/tray support)
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/mate.desktop (MATE, This session logs you into MATE)
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/openbox.desktop (Openbox, Log in using the Openbox window manager (without a session manager))
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/plasma.desktop (Plasma, Plasma by KDE)
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/xfce.desktop (Xfce Session, Use this session to run Xfce as your desktop environment)
[+0.58s] DEBUG: Loaded session /usr/share/xsessions/lightdm-xsession.desktop (Default Xsession, )
[+0.58s] DEBUG: arctica-greeter.vala:225: Invalid session: '(null)'. Using session 'lightdm-xsession' instead.
[+0.58s] DEBUG: user-list.vala:871: Adding user to list. User: Login, background: (null), is_active: false, has_messages: false, session: (null)
[+0.58s] DEBUG: Starting authentication for guest account...
[+0.58s] DEBUG: Wrote 12 bytes to daemon
[+0.58s] DEBUG: Read 8 bytes from daemon
[+0.58s] DEBUG: Read 12 bytes from daemon
[+0.58s] DEBUG: Authentication complete for user  with return code 0
Window manager warning: Treating resize request of legacy application 0x40000f (arctica-gr) as a fullscreen request
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x40000f (arctica-gr)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
[+0.60s] DEBUG: Connected to Application Indicator Service.
[+0.60s] DEBUG: background.vala:70: Making background /usr/share/backgrounds/arctica-greeter.png at 1024x768
[+0.61s] DEBUG: menubar.vala:547: Adding indicator object 0x555d776ee5c0 at position 0
[+0.62s] DEBUG: Request current apps
[+0.62s] DEBUG: Building new application entry: :1.77  with icon: nm-device-wired at position 0
[+0.62s] DEBUG: menubar.vala:547: Adding indicator object 0x555d777e9c50 at position 1
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x40000f (arctica-gr)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
[+0.63s] DEBUG: background.vala:570: Regenerating backgrounds
[+0.63s] DEBUG: background.vala:70: Making background #2F70C6 at 1024x768
[+0.63s] DEBUG: background.vala:81: Render of background #2F70C6 complete
[+0.63s] DEBUG: background.vala:70: Making background /usr/share/backgrounds/arctica-greeter.png at 1024x768
[+0.63s] DEBUG: arctica-greeter.vala:285: starting system-ready sound
[+0.70s] DEBUG: background.vala:123: Render of background /usr/share/backgrounds/arctica-greeter.png complete
[+0.73s] DEBUG: background.vala:123: Render of background /usr/share/backgrounds/arctica-greeter.png complete