Automatic login still doesn't work after editing custom.conf












3














I've edited /etc/gdm/custom.conf to show the following:



[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username


Where username is obviously the username I'd like to automatically log into.



I don't know if it matters or not, but I do have multiple users. In mind this should not matter, however, since we're specifying a username here in the settings.



I'm using RHEL6.4. Any ideas?










share|improve this question
























  • I do not have a RHEL6 install handy but I'd give these methods a try as well. crazyedy.com/tech/?p=52
    – slm
    Jan 2 '14 at 15:05










  • Yeah, I've seen that guide. I don't have /usr/share/gdm/defaults.conf, but I'm not sure I am suppose to in light of having /etc/gdm/custom.conf. Should I?
    – Stradigos
    Jan 2 '14 at 15:16










  • I would try what's discussed in that post, but do it a piece at a time, and if something wasn't there and it didn't work, back it out afterwards.
    – slm
    Jan 2 '14 at 15:21










  • Again, I have. It's not that difficult of a guide to follow. Open up /etc/gdm/custom.conf and change those values. I get it. I did so, and no dice. It doesn't make sense to me either. It really should be that simple to do. I don't mean to sound rude, I'm just growing frustrated. When it comes to solving this everything I've found has been like listening to a broken record playing the same thing over and over again.
    – Stradigos
    Jan 2 '14 at 15:27










  • OK, sorry didn't mean to offend, just looking to eliminate everything we can from the list of possible leads. When I've done this in the past it really has been that simple, so you might have found a bug. Do you have a paid subscription for RHEL?
    – slm
    Jan 2 '14 at 15:28


















3














I've edited /etc/gdm/custom.conf to show the following:



[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username


Where username is obviously the username I'd like to automatically log into.



I don't know if it matters or not, but I do have multiple users. In mind this should not matter, however, since we're specifying a username here in the settings.



I'm using RHEL6.4. Any ideas?










share|improve this question
























  • I do not have a RHEL6 install handy but I'd give these methods a try as well. crazyedy.com/tech/?p=52
    – slm
    Jan 2 '14 at 15:05










  • Yeah, I've seen that guide. I don't have /usr/share/gdm/defaults.conf, but I'm not sure I am suppose to in light of having /etc/gdm/custom.conf. Should I?
    – Stradigos
    Jan 2 '14 at 15:16










  • I would try what's discussed in that post, but do it a piece at a time, and if something wasn't there and it didn't work, back it out afterwards.
    – slm
    Jan 2 '14 at 15:21










  • Again, I have. It's not that difficult of a guide to follow. Open up /etc/gdm/custom.conf and change those values. I get it. I did so, and no dice. It doesn't make sense to me either. It really should be that simple to do. I don't mean to sound rude, I'm just growing frustrated. When it comes to solving this everything I've found has been like listening to a broken record playing the same thing over and over again.
    – Stradigos
    Jan 2 '14 at 15:27










  • OK, sorry didn't mean to offend, just looking to eliminate everything we can from the list of possible leads. When I've done this in the past it really has been that simple, so you might have found a bug. Do you have a paid subscription for RHEL?
    – slm
    Jan 2 '14 at 15:28
















3












3








3







I've edited /etc/gdm/custom.conf to show the following:



[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username


Where username is obviously the username I'd like to automatically log into.



I don't know if it matters or not, but I do have multiple users. In mind this should not matter, however, since we're specifying a username here in the settings.



I'm using RHEL6.4. Any ideas?










share|improve this question















I've edited /etc/gdm/custom.conf to show the following:



[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username


Where username is obviously the username I'd like to automatically log into.



I don't know if it matters or not, but I do have multiple users. In mind this should not matter, however, since we're specifying a username here in the settings.



I'm using RHEL6.4. Any ideas?







rhel gnome login autologin






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 20 '18 at 0:17









Rui F Ribeiro

39k1479130




39k1479130










asked Jan 2 '14 at 12:49









Stradigos

14717




14717












  • I do not have a RHEL6 install handy but I'd give these methods a try as well. crazyedy.com/tech/?p=52
    – slm
    Jan 2 '14 at 15:05










  • Yeah, I've seen that guide. I don't have /usr/share/gdm/defaults.conf, but I'm not sure I am suppose to in light of having /etc/gdm/custom.conf. Should I?
    – Stradigos
    Jan 2 '14 at 15:16










  • I would try what's discussed in that post, but do it a piece at a time, and if something wasn't there and it didn't work, back it out afterwards.
    – slm
    Jan 2 '14 at 15:21










  • Again, I have. It's not that difficult of a guide to follow. Open up /etc/gdm/custom.conf and change those values. I get it. I did so, and no dice. It doesn't make sense to me either. It really should be that simple to do. I don't mean to sound rude, I'm just growing frustrated. When it comes to solving this everything I've found has been like listening to a broken record playing the same thing over and over again.
    – Stradigos
    Jan 2 '14 at 15:27










  • OK, sorry didn't mean to offend, just looking to eliminate everything we can from the list of possible leads. When I've done this in the past it really has been that simple, so you might have found a bug. Do you have a paid subscription for RHEL?
    – slm
    Jan 2 '14 at 15:28




















  • I do not have a RHEL6 install handy but I'd give these methods a try as well. crazyedy.com/tech/?p=52
    – slm
    Jan 2 '14 at 15:05










  • Yeah, I've seen that guide. I don't have /usr/share/gdm/defaults.conf, but I'm not sure I am suppose to in light of having /etc/gdm/custom.conf. Should I?
    – Stradigos
    Jan 2 '14 at 15:16










  • I would try what's discussed in that post, but do it a piece at a time, and if something wasn't there and it didn't work, back it out afterwards.
    – slm
    Jan 2 '14 at 15:21










  • Again, I have. It's not that difficult of a guide to follow. Open up /etc/gdm/custom.conf and change those values. I get it. I did so, and no dice. It doesn't make sense to me either. It really should be that simple to do. I don't mean to sound rude, I'm just growing frustrated. When it comes to solving this everything I've found has been like listening to a broken record playing the same thing over and over again.
    – Stradigos
    Jan 2 '14 at 15:27










  • OK, sorry didn't mean to offend, just looking to eliminate everything we can from the list of possible leads. When I've done this in the past it really has been that simple, so you might have found a bug. Do you have a paid subscription for RHEL?
    – slm
    Jan 2 '14 at 15:28


















I do not have a RHEL6 install handy but I'd give these methods a try as well. crazyedy.com/tech/?p=52
– slm
Jan 2 '14 at 15:05




I do not have a RHEL6 install handy but I'd give these methods a try as well. crazyedy.com/tech/?p=52
– slm
Jan 2 '14 at 15:05












Yeah, I've seen that guide. I don't have /usr/share/gdm/defaults.conf, but I'm not sure I am suppose to in light of having /etc/gdm/custom.conf. Should I?
– Stradigos
Jan 2 '14 at 15:16




Yeah, I've seen that guide. I don't have /usr/share/gdm/defaults.conf, but I'm not sure I am suppose to in light of having /etc/gdm/custom.conf. Should I?
– Stradigos
Jan 2 '14 at 15:16












I would try what's discussed in that post, but do it a piece at a time, and if something wasn't there and it didn't work, back it out afterwards.
– slm
Jan 2 '14 at 15:21




I would try what's discussed in that post, but do it a piece at a time, and if something wasn't there and it didn't work, back it out afterwards.
– slm
Jan 2 '14 at 15:21












Again, I have. It's not that difficult of a guide to follow. Open up /etc/gdm/custom.conf and change those values. I get it. I did so, and no dice. It doesn't make sense to me either. It really should be that simple to do. I don't mean to sound rude, I'm just growing frustrated. When it comes to solving this everything I've found has been like listening to a broken record playing the same thing over and over again.
– Stradigos
Jan 2 '14 at 15:27




Again, I have. It's not that difficult of a guide to follow. Open up /etc/gdm/custom.conf and change those values. I get it. I did so, and no dice. It doesn't make sense to me either. It really should be that simple to do. I don't mean to sound rude, I'm just growing frustrated. When it comes to solving this everything I've found has been like listening to a broken record playing the same thing over and over again.
– Stradigos
Jan 2 '14 at 15:27












OK, sorry didn't mean to offend, just looking to eliminate everything we can from the list of possible leads. When I've done this in the past it really has been that simple, so you might have found a bug. Do you have a paid subscription for RHEL?
– slm
Jan 2 '14 at 15:28






OK, sorry didn't mean to offend, just looking to eliminate everything we can from the list of possible leads. When I've done this in the past it really has been that simple, so you might have found a bug. Do you have a paid subscription for RHEL?
– slm
Jan 2 '14 at 15:28












1 Answer
1






active

oldest

votes


















1














I'm not an expert in this but I would suggest first to make sure gdm is actually your current display manager and that you're using the correct file: check the output of cat /etc/sysconfig/desktop and take a look if there are other .conf files in /etc/gdm/. Maybe trying renaming the file to gdm.conf.



Also, did you try GUI solutions or do you require something that can be done from command line? You should be able to configure gdm with sudo gdmsetup.






share|improve this answer























  • There you have comment rights now. Leave this though, it's actually enough of a answer fragment. See if you can flesh it out further.
    – slm
    Jan 2 '14 at 14:52












  • I don't have /etc/sysconfig/desktop and the only conf file I have in /etc/gdm is custom.conf. You mentioned renaming the custom.conf file to gdm.conf. What would be searching for a conf file of that name? I see scripts looking for custom.conf, but not a gdm.conf. Also, gdmsetup doesn't work.
    – Stradigos
    Jan 2 '14 at 15:23










  • @Stradigos Sorry, that was just a wild guess, since mdm uses mdm.conf. After some research it seems that gdmsetup was deprecated which seems weird to me. This link said /etc/sysconfig/desktop should exist in Red Hat but I can't test that on my distro. At this point I don't really don't know about anything that could help you, other than try if something happens after running sudo dpkg-reconfigure gdm (which you probably did at some point already).
    – user2044638
    Jan 2 '14 at 15:46






  • 1




    @slm Oh well, thanks. That's generous of you. I'll use this privilege wisely.
    – user2044638
    Jan 2 '14 at 15:50










  • There's some relevant info on this page: wiki.archlinux.org/index.php/GDM#Configuration. Some of it's ArchLinux specific but the rest is related to RHEL.
    – slm
    Jan 2 '14 at 16:39











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f107539%2fautomatic-login-still-doesnt-work-after-editing-custom-conf%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I'm not an expert in this but I would suggest first to make sure gdm is actually your current display manager and that you're using the correct file: check the output of cat /etc/sysconfig/desktop and take a look if there are other .conf files in /etc/gdm/. Maybe trying renaming the file to gdm.conf.



Also, did you try GUI solutions or do you require something that can be done from command line? You should be able to configure gdm with sudo gdmsetup.






share|improve this answer























  • There you have comment rights now. Leave this though, it's actually enough of a answer fragment. See if you can flesh it out further.
    – slm
    Jan 2 '14 at 14:52












  • I don't have /etc/sysconfig/desktop and the only conf file I have in /etc/gdm is custom.conf. You mentioned renaming the custom.conf file to gdm.conf. What would be searching for a conf file of that name? I see scripts looking for custom.conf, but not a gdm.conf. Also, gdmsetup doesn't work.
    – Stradigos
    Jan 2 '14 at 15:23










  • @Stradigos Sorry, that was just a wild guess, since mdm uses mdm.conf. After some research it seems that gdmsetup was deprecated which seems weird to me. This link said /etc/sysconfig/desktop should exist in Red Hat but I can't test that on my distro. At this point I don't really don't know about anything that could help you, other than try if something happens after running sudo dpkg-reconfigure gdm (which you probably did at some point already).
    – user2044638
    Jan 2 '14 at 15:46






  • 1




    @slm Oh well, thanks. That's generous of you. I'll use this privilege wisely.
    – user2044638
    Jan 2 '14 at 15:50










  • There's some relevant info on this page: wiki.archlinux.org/index.php/GDM#Configuration. Some of it's ArchLinux specific but the rest is related to RHEL.
    – slm
    Jan 2 '14 at 16:39
















1














I'm not an expert in this but I would suggest first to make sure gdm is actually your current display manager and that you're using the correct file: check the output of cat /etc/sysconfig/desktop and take a look if there are other .conf files in /etc/gdm/. Maybe trying renaming the file to gdm.conf.



Also, did you try GUI solutions or do you require something that can be done from command line? You should be able to configure gdm with sudo gdmsetup.






share|improve this answer























  • There you have comment rights now. Leave this though, it's actually enough of a answer fragment. See if you can flesh it out further.
    – slm
    Jan 2 '14 at 14:52












  • I don't have /etc/sysconfig/desktop and the only conf file I have in /etc/gdm is custom.conf. You mentioned renaming the custom.conf file to gdm.conf. What would be searching for a conf file of that name? I see scripts looking for custom.conf, but not a gdm.conf. Also, gdmsetup doesn't work.
    – Stradigos
    Jan 2 '14 at 15:23










  • @Stradigos Sorry, that was just a wild guess, since mdm uses mdm.conf. After some research it seems that gdmsetup was deprecated which seems weird to me. This link said /etc/sysconfig/desktop should exist in Red Hat but I can't test that on my distro. At this point I don't really don't know about anything that could help you, other than try if something happens after running sudo dpkg-reconfigure gdm (which you probably did at some point already).
    – user2044638
    Jan 2 '14 at 15:46






  • 1




    @slm Oh well, thanks. That's generous of you. I'll use this privilege wisely.
    – user2044638
    Jan 2 '14 at 15:50










  • There's some relevant info on this page: wiki.archlinux.org/index.php/GDM#Configuration. Some of it's ArchLinux specific but the rest is related to RHEL.
    – slm
    Jan 2 '14 at 16:39














1












1








1






I'm not an expert in this but I would suggest first to make sure gdm is actually your current display manager and that you're using the correct file: check the output of cat /etc/sysconfig/desktop and take a look if there are other .conf files in /etc/gdm/. Maybe trying renaming the file to gdm.conf.



Also, did you try GUI solutions or do you require something that can be done from command line? You should be able to configure gdm with sudo gdmsetup.






share|improve this answer














I'm not an expert in this but I would suggest first to make sure gdm is actually your current display manager and that you're using the correct file: check the output of cat /etc/sysconfig/desktop and take a look if there are other .conf files in /etc/gdm/. Maybe trying renaming the file to gdm.conf.



Also, did you try GUI solutions or do you require something that can be done from command line? You should be able to configure gdm with sudo gdmsetup.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 2 '14 at 14:51









slm

247k66511677




247k66511677










answered Jan 2 '14 at 14:47









user2044638

1797




1797












  • There you have comment rights now. Leave this though, it's actually enough of a answer fragment. See if you can flesh it out further.
    – slm
    Jan 2 '14 at 14:52












  • I don't have /etc/sysconfig/desktop and the only conf file I have in /etc/gdm is custom.conf. You mentioned renaming the custom.conf file to gdm.conf. What would be searching for a conf file of that name? I see scripts looking for custom.conf, but not a gdm.conf. Also, gdmsetup doesn't work.
    – Stradigos
    Jan 2 '14 at 15:23










  • @Stradigos Sorry, that was just a wild guess, since mdm uses mdm.conf. After some research it seems that gdmsetup was deprecated which seems weird to me. This link said /etc/sysconfig/desktop should exist in Red Hat but I can't test that on my distro. At this point I don't really don't know about anything that could help you, other than try if something happens after running sudo dpkg-reconfigure gdm (which you probably did at some point already).
    – user2044638
    Jan 2 '14 at 15:46






  • 1




    @slm Oh well, thanks. That's generous of you. I'll use this privilege wisely.
    – user2044638
    Jan 2 '14 at 15:50










  • There's some relevant info on this page: wiki.archlinux.org/index.php/GDM#Configuration. Some of it's ArchLinux specific but the rest is related to RHEL.
    – slm
    Jan 2 '14 at 16:39


















  • There you have comment rights now. Leave this though, it's actually enough of a answer fragment. See if you can flesh it out further.
    – slm
    Jan 2 '14 at 14:52












  • I don't have /etc/sysconfig/desktop and the only conf file I have in /etc/gdm is custom.conf. You mentioned renaming the custom.conf file to gdm.conf. What would be searching for a conf file of that name? I see scripts looking for custom.conf, but not a gdm.conf. Also, gdmsetup doesn't work.
    – Stradigos
    Jan 2 '14 at 15:23










  • @Stradigos Sorry, that was just a wild guess, since mdm uses mdm.conf. After some research it seems that gdmsetup was deprecated which seems weird to me. This link said /etc/sysconfig/desktop should exist in Red Hat but I can't test that on my distro. At this point I don't really don't know about anything that could help you, other than try if something happens after running sudo dpkg-reconfigure gdm (which you probably did at some point already).
    – user2044638
    Jan 2 '14 at 15:46






  • 1




    @slm Oh well, thanks. That's generous of you. I'll use this privilege wisely.
    – user2044638
    Jan 2 '14 at 15:50










  • There's some relevant info on this page: wiki.archlinux.org/index.php/GDM#Configuration. Some of it's ArchLinux specific but the rest is related to RHEL.
    – slm
    Jan 2 '14 at 16:39
















There you have comment rights now. Leave this though, it's actually enough of a answer fragment. See if you can flesh it out further.
– slm
Jan 2 '14 at 14:52






There you have comment rights now. Leave this though, it's actually enough of a answer fragment. See if you can flesh it out further.
– slm
Jan 2 '14 at 14:52














I don't have /etc/sysconfig/desktop and the only conf file I have in /etc/gdm is custom.conf. You mentioned renaming the custom.conf file to gdm.conf. What would be searching for a conf file of that name? I see scripts looking for custom.conf, but not a gdm.conf. Also, gdmsetup doesn't work.
– Stradigos
Jan 2 '14 at 15:23




I don't have /etc/sysconfig/desktop and the only conf file I have in /etc/gdm is custom.conf. You mentioned renaming the custom.conf file to gdm.conf. What would be searching for a conf file of that name? I see scripts looking for custom.conf, but not a gdm.conf. Also, gdmsetup doesn't work.
– Stradigos
Jan 2 '14 at 15:23












@Stradigos Sorry, that was just a wild guess, since mdm uses mdm.conf. After some research it seems that gdmsetup was deprecated which seems weird to me. This link said /etc/sysconfig/desktop should exist in Red Hat but I can't test that on my distro. At this point I don't really don't know about anything that could help you, other than try if something happens after running sudo dpkg-reconfigure gdm (which you probably did at some point already).
– user2044638
Jan 2 '14 at 15:46




@Stradigos Sorry, that was just a wild guess, since mdm uses mdm.conf. After some research it seems that gdmsetup was deprecated which seems weird to me. This link said /etc/sysconfig/desktop should exist in Red Hat but I can't test that on my distro. At this point I don't really don't know about anything that could help you, other than try if something happens after running sudo dpkg-reconfigure gdm (which you probably did at some point already).
– user2044638
Jan 2 '14 at 15:46




1




1




@slm Oh well, thanks. That's generous of you. I'll use this privilege wisely.
– user2044638
Jan 2 '14 at 15:50




@slm Oh well, thanks. That's generous of you. I'll use this privilege wisely.
– user2044638
Jan 2 '14 at 15:50












There's some relevant info on this page: wiki.archlinux.org/index.php/GDM#Configuration. Some of it's ArchLinux specific but the rest is related to RHEL.
– slm
Jan 2 '14 at 16:39




There's some relevant info on this page: wiki.archlinux.org/index.php/GDM#Configuration. Some of it's ArchLinux specific but the rest is related to RHEL.
– slm
Jan 2 '14 at 16:39


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f107539%2fautomatic-login-still-doesnt-work-after-editing-custom-conf%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

List directoties down one level, excluding some named directories and files

list processes belonging to a network namespace

List all connected SSH sessions?