Fedora Linux Support Community & Resources Center
  #1  
Old 16th June 2017, 11:35 AM
nobody Offline
Registered User
 
Join Date: Mar 2012
Location: München, Deutschland
Posts: 847
windows_98_nt_2000chrome
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_
__________________
I am nobody, and nobody is perfect, therefore I am perfect!
Reply With Quote
  #2  
Old 17th June 2017, 10:47 AM
nobody Offline
Registered User
 
Join Date: Mar 2012
Location: München, Deutschland
Posts: 847
windows_98_nt_2000chrome
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_
__________________
I am nobody, and nobody is perfect, therefore I am perfect!
Reply With Quote
  #3  
Old 17th June 2017, 11:01 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,763
linuxchrome
Re: Fedora 26 gdm login configuration???

try adding a line include=root under include=user and see if root shows up again
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #4  
Old 17th June 2017, 06:36 PM
nobody Offline
Registered User
 
Join Date: Mar 2012
Location: München, Deutschland
Posts: 847
windows_98_nt_2000chrome
Cool Re: Fedora 26 gdm login configuration???

Quote:
Originally Posted by antikythera View Post
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:

Quote:
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_
Reply With Quote
  #5  
Old 17th June 2017, 08:51 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 7,097
linuxfedorafirefox
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)
Reply With Quote
  #6  
Old 18th June 2017, 10:31 AM
nobody Offline
Registered User
 
Join Date: Mar 2012
Location: München, Deutschland
Posts: 847
windows_98_nt_2000chrome
Question Re: Fedora 26 gdm login configuration???

Quote:
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_
__________________
I am nobody, and nobody is perfect, therefore I am perfect!
Reply With Quote
  #7  
Old 18th June 2017, 08:28 PM
robertdaleweir Offline
Registered User
 
Join Date: Oct 2005
Location: British Columbia, Canada
Posts: 834
linuxfedorafirefox
Re: Fedora 26 gdm login configuration???

Quote:
Originally Posted by nobody View Post
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 :)
Kernel 4.10.17-100.fc24.x86_64 Gnome Software 3.20
CPU AMD FX-6300 Six Core AM3+
MoBo Gigabyte 78LMT-USB3 AMD760G AM3+ MicroATX
Memory 8 Gigs Gskill Ripjaw DDR3-1333 PC-10666
Reply With Quote
  #8  
Old 19th June 2017, 05:12 AM
nobody Offline
Registered User
 
Join Date: Mar 2012
Location: München, Deutschland
Posts: 847
windows_98_nt_2000chrome
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_
__________________
I am nobody, and nobody is perfect, therefore I am perfect!
Reply With Quote
Reply

Tags
configuration, fedora, gdm, login

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GDM configuration to hide a specific user group from Login Screen ajamison Using Fedora 12 7th April 2010 08:16 AM
login window "can i change my login screen in fedora 10 oshan1991 Using Fedora 15 31st October 2009 12:11 PM
Fedora 11 ldap gui login/logon fails (console login works) skotay Using Fedora 2 12th June 2009 09:04 PM
Fedora Core 10: Login Window to enable automatic login bghayad Using Fedora 1 8th June 2009 04:27 PM


Current GMT-time: 03:08 (Friday, 18-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat