Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35

Thread: how to have the root in the login screen

  1. #1

    Default how to have the root in the login screen

    In the past I remember that there was the possibility to include the root icon in the graphic login screen, I cannot find it now, how can I have the root icon in the login screen??

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,999

    Default Re: how to have the root in the login screen

    I assume you mean the graphical login screen showed by the display manager?

    First, it is then of course interesting which display manager. As root
    Code:
    update-alternatives --display default-displaymanager
    And then you might want to explain what you mean with "the root icon".
    Henk van Velden

  3. #3

    Default Re: how to have the root in the login screen

    Quote Originally Posted by hcvv View Post
    I assume you mean the graphical login screen showed by the display manager?
    yes, that one

    Quote Originally Posted by hcvv View Post
    First, it is then of course interesting which display manager. As root
    Code:
    update-alternatives --display default-displaymanager
    Code:
    pla@pla4-TW:~> sudo update-alternatives --display default-displaymanager
    [sudo] password for root: 
    default-displaymanager - auto mode
      link best version is /usr/lib/X11/displaymanagers/sddm
      link currently points to /usr/lib/X11/displaymanagers/sddm
      link default-displaymanager is /usr/lib/X11/displaymanagers/default-displaymanager
    /usr/lib/X11/displaymanagers/console - priority 5
    /usr/lib/X11/displaymanagers/gdm - priority 25
    /usr/lib/X11/displaymanagers/lightdm - priority 15
    /usr/lib/X11/displaymanagers/sddm - priority 25
    /usr/lib/X11/displaymanagers/xdm - priority 10
    pla@pla4-TW:~>
    Quote Originally Posted by hcvv View Post
    And then you might want to explain what you mean with "the root icon".
    when the graphical login screen showed by the display manager appear it shows the three users icon where click on to login and insert password, I would like to have also the root icon to login as root

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,999

    Default Re: how to have the root in the login screen

    Well, I can imgaine that there is no "icon" for user root as it is not a very clever thing to log in in the GUI as root.

    But are there no text fields where you can simply type the username and password (again, please do not read this as any encouraging to log in as root)?

    I am personaly not using sddm, thus I have to guess a bit what you see.
    Henk van Velden

  5. #5
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,949

    Default AW: how to have the root in the login screen

    root icon or root user?

  6. #6

    Default Re: AW: how to have the root in the login screen

    Quote Originally Posted by Sauerland View Post
    root icon or root user?
    root icon for root user

  7. #7

    Default Re: how to have the root in the login screen

    On 5/11/19 10:36 AM, Sauerland wrote:
    >
    > root icon or root user?
    >


    To quote the OP:

    "when the graphical login screen showed by the display manager appear it
    shows the three users icon where click on to login and insert password,
    I would like to have also the root icon to login as root"

    He wants to be able to select the root user at the login screen and the
    selection is not available.

    I agree that the choice should not be readily available but should be
    the users choice no matter how hard you make it so that the users cannot
    "shoot themselves in the foot".

    --
    Ken
    unix since 1986
    S.u.S.E.-openSUSE since 1998

  8. #8

    Default Re: how to have the root in the login screen

    Quote Originally Posted by hcvv View Post
    Well, I can imgaine that there is no "icon" for user root as it is not a very clever thing to log in in the GUI as root.

    But are there no text fields where you can simply type the username and password (again, please do not read this as any encouraging to log in as root)?

    I am personaly not using sddm, thus I have to guess a bit what you see.
    there is an icon called "different user" but if I click on it everything freeze and I cannot access to no other user

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,999

    Default Re: how to have the root in the login screen

    Quote Originally Posted by kensch View Post
    On 5/11/19 10:36 AM, Sauerland wrote:
    >
    > root icon or root user?
    >


    To quote the OP:

    "when the graphical login screen showed by the display manager appear it
    shows the three users icon where click on to login and insert password,
    I would like to have also the root icon to login as root"

    He wants to be able to select the root user at the login screen and the
    selection is not available.

    I agree that the choice should not be readily available but should be
    the users choice no matter how hard you make it so that the users cannot
    "shoot themselves in the foot".

    --
    Ken
    unix since 1986
    S.u.S.E.-openSUSE since 1998
    Well, that is not what I understood from the OP, but as we have found out that this is sddm, one should of course look at sddm documentation.
    Or wait for sddm users who tried the same. I am not an sddm user and will certainly not try the same for obvious reasons.

    I see that
    Code:
    man sddm
    is rather short, but it links to more documentation. HTH.
    Henk van Velden

  10. #10
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,949

    Default AW: how to have the root in the login screen

    User Icon (Avatar)

    SDDM reads the user icon (a.k.a. "avatar") as a PNG image from either ~/.face.icon for each user, or the common location for all users specified by FacesDir in an SDDM configuration file. The configuration setting can be placed in either /etc/sddm.conf directly, or, better, a file under /etc/sddm.conf.d/ such as /etc/sddm.conf.d/avatar.conf.

    To use the FacesDir location option, place a PNG image for each user named as username.face.icon into location specified in for FacesDir in the configuration file. The default location for FacesDir is /usr/share/sddm/faces/. You can change the default FacesDir location to match your requirements. Here is an example:

    /etc/sddm.conf.d/avatar.conf

    [Theme]
    FacesDir=/var/lib/AccountsService/icons/

    The other option is to put a PNG image named .face.icon at the root of your home directory. In this case, no changes to any SDDM configuration file is required. However, you need to make sure that sddm user can read the PNG image file(s) for the user icon(s).
    Note: In many KDE versions, the user icon image file is ~/.face and ~/.face.icon is a symlink to that file. If the user icon images are symlinks, you need to set proper file permissions to the target files.

    To set proper permissions run:

    $ setfacl -m u:sddm:x ~/
    $ setfacl -m u:sddm:r ~/.face.icon

    You can check permissions with:

    $ getfacl ~/
    $ getfacl ~/.face.icon

    See SDDM README: No User Icon.
    https://wiki.archlinux.org/index.php/SDDM

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •