LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2003, 05:24 PM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
SuSe 8.1 xlogin troubles


I wanted to include Blackbox among the window managers available on the Xlogin window in SuSe 8.1, so I edited my ~/.xinitrc, adding the same (two) lines as there were for other window managers like fvwm2.

Since Blackbox still did not appear on the login window in the list of available WMs, I finally found kdm in the control center, and added blackbox to the list of available session types. I wondered why there were only 'default', 'kde', and 'failsafe' on
the list there, while I had other window managers like 'fvwm2', 'windowmaker', etc. on the login screen, but I thought I could give it a try.
I did not remember changing any other settings anywhere (at least not intentionally).

Now I have the following troubles:
- there are only default, kde, failsafe and blackbox on the list of available window managers on the login window, and the other window managers disappeared
- when I choose any window manager it does not start, but the xterminal shows up, intead, where I have to type the name of a window manager to start
- I cannot hide the xterminal, only minimize it (it will always be on the panel)
- when I choose system restart in kde, the system does not shutdown but stops at a certain stage, and I have to kill X (CTRL + ALT+ BACKSPACE) so as to continue system shutdown
- I cannot recover the original system configuration no matter what I try

Is there a way to recover my old xlogin system?
 
Old 09-20-2003, 05:45 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"- when I choose any window manager it does not start, but the xterminal shows up, intead, where I have to type the name of a window manager to start"

Whatever word you chose at the kdm window is simply passed as a parameter to the xinitrc script. The xinitrc script is supposed to take that keyword and then start the correct window manager program to run.

"so I edited my ~/.xinitrc, adding the same (two) lines as there were for other window managers like fvwm2."

You need to debug xinitrc. You have got it set up so that it never recognizes the window manager parameter and always falls through to the default which in your case seems to be to run a terminal.
 
Old 09-24-2003, 08:49 AM   #3
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
Quote:
You need to debug xinitrc. You have got it set up so that it never recognizes the window manager parameter and always falls through to the default which in your case seems to be to run a terminal.
You are right that my system falls back to the default, but I do not think that there should be any bugs in .xinitrc, since I undid all the changes in it.

I still have three important questions:
- how to add new item to the list of window managers appearing on the (original) login window
- what the h[e]ll are those session types I mentioned in my previous post. My system was hurt when I added blackbox as a fourth session type. It changed the login window, changed the list of available window managers, and the changes cannot be reset
- what files are concerned during xstartup
- any known SuSe specific issues (e.g. do not use kde control center, kdm, or SuSE)

Ever since I tried to change my session manager to xdm, which works without errors, but it automatically starts kde and I cannot choose between windows managers.
So I think I have to debug kdm.

Any help would be welcomed.
 
Old 09-24-2003, 11:00 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"- how to add new item to the list of window managers appearing on the (original) login window"

You can edit /etc/opt/kde3/share/config/kdm/kdmrc

Or

Login as root. Run the KDE Control Center and use the Session Management section.

"- what the h[e]ll are those session types I mentioned in my previous post. My system was hurt when I added blackbox as a fourth session type. It changed the login window, changed the list of available window managers, and the changes cannot be reset"

I think that blackbox setup does not do a good job of coexisting with the other window managers. It has a tendency to set things up so that only blackbox can be started. Other people have had this problem.

"- what files are concerned during xstartup"

kdm passes whatever window manager you choose as a parameter to startx which passed the parameter to .xinitrc. The .xinitrc script decides which program to run based on the value of the parameter passed to it.

"- any known SuSe specific issues (e.g. do not use kde control center, kdm, or SuSE)"

SuSE is OK. The faulty logic is in Blackbox setup.

"So I think I have to debug kdm."

Set up kdm to display the names of the window managers that you want. Then set up xinitrc to correctly decide which program to run.
 
  


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
SUSE 10.0 major troubles! newtwolinux SUSE / openSUSE 2 10-08-2005 06:19 AM
Suse 9.3 Installation troubles Saythein Linux - Software 2 09-11-2005 10:33 PM
Troubles with SuSe 9.1 firefork Linux - Newbie 4 04-24-2005 09:26 PM
SuSE 9.2 Upgrade Troubles apache363 Linux - Software 0 01-24-2005 05:38 PM
/sbin/xlogin file not found minor Linux - General 0 05-09-2001 05:37 AM


All times are GMT -5. The time now is 12:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration