Coder Social home page Coder Social logo

slick-greeter's Introduction

A slick-looking LightDM greeter

Slick Greeter

Configuration

  • The default configuration is stored in dconf under the schema x.dm.slick-greeter.
  • Distributions should set their own defaults using a glib override.
  • Users can create and modify /etc/lightdm/slick-greeter.conf, settings in this files take priority and overwrite dconf settings.

A configuration tool is available at https://github.com/linuxmint/lightdm-settings

Features

  • Slick-Greeter is cross-distribution and should work pretty much anywhere.
  • All panel applets are embedded. No external indicators are launched or loaded by the greeter.
  • No settings daemon are launched or loaded by the greeter.
  • This greeter supports HiDPI.
  • Sessions are validated. If a default/chosen session isn't present on the system, the greeter scans for known sessions in /usr/share/xsessions and replaces the invalid session choice with a valid session.
  • You can take a screenshot by pressing PrintScrn. The screenshot is saved in /var/lib/lightdm/Screenshot.png.

Credit

  • Slick Greeter started as a fork of Unity Greeter 16.04.2, a greeter developed for Ubuntu by Canonical, which used indicators and unity-settings-daemon.

Configuration file format for /etc/lightdm/slick-greeter.conf

[Greeter]
# LightDM GTK+ Configuration
# Available configuration options listed below.
#
# activate-numlock=Whether to activate numlock. This features requires the installation of numlockx. (true or false)
# background=Background file to use, either an image path or a color (e.g. #772953)
# background-color=Background color (e.g. #772953), set before wallpaper is seen
# draw-user-backgrounds=Whether to draw user backgrounds (true or false)
# draw-grid=Whether to draw an overlay grid (true or false)
# show-hostname=Whether to show the hostname in the menubar (true or false)
# show-power=Whether to show the power indicator in the menubar (true or false)
# show-a11y=Whether to show the accessibility options in the menubar (true or false)
# show-keyboard=Whether to show the keyboard indicator in the menubar (true or false)
# show-clock=Whether to show the clock in the menubar (true or false)
# show-quit=Whether to show the quit menu in the menubar (true or false)
# logo=Logo file to use
# other-monitors-logo=Logo file to use for other monitors
# theme-name=GTK+ theme to use
# icon-theme-name=Icon theme to use
# font-name=Font to use
# xft-antialias=Whether to antialias Xft fonts (true or false)
# xft-dpi=Resolution for Xft in dots per inch
# xft-hintstyle=What degree of hinting to use (hintnone/hintslight/hintmedium/hintfull)
# xft-rgba=Type of subpixel antialiasing (none/rgb/bgr/vrgb/vbgr)
# onscreen-keyboard=Whether to enable the onscreen keyboard (true or false)
# high-contrast=Whether to use a high contrast theme (true or false)
# screen-reader=Whether to enable the screen reader (true or false)
# play-ready-sound=A sound file to play when the greeter is ready
# hidden-users=List of usernames (separated by semicolons) that are hidden until Ctr+Alt+Shift is pressed
# group-filter=List of groups that users must be part of to be shown (empty list shows all users)
# enable-hidpi=Whether to enable HiDPI support (on/off/auto)
# only-on-monitor=Sets the monitor on which to show the login window, -1 means "follow the mouse"
# stretch-background-across-monitors=Whether to stretch the background across multiple monitors (false by default)
# clock-format=What clock format to use (e.g., %H:%M or %l:%M %p)

slick-greeter's People

Contributors

besser82 avatar clefebvre avatar cobinja avatar daveblack avatar fossfreedom avatar gabrc52 avatar ginkage avatar hoshino873 avatar hsbasu avatar icarter09 avatar ikeydoherty avatar itsnotgoodname avatar itzswirlz avatar jacalz avatar jakko3 avatar josephmcc avatar leigh123linux avatar mejans avatar mtwebster avatar muzena avatar mwileczka avatar nikokrause avatar psykar avatar samlane-ma avatar sethbarberee avatar shreyas-a-s avatar ste74 avatar theel0ja avatar vkareh avatar vrozkovec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slick-greeter's Issues

slick-greeter v1.0.4 not loading background file

After upgrading to v1.0.4 from v1.0.3, slick greeter no longer renders the greeter background image. The log files that correspond to each version and their differences are found below. The background that should be rendering is found at /etc/lightdm/background.png.

v1.0.3 (seat0-greeter.log)
`[+0.00s] DEBUG: settings.vala:159: Overriding dconf setting for draw-grid

[+0.00s] DEBUG: slick-greeter.vala:520: HiDPI support: auto
[+0.07s] DEBUG: slick-greeter.vala:543: Launched at-spi-bus-launcher. PID: 8274
[+0.08s] DEBUG: slick-greeter.vala:552: Starting slick-greeter 1.0.3 UID=108 LANG=en_US.UTF-8
[+0.08s] DEBUG: slick-greeter.vala:555: Setting cursor
[+0.08s] DEBUG: slick-greeter.vala:569: Loading command line options
[+0.08s] DEBUG: slick-greeter.vala:597: Setting GTK+ settings
[+0.13s] DEBUG: slick-greeter.vala:620: Creating Slick Greeter
[+0.13s] DEBUG: slick-greeter.vala:55: Creating background surface
[+0.13s] DEBUG: Connecting to display manager...
[+0.13s] DEBUG: Wrote 22 bytes to daemon
[+0.13s] DEBUG: Read 8 bytes from daemon
[+0.13s] DEBUG: Read 149 bytes from daemon
[+0.13s] DEBUG: Connected version=1.18.3 default-session=plasma show-manual-login=true hide-users=true has-guest-account=false show-remote-login=true
[+0.21s] WARNING: slick-greeter.vala:179: Could not find a default session.
[+0.21s] DEBUG: slick-greeter.vala:197: Using default session: '(null)'
[+0.21s] WARNING: slick-greeter.vala:179: Could not find a default session.
[+0.21s] DEBUG: slick-greeter.vala:197: Using default session: '(null)'
[+0.22s] DEBUG: Loaded session /usr/share/xsessions/default.desktop (Plasma, Plasma by KDE)
[+0.22s] DEBUG: Loaded session /usr/share/xsessions/plasma.desktop (Plasma, Plasma by KDE)
[+0.22s] WARNING: slick-greeter.vala:179: Could not find a default session.
[+0.22s] DEBUG: slick-greeter.vala:197: Using default session: '(null)'
[+0.22s] DEBUG: Starting authentication for user (null)...
[+0.22s] DEBUG: Wrote 16 bytes to daemon
[+0.23s] DEBUG: main-window.vala:198: Screen is 1920x1200 pixels
[+0.23s] DEBUG: main-window.vala:206: Monitor 0 is 1920x1200 pixels at 0,0
[+0.23s] DEBUG: slick-greeter.vala:623: Showing greeter
[+0.23s] DEBUG: slick-greeter.vala:272: Showing main window
[+0.23s] DEBUG: background.vala:488: Regenerating backgrounds
[+0.23s] DEBUG: background.vala:68: Making background /etc/lightdm/background.png at 1920x1200
[+0.23s] DEBUG: slick-greeter.vala:633: Starting main loop
[+0.23s] DEBUG: Read 8 bytes from daemon
[+0.23s] DEBUG: Read 26 bytes from daemon
[+0.23s] DEBUG: Prompt user with 1 message(s)
[+0.23s] WARNING: slick-greeter.vala:179: Could not find a default session.
[+0.23s] DEBUG: slick-greeter.vala:197: Using default session: '(null)'
[+0.24s] WARNING: slick-greeter.vala:179: Could not find a default session.
[+0.24s] DEBUG: slick-greeter.vala:197: Using default session: '(null)'
[+0.25s] DEBUG: slick-greeter.vala:260: starting system-ready sound
[+0.26s] DEBUG: background.vala:121: Render of background /etc/lightdm/background.png complete
[+2.03s] DEBUG: main-window.vala:198: Screen is 1920x1200 pixels
[+2.03s] DEBUG: main-window.vala:206: Monitor 0 is 1920x1200 pixels at 0,0
`

v1.0.4 (seat0-greeter.log)
`[+0.00s] DEBUG: settings.vala:145: Overriding dconf setting for background with /etc/lightdm/background.png

[+0.00s] DEBUG: settings.vala:159: Overriding dconf setting for draw-grid
[+0.00s] DEBUG: slick-greeter.vala:576: HiDPI support: auto
[+0.07s] DEBUG: slick-greeter.vala:599: Launched at-spi-bus-launcher. PID: 11802
[+0.08s] DEBUG: slick-greeter.vala:608: Starting slick-greeter 1.0.4 UID=108 LANG=en_US.UTF-8
[+0.08s] DEBUG: slick-greeter.vala:611: Setting cursor
[+0.08s] DEBUG: slick-greeter.vala:625: Loading command line options
[+0.08s] DEBUG: slick-greeter.vala:653: Setting GTK+ settings
[+0.12s] DEBUG: slick-greeter.vala:676: Creating Slick Greeter
[+0.12s] DEBUG: slick-greeter.vala:55: Creating background surface
[+0.13s] DEBUG: Connecting to display manager...
[+0.13s] DEBUG: Wrote 22 bytes to daemon
[+0.13s] DEBUG: Read 8 bytes from daemon
[+0.13s] DEBUG: Read 149 bytes from daemon
[+0.13s] DEBUG: Connected version=1.18.3 default-session=plasma show-manual-login=true hide-users=true has-guest-account=false show-remote-login=true
[+0.20s] DEBUG: slick-greeter.vala:212: Using default session: 'gnome'
[+0.20s] DEBUG: slick-greeter.vala:212: Using default session: 'gnome'
[+0.20s] DEBUG: main-window.vala:199: Screen is 1920x1200 pixels
[+0.20s] DEBUG: main-window.vala:207: Monitor 0 is 1920x1200 pixels at 0,0
[+0.20s] DEBUG: slick-greeter.vala:679: Showing greeter
[+0.21s] DEBUG: slick-greeter.vala:287: Showing main window
[+0.22s] DEBUG: Loaded session /usr/share/xsessions/default.desktop (Plasma, Plasma by KDE)
[+0.22s] DEBUG: Ignoring session /usr/share/xsessions/gnome.desktop
[+0.22s] DEBUG: Loaded session /usr/share/xsessions/plasma.desktop (Plasma, Plasma by KDE)
[+0.22s] DEBUG: slick-greeter.vala:212: Using default session: 'gnome'
[+0.22s] DEBUG: Starting authentication for user (null)...
[+0.22s] DEBUG: Wrote 16 bytes to daemon
[+0.23s] DEBUG: slick-greeter.vala:689: Starting main loop
[+0.23s] DEBUG: slick-greeter.vala:212: Using default session: 'gnome'
[+0.23s] DEBUG: background.vala:68: Making background #000000 at 1920x1200
[+0.23s] DEBUG: background.vala:79: Render of background #000000 complete
[+0.23s] DEBUG: Read 8 bytes from daemon
[+0.23s] DEBUG: Read 26 bytes from daemon
[+0.23s] DEBUG: Prompt user with 1 message(s)
[+0.23s] DEBUG: slick-greeter.vala:212: Using default session: 'gnome'
[+0.24s] DEBUG: slick-greeter.vala:275: starting system-ready sound
[+2.03s] DEBUG: main-window.vala:199: Screen is 1920x1200 pixels
[+2.03s] DEBUG: main-window.vala:207: Monitor 0 is 1920x1200 pixels at 0,0
`

truncated password box

compiled and installed the v1.0.4 greeter released today.

This is the issue:

untitled

I can click the switch session icon and then the back button and the password box is then displayed correctly

Thoughts?

Ubuntu Budgie 17.04 - GTK+ 3.22

EDIT: 1.0.3 works just fine.

[Feature Request] Domain Login, where it automatically puts DOMAINNAMEHERE\ before the User name when logging in

So, I'm attempting to build a distro for a school to potentially use, and while I've been doing a bit of research and discovered, that when connected to a user server domain, you'll most of the time have to put DOMAINNAME\usernamehere as your login, rather than just usernamehere to log in to the Domain.

What I'm asking for, is the ability to set it to be a more user-friendly way of logging in, by having it, like in Windows, where you can optionally log in as 'usernamehere' for the User Name output, but instead, it will log in as 'DOMAINNAME\usernamehere', I feel this will be so much more user-friendly, having the option to just have the domain name part auto-filled into the Username entry, unless the user themselves supply another Domain Name before their username.

Slick Greeter doesn't respect configuration file. Only uses the gscemas file to set configuration

I used the sample code on the README to configure slick-greeter by creating /etc/lightdm/slick-greeter.conf with this code:

[greeter]
background = /var/lib/lightdm/wallpapers/airplane.jpg
draw-user-backgrounds = true
draw-grid = false
show-hostname = true
theme-name = United-Opensuse-Dark
icon-theme = HighContrast
font-name = Overpass Regular 11
xft-antialias = true
xft-hintstyle = hintslight
enable-hidpi = auto

However, these settings are not applied. I still get the defaults. Then, I edited and compiled the glib scemas file with these settings and the changes were applied. This seems counter-intuitive to me. The glib file is overwritten each upgrade. The /etc/lightdm/slick-greeter.conf isn't since it is storing the configuration for you.

OS: Arch Linux x86_64
Kernel: 4.11.3-1-ARCH

[Feature Request] Option to Display User Picture on the left of Username and Password

This has to be one of the best features that Unity Greeter didn't ever have, the ability to have your user picture displayed on the left of the Username and Password box for the selected user. If this is added, it'd be much appreciated.

Also, a bit of cornering for that square the User Picture is in would also look nice, no outlines though around it, that might ruin the look of it.

Enhancement: Numlock support

 * slick-greeter 1.0.7
 * Distribution - Mint 18.2
 * Graphics hardware *and* driver used - Nvidia 375.82
 * 64 bit

Please add out of the box numlock support option

Some settings not respected

 * slick-greeter 1.0.8
 * Distribution - Manjaro Linux
 * 64 bit

Issue

At least the following settings are not respected:
show-a11y=false (set as true)
show-keyboard=false (set as true)
font-name=customfontname (set as Ubuntu or DejaVu Sans except for top bar) (reported in #50)

Steps to reproduce

Set these settings in /etc/lightdm/slick-greeter.conf

Expected behaviour

Slick greeter respects them

Feature Request: Nvidia prime switcher

[Feel free to close this issue if you feel it is a bad or misplaced idea. If that is the case then receive my deepest apologies, I don't want to waste your time. Thank you for your work on linux mint]

Users of nvidia optimus laptops using "nvidia prime" are required to log-out and log-in every time they want to switch the graphics card. A common scenario is to "boot, log in, run sudo prime-select nvidia, log out and log in again". I have to do that whenever I want to use the HDMI output in my laptop.

Having an indicator at the login screen allowing me to switch the graphics card seems logical to me as I would just need to "boot, change graphics card (if I want to) and login".

The tools /usr/bin/prime-supported and /usr/bin/prime-select can be used to detect if prime is supported and to select the nvidia/intel card, respectively.

Thanks again for your time

Blank screen at login screen if the computer is left on it.

If I leave the computer on after it reached the login screen, without actually logging in, the screen eventually goes blank. Moving the mouse or using the keyboard won't get me the screen back, not even typing my password and pressing enter. The only solution is to restart the system and login before the screen goes blank.

I was told to provide proper info and some logging. I don't know which info or which logs so here's my best guess:
inxi -Fz: https://pastebin.com/4cpsQk8M
Auth log: https://pastebin.com/aSwpqwrT

Guest session: Switch user needs to get removed

Mint 18.2 Beta Cinnamon 64 bit.

The switch user function needs to get removed from the guest account, because there is no way to to return to the opened guest session.

Alternatively: Some changes are needed, to allow a guest user to re-enter his session.

Most likely typical scenario: You have allowed a person to open a guest session. During the guest session the owner needs to get quickly int his own account (e. g. for checking his mails). Usually (in case of normal accounts) user switching is just the method to use in this case. But when the owner has finished his task and the guest will continue his session (assume, he was in the middle to search something in the web), he cannot. Trying to re-enter the guest account actually opens a new guest session, the (still opened) old guest session is no more reachable.

So the guest (and also the owner of the pc) must be aware that an interrupted session cannot get re-opened. The guest has to log out and has later to open a new guest session.

I'm only able to see the first 6 desktop sessions

 * slick-greeter version (slick-greeter --version)

1.12
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)

Arch
 * Graphics hardware *and* driver used

Nvidia and Intel, Nouveau
 * 32 or 64 bit

64bit

Issue
I'm only able to see the first 6 desktop sessions

Steps to reproduce
Have a laptop open the session chooser and have more then 6 sessions installed

Expected behaviour
Being able to scroll up and down all the desktop sessions

How to set it ?

Hi , how set it without .conf file in the lightdm.conf file ? I have added on Manjaro linux and i want use the gsettings schemas to do our config ..
Thank you
Stefano Capitani

Wrong login screen resolution with external monitor.

Package: slick-greeter Version: 1.0.7+sonya
System: Host: U47VC Kernel: 4.4.0-91-generic x86_64 (64 bit) Desktop: Cinnamon 3.4.6 Distro: Linux Mint 18.2 Sonya
Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller Card-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] Display Server: X.Org 1.18.4 driver: nvidia Resolution: [email protected], [email protected] GLX Renderer: GeForce GT 620M/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 340.102

Issue
Login screen resolution is smaller than monitor resolution. External monitor is always set as primary display
Picture attached.

Steps to reproduce
Connect an external monitor and login.

Expected behaviour
Login screen resolution should have monitor resolution. MDM works fine.

Other information
/var/log/lightdm/seat0-greeter.log
login screen on external monitor
seat0-greeter.log.txt

attached

[Feature Request] Implement lock-screen/screensaver

Hi there , us ( Manjaro Linux ) and i think also @ikeydoherty ( Solus ) and @fossfreedom ( Ubuntu Budgie ) are interested at the screensaver implementation in order to drop the gnome legacy screensaver .. ( guys correct me if i wrong :p and sorry if mention you :p ) . In the source code i don't see this .. any plan to add this feature ?

Stefano Capitani
Manjaro Team

Build failing on FreeBSD (maybe not relevant?)

I am aware your project is for a Linux distro but I was curious as to how it'd work on freebsd. Build itself passes, but there is a defect in files/Makefile generated by ./configure that means it does not use find . to do find (on FreeBSD, a file argument to find is required; on GNU (which is what LinuxMint is based on), it's not)

Session language selector support

 * slick-greeter version 1.0.7
 * Distribution - Mint 18.2
 * Graphics hardware NVIDIA
 * 64 bit

I wonder if there is any support for choosing a session language. So far I couldn't find it and the lightdm-gtk-setting "show-language-selector=true also had no effect. I guess it is just not supported!? Any plans to add this as I think it's quite useful and needed for multi language support in mixed language environments (work/private)

User switching (on 18.2): Cinnamon crash

I upgraded from Mint 18.1 to 18.2 and rebooted. All seemed to work, but I then logged out of account A, logged into account B, logged out of B and back into A and - at that point - there was an error message. To wit: 'Cinnamon just crashed. You are currently running in Fallback Mode.' The error box came with an option to restart Cinnamon, and upon doing so all seemed good except that there were no desktop icons, even after I launched Nemo via an icon on my dock.

I should add: a single line of text flashed up when switchings users. (It did so on every switch, I think.) The message mentioned rc.local, but I did not have time to read it properly. However, I do find the following in my log, with approximately the right time stamp: 'systemd // Started /etc/rc.local Compatibility'. I mention this because (1) it may be a clue to the problem I am reporting, (2) ideally no text should flash up when switching users. EDIT: This particular problem was with my setup, specifically a faulty script run by a udev rule; the problem was not Mint. Apologies. Still, it may be that my udev problem caused Cinnamon to crash. If so, one could interpret that in either of two ways. To wi: either there is no problem with the greeter or with Cinnamon; or a minor problem with a script of mine was enough to crash Cinnamon, and that's bad.

I will add finally that, evidently enough - and I do not mean to carp - that user switching is important. I use one account to give presentations, but before I use that account I might have logged into another account. So this stuff really does need to work. Note also that I was not using 'fast user switching' - or what one might call 'user switching properly so called' (for I've given up on that); rather I logged out of each account before logging into another one.

slick-greeter hang on boot, after autoremove removes mdm config

 * slick-greeter version: 1.0.7.
 * Distribution: Mint 18.2.
 * Graphics hardware *and* driver used: Intel, but details irrelevant I think.
 * 64 bit.

Issue

Slick-greeter hangs on boot.

Steps to reproduce

  1. Install Mint 18.2. (I upgraded from 18.1. That may or not be relevant.)
  2. Install the new greeter as per published instructions.
  3. Reboot. (I reused the system for some weeks before taking the next step.)
  4. sudo apt autoremove and accede when when asked whether you want to removed mdm config.
  5. Reboot.

Expected behaviour

Other information

I fixed the problem thusly: sudo dpkg-reconfigure mdm

lock-screen pops up briefly when switching user

I'm not sure where the right place for this issue is, also it might be a problem limited to Arch/Manjaro. Anyway, what I see is this:
I launch the greeter with "Switch user", then log back into the existing session.
Now I see the open session just briefly, but then for a moment the lock-screen pops up and disappears again. After that everything is fine with the session.
Any ideas?

Lightdm: auto login glitch

Test system: Mint 18.2 beta Cinnamon 64 bit
Environment: VirtualBox

For testing auto-login I did this:
I created in /etc/lightdm the file lightdm.conf
I entered this code:
[Seat:*] allow-guest=false autologin-user=user_name autologin-user-timeout=10

(in separate lines; the code function of GH puts all into 1 line)
The value 10 is meant to give the chance, to login in another account, if wanted.

Expected:
After timeout the login screen vanishes and the desktop of the account user_name launches.

Result:
If the timeout has expired the screen goes black for a second or so, than the login screen reappears. After some more seconds the auto login takes place as expected.

It appears, as if auto login needs 2 attempts, until it gets successful. Until now it only seems to be a visual, but ugly glitch.

Will only use the smaller size of a Multimonitor system with different screen sizes

 * slick-greeter version (slick-greeter --version)
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
 * Graphics hardware *and* driver used
 * 32 or 64 bit

$ inxi -GS
System: Host: mintyfresh Kernel: 4.8.0-58-generic x86_64 (64 bit) Desktop: Cinnamon 3.4.3
Distro: Linux Mint 18.2 Sonya
Graphics: Card: Intel Sky Lake Integrated Graphics
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: [email protected], [email protected]
GLX Renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) GLX Version: 3.0 Mesa 12.0.6
$ slick-greeter -v
[+0.00s] DEBUG: settings.vala:145: Overriding dconf setting for background with /usr/share/backgrounds/linuxmint/edesigner_linuxmint.png
[+0.00s] DEBUG: settings.vala:145: Overriding dconf setting for enable-hidpi with auto
[+0.00s] DEBUG: settings.vala:159: Overriding dconf setting for draw-user-backgrounds
[+0.00s] DEBUG: settings.vala:159: Overriding dconf setting for draw-grid
[+0.00s] DEBUG: slick-greeter.vala:587: HiDPI support: auto
[+0.13s] DEBUG: slick-greeter.vala:613: Launched at-spi-bus-launcher. PID: 4393
[+0.18s] DEBUG: slick-greeter.vala:622: Starting slick-greeter 1.0.7 UID=1000 LANG=en_US.UTF-8
[+0.18s] DEBUG: slick-greeter.vala:625: Setting cursor
[+0.18s] DEBUG: slick-greeter.vala:639: Loading command line options
slick-greeter 1.0.7

Issue
Slick-Greeter will use the lower resolution (1440x900) for both screens. I do not know how to change this in the settings, or if I should even need to. I would expect the default behaviour to be the "Expected behaviour" listed below.

Steps to reproduce
reboot or logout. I could not find any settings that effected corrected it.

Expected behaviour
Expected the screen with 1920x1080 resolution to display using 1920x1080 resolution and the screen with 1440x900 resolution to display using 1440x900.

Other information
This is on a Mint Cinnamon system that was upgraded from 18.1 to 18.2 and I converted from MDM (default for 18.1) to Slick-greeter (default for 18.2), MDM would use the correct resolutions.

Guestaccount in upgraded system has full access to user accounts

Linux Mint 18.2 Cinnamon 64 bit, upgraded from 18.1 following these instructions. Next installed LightDM and removed MDM following the same instructions.

If I go into the guest account I have unlimited access to all installed user accounts and their content.
I can access the accounts as well via Nemo (simply clicking file system in the side bar -> home -> account name) or via terminal (cd /home/account_name).

In a fresh install this problem does not exist.

For now it should be said in the blog about upgrading, that the guest account does in this case not give the same privacy protection as in a new install. The current warning ("not recommended for novice users") does not give a hint about the problem.

No un-hide shortcut given

  • slick-greeter version: 1.0.8
  • Distribution: Ubuntu MATE 17.10 Shipped by default
  • Graphics: not important for this issue
  • 64 bit

Issue
The shortcut for un-hiding hidden users is undocumented

Steps to reproduce
Hide some user and try to un-hide it with a shortcut

Expected behaviour
It says something like: "until Alt + xy is hit"

Current status
It says: "until a special key combination is hit"

Manjaro : last session not saved

Hi there , i have iported this greeter on Manjaro Linux but at the moment i have one issue : The session is not saved
Here the log of seat0

[+0,00s] DEBUG: slick-greeter.vala:511: Starting slick-greeter 1.0.0 UID=620 LANG=it_IT.UTF-8
Activating service name='org.a11y.atspi.Registry'
[+0,01s] DEBUG: settings.vala:143: Overriding dconf setting for background with /usr/share/backgrounds/manjarowall17_08.jpg
[+0,01s] DEBUG: settings.vala:143: Overriding dconf setting for theme-name with Arc-Maia-Dark
[+0,01s] DEBUG: settings.vala:143: Overriding dconf setting for icon-theme-name with Arc-Maia
[+0,01s] DEBUG: settings.vala:157: Overriding dconf setting for draw-grid
[+0,02s] DEBUG: slick-greeter.vala:517: Setting cursor
[+0,14s] DEBUG: slick-greeter.vala:531: Loading command line options
[+0,14s] DEBUG: slick-greeter.vala:559: Setting GTK+ settings
Successfully activated service 'org.a11y.atspi.Registry'
[+1,72s] DEBUG: slick-greeter.vala:582: Creating Slick Greeter
[+1,72s] DEBUG: slick-greeter.vala:55: Creating background surface
[+1,77s] DEBUG: Connecting to display manager...
[+1,77s] DEBUG: Wrote 26 bytes to daemon
[+1,77s] DEBUG: Read 8 bytes from daemon
[+1,77s] DEBUG: Read 160 bytes from daemon
[+1,77s] DEBUG: Connected api=1 version=1.22.0 default-session=default show-manual-login=false hide-users=false has-guest-account=false show-remote-login=true
[+1,86s] DEBUG: background.vala:457: Failed to load background component : Apertura del file «» non riuscita: File o directory non esistente
[+1,87s] DEBUG: background.vala:457: Failed to load background component : Apertura del file «» non riuscita: File o directory non esistente

(slick-greeter:609): Gtk-WARNING **: Attempting to add a widget with type GtkBox to a GtkMenuItem, but as a GtkBin subclass a GtkMenuItem can only contain one widget at a time; it already contains a widget of type GtkLabel
[+2,99s] DEBUG: Loading users from org.freedesktop.Accounts
[+2,99s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+2,99s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+2,99s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+3,00s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+3,00s] DEBUG: user-list.vala:1030: Adding/updating user stefano (Stefano)
[+3,00s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+3,10s] DEBUG: slick-greeter.vala:193: Invalid session: 'gnome'. Using session 'mate' instead.
[+3,10s] DEBUG: user-list.vala:1030: Adding/updating user gnomeste ()
[+3,34s] DEBUG: slick-greeter.vala:193: Invalid session: 'gnome'. Using session 'mate' instead.
[+3,34s] DEBUG: user-list.vala:1030: Adding/updating user mateste ()
[+3,34s] DEBUG: slick-greeter.vala:193: Invalid session: 'mate'. Using session 'mate' instead.
[+3,34s] DEBUG: user-list.vala:1030: Adding/updating user stebudgie ()
[+3,35s] DEBUG: slick-greeter.vala:193: Invalid session: 'budgie-desktop'. Using session 'mate' instead.
[+3,40s] DEBUG: Loaded session /usr/share/xsessions/mate.desktop (MATE, Questa sessione esegue l'accesso in MATE)
[+3,44s] DEBUG: Loaded session /usr/share/xsessions/gnome-xorg.desktop (GNOME su Xorg, Questa sessione esegue l'accesso in GNOME)
[+3,45s] DEBUG: Loaded session /usr/share/xsessions/gnome.desktop (GNOME, Questa sessione esegue l'accesso in GNOME)
[+3,46s] DEBUG: Loaded session /usr/share/xsessions/gnome-classic.desktop (GNOME classico, Questa sessione si avvia con GNOME classico)
[+3,50s] DEBUG: Loaded session /usr/share/xsessions/budgie-desktop.desktop (Desktop Budgie, Questa sessione ti fa entrare nel Desktop Budgie)
[+3,52s] DEBUG: Loaded session /usr/share/wayland-sessions/gnome.desktop (GNOME, Questa sessione esegue l'accesso in GNOME)
[+3,53s] DEBUG: Starting authentication for user stefano...
[+3,53s] DEBUG: Wrote 23 bytes to daemon
[+3,54s] DEBUG: main-window.vala:198: Screen is 1366x768 pixels
[+3,54s] DEBUG: main-window.vala:206: Monitor 0 is 1366x768 pixels at 0,0
[+3,54s] DEBUG: slick-greeter.vala:585: Showing greeter
[+3,54s] DEBUG: slick-greeter.vala:266: Showing main window
[+3,55s] DEBUG: slick-greeter.vala:595: Starting main loop
[+3,56s] DEBUG: background.vala:485: Regenerating backgrounds
[+3,56s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/manjarowall17_08.jpg at 1366x768
[+3,61s] DEBUG: Read 8 bytes from daemon
[+3,61s] DEBUG: Read 37 bytes from daemon
[+3,61s] DEBUG: Prompt user with 1 message(s)
[+3,67s] DEBUG: slick-greeter.vala:254: starting system-ready sound
[+3,85s] DEBUG: background.vala:121: Render of background /usr/share/backgrounds/manjarowall17_08.jpg complete
[+30,41s] DEBUG: session-list.vala:51: Adding session budgie-desktop (Desktop Budgie)
[+30,42s] DEBUG: session-list.vala:51: Adding session gnome (GNOME)
[+30,42s] DEBUG: session-list.vala:51: Adding session gnome (GNOME)
[+30,42s] DEBUG: session-list.vala:51: Adding session gnome-classic (GNOME classico)
[+30,42s] DEBUG: session-list.vala:51: Adding session gnome-xorg (GNOME su Xorg)
[+30,42s] DEBUG: session-list.vala:51: Adding session mate (MATE)
[+30,44s] DEBUG: greeter-list.vala:210: Error registering user list dbus object: Risulta già esportato un oggetto per l'interfaccia x.dm.SlickGreeter.List su /list
[+40,14s] DEBUG: Providing response to display manager
[+40,14s] DEBUG: Wrote 25 bytes to daemon
[+40,19s] DEBUG: Read 8 bytes from daemon
[+40,19s] DEBUG: Read 19 bytes from daemon
[+40,19s] DEBUG: Authentication complete for user stefano with return code 0
[+40,19s] CRITICAL: pango_layout_get_cursor_pos: assertion 'index >= 0 && index <= layout->length' failed
[+40,19s] DEBUG: Starting session gnome-xorg
[+40,19s] DEBUG: Wrote 22 bytes to daemon
[+40,55s] DEBUG: Read 8 bytes from daemon
[+40,55s] DEBUG: Read 4 bytes from daemon
[+40,55s] DEBUG: user-list.vala:1030: Adding/updating user stefano (Stefano)
[+40,56s] DEBUG: slick-greeter.vala:193: Invalid session: 'gnome-xorg'. Using session 'mate' instead.
[+40,56s] DEBUG: slick-greeter.vala:590: Got a SIGTERM
[+40,56s] DEBUG: slick-greeter.vala:598: Cleaning up
[+40,56s] DEBUG: slick-greeter.vala:606: AT-SPI exited with return value 0
[+40,56s] DEBUG: slick-greeter.vala:612: Exiting

Enchancement: intelligent pre-selection of user-to-log-into

 * slick-greeter version: 1.0.7
 * Distribution - Mint 18.2
 * 64 bit

Issue

Consider the following series of circumstances.

  1. I switch from user A to B.
  2. From user B's session, I initiate the fast-user switching function (for a second time) or log out.
  3. The greeter has a user pre-selected for login, namely, B, i.e., the account from which I have just logged out or (as the case may be) switched away from.

Steps to reproduce

Follow the series of actions described above.

Expected behaviour

It would be better, when there are two user accounts, to offer for login the account that the user has not just left. With >2 user accounts, things get a little more complex, but, again, there's little point offering the account that just's been exited/suspended.

Other information

Feature Request: Clickable Login Button?

 * slick-greeter version: slick-greeter 1.0.8
 * Distribution - Ubuntu 18.04

Feature Request
Personally I don't have an issue, but many novice users don't understand how to login after typing in their password, as there is no "arrow" at the right of the password box like unity-greeter used to have. So for usability I think it would be good to have some indication of what to click for a user (yes yes, I use "Enter" key and don't need it, but again several of our users have been confused)

feature request: custom login window position

Not sure if I am maybe missing that setting, but I can't seem to find a way to change the default login window position.
If this is actually not an included feature I would love to see it in the future.
Thank you.

guest account accomodations

System: Mint 18.2 beta

There are some aspects in the guest account, which might to get changed or removed, because they do not make any sense or are annoying.

The main annoying thing is the welcome screen. Many of the offered feature (all with package management relation) are not usable for the guest. Further more it is annoying, that the guest has to close at first the information window about the guest account (makes sense) and with a second click the welcome screen.

Also the autostarting update manager does not make any sense in the guest account.

You might also consider to remove the complete administration section from the menu of the guest account. Also this is of no use for the guest account and removing it would make the menu (all applications) more clear.

Slick greeter doesn't respect remembered session (invalid session)

Slick greeter doesn't respect the last used or default user session from /home/$USER/.dmrc or lightdm.conf

It thinks all sessions are invalid:

From seat0-greeter.log:
[+0.47s] DEBUG: slick-greeter.vala:194: Invalid session: 'plasma'. Using session 'xfce' instead.
[+0.54s] DEBUG: slick-greeter.vala:194: Invalid session: 'xfce'. Using session 'xfce' instead.

I'm using the AUR package on Manjaro Linux

slick-greeter leaves at-spi process running

slick-greeter leaves at-spi process running which blocks user session at-spi


** (cinnamon-session:1614): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (cinnamon-settings-daemon:1797): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (cinnamon-launcher:1890): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (cinnamon:1932): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (polkit-gnome-authentication-agent-1:1948): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (canberra-gtk-play:1950): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (abrt:1942): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (nm-applet:1944): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (nemo:1946): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused
Failed to play sound: Sound disabled

** (cinnamon-killer-daemon:1947): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (blueberry-tray.py:1955): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (blueberry-obex-agent.py:1945): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused

** (redshift-gtk:1949): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-OWmOPJb639: Connection refused
Cjs-Message: JS LOG: About to start Cinnamon
St-Message: cogl npot texture sizes SUPPORTED

It is a known issue with lighdm-gtk

https://bugs.launchpad.net/debian/+source/lightdm/+bug/1366534

slick-greeter needs to clean up its child processes on exit.

Distro agnostic separation

Given the distro agnostic aspect of the greeter suggest that Debian folder be moved to a separate branch so that other distros can package without having to patch out that folder.

Pressing power off button when the greeter is running causes an excessively slow shutdown

 * slick-greeter version (slick-greeter --version): 1.0.7
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...): Mint 18.2 Sonya
 * Graphics hardware *and* driver used: Intel GM965/GL960 Integrated Graphics. 2.1 Mesa 17.2.1
 * 32 or 64 bit: 64-bit

Issue

Pressing the 'power off' button whilst the greeter is running causes an excessively slow shutdown - the shutdown takes some thirty seconds, and without any messages about what is going on, unless one presses a key and tries to interpret the system messages. The slowness seems bound up with the somewhat notorious 'a stop job is running' systemd problem. (One can see that from the aforementioned system messages.) I have a hardware 'watchdog' running and perhaps without that watchdog the shutdown would not happen at all.

Steps to reproduce

  1. Boot computer.
  2. Get to greeter.
  3. Press the power-off button.

Expected behaviour
A fast shutdown or at least a slow-shutdown-with-some-sort-of-explanation. Also, a prompt - do you really want to shut down?' - might be an idea.

Other information

The affected computer - I have not tested the problem on others, yet - is a dell D830 Latitude, with 8GB RAM, a SSD, and a dual-core processor. It runs Cinnamon.

broken symlink in v1.0.8

Reported via debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866999

"during a test with piuparts I noticed your package ships (or creates)
a broken symlink.

From the attached log (scroll to the bottom...):

0m50.5s ERROR: FAIL: Broken symlinks:
/usr/share/slick-greeter/badges/ubuntu-2d.png -> ubuntu.png"

suggest just delete ubuntu-2d since that project died several years ago and is no longer available in any distro.

Not Mirroring

 * Distribution - Ubuntu Budgie 17.10
 * Graphics hardware: Dual Intel and Nvidia Graphics. Only intel driver in use
 * 64 bit

Issue
Login prompt is not being mirrored. Default behaviour on most DMs is to mirror display when second monitor is connected

Steps to reproduce
Plug in external display, reboot and login

Expected behaviour
Login screen mirrored not extended

Other Infomation
On X11

greeter shows that wrong icon after exiting session

 * slick-greeter version (slick-greeter --version) 1.08
 * Distribution - Ubuntu Budgie 17.10
 * Graphics hardware *and* driver used: Virtualbox
 * 32 or 64 bit : 64bit

Issue

I have two sessions - Budgie Desktop which the greeter is saying is the "default" - and Ubuntu GNOME Session

After exiting Ubuntu GNOME session, the greeter icon shows the budgie icon. Immediately logging in re-logs into the Ubuntu GNOME Session

Steps to reproduce

Install two sessions.
Via the greeter login to the non default session.
Logout - observe that the greeter icon is wrongly stated as the default session icon.

Expected behaviour

The greeter icon should be the last session used.

Promote to Debian?

Is it the intention that this distro agnostic greeter be pushed to Debian to allow the wider Debian and Debian derived distros to see this excellent effort?

Guest Session On/Off

Hi development team,

Could you add on/off feature for guest session.

Best regards.

No option for guest session

Greetings, I was looking into this particular issue, but I don't know neither I am sure if the problem lies here or on lightdm, I was able to compile and create a package of slick-greeter on Archlinux, but no matter what, I don't have an option available to enable a guest session

virtualbox_arch devel_19_04_2017_12_06_02

You can see on the screenshot that I manage to compile it and works properly (I think, correct me if I am wrong), but I don't have the option to enter into a guest session. Once again, probably there is something I may be missing but I leave some options down here related to the compiling process:

  • This is the packaging I took as a base for the compilation, these are the options available from unity-greeter on Arch: unity-greeter compilation options

  • This is the packaging of slick-greeter, you can check and maybe compare some options here. As an off-topic, that repository also has the lightdm-settings packaging and some other packages as well

After some testing I manage to remove the patching options and it compiles and works successfully, except from some warnings that I took some screenshot (I do owe you those since the computer I am using right now doesn't have those screenshots, but maybe I can try to attach them once I get home); but if you can help me checking I will appreciate it

Enabling High Contrast Applies Adwaita, but not HighContrast

Basically what the title says, HighContrast is happily present on the system, but for some reason, it doesn't apply HighContrast, but rather Adwaita

Steps to Reproduce:

  1. Set the GTK to something other than Adwaita and HighContrast
  2. Go to Slick Greeter's Login Screen
  3. Enable High Contrast from the Accessibility Menu

Slick Greeter don't use the /etc/lightdm/slick-greeter.conf

Slick-greeter : 1.0.8
Distribution - Debian Buster AMD64

Issue

I added the slick-greeter.conf file and configured the backgroung, logo etc.
After a reboot or a logout slick-greeter is remplacing the lightdm-greeter but I can't see my background image and logo or any change. My images files are in /usr/share/wallpaper/

A Few Mint-Y Theme Issues with Slick Greeter

When Logo is set to a Logotype image, or something that fits, you'll see that unlike Unity Greeter, the Logo here has no padding AT ALL and literally touches the left of the Slick Greeter area...

(Can't screenshot it as the Logo doesn't appear at all in Test Mode)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.