LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 08-23-2011, 10:43 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
how to enable a simple terminal session on kdm?


Hi!

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?

Thanks for your help
 
Old 08-23-2011, 11:41 PM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
I managed to solve it. http://maratux.blogspot.com/2011/08/...pe-to-kdm.html
 
Old 09-02-2011, 02:58 PM   #3
gefagan
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
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
 
Old 09-02-2011, 04:33 PM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
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.
 
Old 09-02-2011, 09:12 PM   #5
gefagan
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
  


Reply

Tags
failsafe, kdm


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
How can enable kdm in Suse 10.2? marcoguillen Linux - Software 1 03-22-2007 06:41 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM
Adding a WM to the KDM Session List indienick Mandriva 2 07-03-2006 07:49 PM
where is kdm session configuration? npn Slackware 3 12-17-2005 09:32 AM
How enable kdm in debian dauphinfay Debian 1 11-20-2005 08:32 AM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration