[SOLVED] how to enable a simple terminal session on kdm?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to have a little fun with kde (development) and I certainly don't want to mess around with things on my normal user so I thought of starting a plain failsafe session with another user from kdm (which I have available on the kdm menu... not the plasma failsafe one but a plain failsafe). This session should (or at least it was so on the old days) start a plain terminal and that's about it. No desktop. But when I start it, nothing happens and I get back to kdm... not what I expected.
I checked on /usr/share/kde4/apps/kdm/sessions/ and all available sessions (active and inactive as well) are defined there though no "failsafe" session is defined there (though it's on kdm's menu). I thought that I might create a simple file that called rxvt, for example... but then how do I make it show up on kdm's menu? Is there a separate location where the active session types are defined?
Howdy eantoranz, thanks for the explanation. I have something of the opposite problem: Too much junk in my KDM. There's metacity and twm that do nothing, two version of KDE Plasma in addition to default which is also KDE. In the process of your research, did you find out how to make the junk disappear? -GEF
Oh, that I didn't find. But if you learn something about how to do that, let me know. Check the directories specified on kdmrc where the sessions are defined... perhaps there are files in those directories that you will be able to identify easily.
Much of what the internet has on this subject is obsolete, but I found a gem. In the directory "/usr/share/kde4/apps/kdm/sessions" find a bunch of *.desktop files. For the ones that appear in your kdm menu, open each with KWrite and add the line "Hidden=True". (Bizarrely, the ones that don't appear in my KDM menu lack this line.) Also, you can create custom.desktop, default.desktop, and failsafe.desktop, also with the line "Hidden=True" to get rid of their entries as well. I now have a nice, short menu where every choice does something. It seems that anything in the directory "/usr/share/xsessions" is superceded by contents of the kdm sessions directory. If it matters, my distro is openSUSE 11.4. -GEF
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.