LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-24-2014, 03:49 AM   #1
wiad
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Rep: Reputation: Disabled
unable to switch from gnome-classic to gnome in RHEL7


In gdm login screen I have the option to choose either gnome-classic or 'regular' gnome. gnome-classic is default in RHEL7, but even if I choose 'gnome' I still get logged in to gnome-classic. If i switch within my session with "gnome-shell --mode=user -r &" it works, but not via login screen.

Anyone have an idea if I'm missing something or is this a bug?

Regards,
Adam
 
Old 10-25-2014, 08:28 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
How much RAM and video RAM do you have? Gnome Classic can serve as a fall-back mode when Gnome v. 3 does not see enough RAM.
 
Old 10-26-2014, 12:16 AM   #3
wiad
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
This happens on several laptops, among them spanking new HP 820 laptops, so resources should not be an issue. Interesting thought though. Unfortunately I have found no logs of seeming interest as this happens so I feel a bit in the dark here.
 
Old 10-26-2014, 12:36 PM   #4
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Strange, I install RHEL7 on quite a few vms with very limited resources (1 vcpu, 512mb), and I never see it do a fallback.

How did you install RHEL? Did you install any other window managers?
 
Old 10-26-2014, 02:12 PM   #5
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
You can get the code here, too, I guess: https://code.google.com/p/autokey/
 
Old 10-26-2014, 03:48 PM   #6
wiad
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
I install using kickstart, including the gnome-desktop packagegroup. I dont install any other wm (or de). I do however exclude some packages, and even though it feels far-fetched i will do a 'complete' install of gnome-desktop and see if that changes things. But i guess there must be something in my customisation that makes it break, just need to find it. Any advice on how to debug this?
 
Old 10-26-2014, 05:13 PM   #7
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Try installing the following groups, instead:

Server with GUI
Graphical Administration Tools

You may be able to skip the second group if you're going for a minimal install.
 
Old 10-28-2014, 02:15 PM   #8
wiad
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
This is a client installation, 'server with gui' group is not available. I did however try with gnome-desktop which pulled in quite a lot of packages (none which felt really relevant though) and this worked the first time I tried it. Then I did a fresh install and could not get it to work again. The only way to make it work consistently is to uninstall the 'gnome-classic-session' package so 'regular' gnome is the only option available - then I get a gnome session. Weird, I really want to know whats going on here. Anyone have more insight into which components are used and for what at logon and session selecting (gdm, xsession, logind, accounts-daemon, pam)?
 
Old 10-28-2014, 04:35 PM   #9
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
wiad, did you read this?

https://access.redhat.com/documentat...e-classic.html

Specifically:

Quote:
1.3.3. Disabling GNOME Classic as the Default Session

For all newly created users on Red Hat Enterprise Linux 7, GNOME Classic is set as the default session. To override that setting for a specific user, you need to modify the user's account service in the /var/lib/AccountsService/users/username file. See Section 14.3.2, “Configuring a User Default Session” for details on how to do that.

Last edited by GaWdLy; 10-28-2014 at 05:48 PM.
 
Old 10-29-2014, 12:01 AM   #10
wiad
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
thanks for sticking with me! Yeah, I read and tried that, but it doesnt work. I don't see any difference in the session menu, and even if I change that file to 'gnome', accounts-daemon changes it right back when I try to login (tested with auditctl to see which process changes the file). However, that file seems to me to be for setting the default for a new user. classic is fine as a default, but I of course want my users to be able to choose gnome regular if they want (preferably without having to uninstall the gnome-classic-session package.
 
Old 11-01-2014, 06:14 AM   #11
wiad
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Well, we found the problem. We're using smartcard authentication (didnt mention it since I did not think it mattered) and pam_pkcs11, and when the latter is set to 'card_only', i.e get username from card instead of prompting for it, the profile chooser is broken. Normally in gdm login you choose you username or supply it via a prompt, and then that information is used to check your session profile settings. Well, using smartcard with card_only, the username is not passed to gdm and therefore your session settings does not stick.

Created a bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1159056
 
Old 11-01-2014, 09:57 PM   #12
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
Interesting!

I knew there had to be a reason that we hadn't stumbled upon when we were troubleshooting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome-classic xwmconfig scarrs Slackware 5 08-19-2014 04:41 PM
LXer: From GNOME 3 to GNOME Classic in 3 extensions, or why GNOME Classic has become redundant LXer Syndicated Linux News 1 06-06-2014 01:58 AM
[SOLVED] Unable to login to my Ubuntu 13.10 but can login to my Gnome Classic? herakles_14 Ubuntu 17 10-26-2013 04:24 PM
Switch frome Classic Gnome to Shell vasil_pashov Linux - Desktop 5 01-21-2012 07:13 AM
LXer: How To Change GNOME 3 (GNOME Shell Or Classic) GTK / Mutter / Metacity Theme LXer Syndicated Linux News 0 04-25-2011 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration