<---- template headericclude ----->
Fedora 26 gdm login configuration???
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Fedora 26 gdm login configuration???

    Hello to Fedora 26 users,

    Here, I have few questions to ask about Fedora 26 gdm login screen?!

    I have, so far, only one user for gdm login screen: root, which always (by default) fails. This is correct behavior, since root is (by default) not allowed to login.

    In other words, I would like to know the following answers, if possible:
    [1] How permanently to change root login to user login?
    [2] How to make both logins (root and user) entries to show up onto the gdm screen?
    Here is the similar example:

    [3] How to enable root gdm login to work?



    Thank you,
    _nobody_

  2. #2
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Re: Fedora 26 gdm login configuration???

    Found this... But this is complete bogus (since it is, after all, almost 7 years old)...

    https://askubuntu.com/questions/7895...e-login-screen

    And here is what I have in my /etc/gdm/custom.conf

    Code:
    [user@localhost ~]$ cat /etc/gdm/custom.conf
    # GDM configuration storage
    
    [daemon]
    # Uncoment the line below to force the login screen to use Xorg
    #WaylandEnable=false
    
    AutomaticLogin=username
    AutomaticLoginEnable=False
    
    [security]
    
    [xdmcp]
    
    [greeter]
    # If true show all the users, if false show the last connected users
    IncludeAll=true
    # User to always show in the user list
    Include=user
    
    [chooser]
    
    [debug]
    # Uncomment the line below to turn on debugging
    #Enable=true
    [user@localhost ~]$


    _nobody_

  3. #3
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    7,137
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)

    Re: Fedora 26 gdm login configuration???

    try adding a line include=root under include=user and see if root shows up again

  4. #4
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool Re: Fedora 26 gdm login configuration???

    Quote Originally Posted by antikythera
    try adding a line include=root under include=user and see if root shows up again
    Decent suggestion, AntiKerbera... I admit!

    I have tried it. Nothing costs to try what you have proposed, except few minutes lost. I already lost hours trying to find some reliable hook, over which I can stabilize this issue. Without any success!

    But the sggestion brought almost nothing. I still have only root shown as login screen.

    Here is my /etc/gdm/custom.conf, now:

    user@localhost ~]$ cd /etc/gdm
    [user@localhost gdm]$ ls -al
    total 44
    drwxr-xr-x. 6 root root 4096 Jun 17 19:30 .
    drwxr-xr-x. 159 root root 12288 Jun 17 19:31 ..
    -rw-r--r--. 1 root root 425 Jun 17 19:30 custom.conf
    -rw-r--r--. 1 root root 438 Jun 17 19:26 custom.conf~
    -rw-r--r--. 1 root root 274 Jun 17 00:28 custom.conf.rpmsave
    drwxr-xr-x. 2 root root 4096 Jun 17 00:49 Init
    drwxr-xr-x. 2 root root 4096 Jun 17 00:49 PostLogin
    drwxr-xr-x. 2 root root 4096 Jun 17 00:49 PostSession
    drwxr-xr-x. 2 root root 4096 Jun 17 00:49 PreSession
    lrwxrwxrwx. 1 root root 21 May 10 10:35 Xsession -> ../X11/xinit/Xsession
    [user@localhost gdm]$ pwd
    /etc/gdm
    [user@localhost gdm]$ cat custom.conf
    # GDM configuration storage

    [daemon]
    # Uncoment the line below to force the login screen to use Xorg
    #WaylandEnable=false

    AutomaticLogin=username
    AutomaticLoginEnable=False

    [security]

    [xdmcp]

    [greeter]
    # If true show all the users, if false show the last connected users
    IncludeAll=true
    # User to always show in the user list
    Include=user


    [chooser]

    [debug]
    # Uncomment the line below to turn on debugging
    #Enable=true
    [user@localhost gdm]$
    The following instead of RED:
    # User to always show in the user list
    Include=user
    Include=root


    Does the same!

    And I discovered another very weird behavior, while to try to logon as root! If the root screen is there, it always fails, but if I try to change user, and enter other user to be root, and correct root passwd, it logs-in GNOME DT and pops-up xterm as #?!

    Anyway, I'll continue to investigate this issue. I have to sharpen my mind.

    _nobody_

  5. #5
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    11,465
    Mentioned
    89 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 26 gdm login configuration???

    Maybe try the changes noted in sections 2.9, 2.10, 2.11 here?:

    https://wiki.archlinux.org/index.php...t_GDM_sessions

    that is for Arch but it should be similar to Fedora, the page seems relatively recent ("last modified" at end of May 2017)

  6. #6
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Re: Fedora 26 gdm login configuration???

    Add or edit GDM sessions
    Each session is a .desktop file located at /usr/share/xsessions/.
    To add a new session:
    1. Copy an existing .desktop file to use as a template for a new session:
    $ cd /usr/share/xsessions
    # cp gnome.desktop other.desktop
    No file .desktop in /usr/share/xsessions/ ?!

    Code:
    [user@localhost gdm]$ cd /usr/share/xsessions/
    [user@localhost xsessions]$ ls -al
    total 40
    drwxr-xr-x.   2 root root  4096 Jun 17 00:49 .
    drwxr-xr-x. 365 root root 12288 Jun 17 03:17 ..
    -rw-r--r--.   1 root root  7512 May 11 15:33 gnome-classic.desktop
    -rw-r--r--.   1 root root  7551 Apr 12 18:14 gnome.desktop
    -rw-r--r--.   1 root root  7248 Apr 12 18:14 gnome-xorg.desktop
    [user@localhost xsessions]$
    Should I copy gnome.desktop to .desktop

    _nobody_

  7. #7
    Join Date
    Oct 2005
    Location
    British Columbia, Canada
    Posts
    1,064
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 26 gdm login configuration???

    Quote Originally Posted by nobody
    No file .desktop in /usr/share/xsessions/ ?!

    Code:
    [user@localhost gdm]$ cd /usr/share/xsessions/
    [user@localhost xsessions]$ ls -al
    total 40
    drwxr-xr-x.   2 root root  4096 Jun 17 00:49 .
    drwxr-xr-x. 365 root root 12288 Jun 17 03:17 ..
    -rw-r--r--.   1 root root  7512 May 11 15:33 gnome-classic.desktop
    -rw-r--r--.   1 root root  7551 Apr 12 18:14 gnome.desktop
    -rw-r--r--.   1 root root  7248 Apr 12 18:14 gnome-xorg.desktop
    [user@localhost xsessions]$
    Should I copy gnome.desktop to .desktop

    _nobody_
    Hi nobody
    I think they meant copy <gnome.desktop> to <gnome.desktop.old> and then 'edit' gnome.desktop for whatever you are trying to change/add/delete. If it fails restore gnome.desktop.old to gnome.desktop and you are back to where you started.
    hence
    Code:
    cp gnome.desktop gnome.desktop.old
    then
    Code:
    gedit ./gnome.desktop &
    make changes then reboot and see if you get the outcome you desire.
    Hope this help
    Robert :)

  8. #8
    Join Date
    Mar 2012
    Location
    München, Deutschland
    Posts
    897
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Re: Fedora 26 gdm login configuration???

    According to this manual: https://help.gnome.org/admin/gdm/2.3...xsessionscript I correctly configured my /etc/gdm/custom.conf .

    And, as result of this (miss)understanding, the following came out of my F26 kitchen:
    https://bugzilla.redhat.com/show_bug.cgi?id=1462512

    _nobody_

Similar Threads

  1. Replies: 12
    Last Post: 7th April 2010, 08:16 AM
  2. login window "can i change my login screen in fedora 10
    By oshan1991 in forum Using Fedora
    Replies: 15
    Last Post: 31st October 2009, 12:11 PM
  3. Replies: 2
    Last Post: 12th June 2009, 09:04 PM
  4. Replies: 1
    Last Post: 8th June 2009, 04:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]