LinuxQuestions.org
Help answer threads with 0 replies.
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 09-23-2008, 09:39 AM   #16
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Original Poster
Rep: Reputation: 15

1 S 0 40 2 0 75 -5 - 0 - ? 00:00:04 kblockd/0
4 S 1000 14037 13959 0 80 0 - 1077 - ? 00:00:00 startkde
1 S 1000 14268 1 0 80 0 - 8102 - ? 00:00:00 kdeinit4
1 S 1000 14271 1 1 80 0 - 17239 - ? 00:00:02 kded4
1 S 1000 14412 1 0 80 0 - 6468 - ? 00:00:00 kdeinit
1 S 1000 14422 1 0 80 0 - 7278 - ? 00:00:00 kded

Still in KDE BTW
 
Old 09-23-2008, 04:06 PM   #17
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
You are still running kde4, which is not being stopped by /etc/init.d/kdm stop because that seems to be for stopping kde3 only.
I do not know how to stop kde4 - maybe you could try searching on this.

But now we have a little more information, we can maybe help better.

Try this:
<CTRL><ALT><F1> to get a console login.
Login as yourself, then become root (as before)
Then:
Code:
ps -Al | grep kd
[Edit]I meant "kd" in the above code post - Not a typo for "kde", as I'd like to catch something like kdm4 in that filter [/Edit]
Then start killing of kde processes, I'd start by killing startkde. That will probably kill KDE, but may not kill kde4's display manager which shows you the login screen. We can try though:
So, again:
Code:
ps -Al | grep kd
If any kde processes are still running, kill them.

Go back to your GUI screen - usually <CTRL><ALT><F7>
Looks dead yet?
If not, go back to your terminal screen with <CTRL><ALT><F1> and murder a few more kde processes.

When you are happy kde4 is truly dead, start a gnome session with
/etc/init.d/gdm start
Go back to your GUI screen - usually <CTRL><ALT><F7>
Before you do anything else, Select Gnome as your GUI. (Look very carefully at your login screen as to how to do this, there's usually a small button somewhere).
Then login as usual.

You should be back in gnome. Happy command lines and good luck.

If that fails, in a <CTRL><ALT><F1> terminal and as root do
Code:
apt-get remove kde4
Then reboot. Hopefully you will find yourself at a terminal prompt. Go straight to "When you are happy kde4 is truly dead" (above) and start a gnome session.

I do wish people would realise that kde4 is still under heavy development, and you should perhaps resist the temptation to play with it unless you know what you are doing, or are prepared to suffer the consequences.

Anyway, let us know how you get on. I am very busy for the next few days, but will probably keep a watch on this thread if and when I am able.

Last edited by tredegar; 09-23-2008 at 04:12 PM. Reason: annotated
 
Old 09-23-2008, 08:22 PM   #18
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Original Poster
Rep: Reputation: 15
root@ray-desktop:~# ps -Al | grep kd
1 S 0 40 2 0 75 -5 - 0 - ? 00:00:05 kblockd/0
4 S 1000 14037 13959 0 80 0 - 1077 - ? 00:00:00 startkde
1 S 1000 14268 1 0 80 0 - 8102 - ? 00:00:00 kdeinit4
1 S 1000 14271 1 0 80 0 - 17239 - ? 00:00:05 kded4
1 S 1000 14412 1 0 80 0 - 6468 - ? 00:00:00 kdeinit
1 S 1000 14422 1 0 80 0 - 9064 - ? 00:00:34 kded

o.k. I read up on the kill command but not sure which number above are the process number. I expect to use "kill 1077" or the like.

I tried apt-get remove kde4 for the fun of it and it said it was not installed.....

Thanks

Sorry I'm a bit new at this one.

Last edited by rgreeves; 09-23-2008 at 11:21 PM.
 
Old 09-24-2008, 03:12 AM   #19
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
OK.
Here's the first bit of the output of ps -Al on my PC:
Code:
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
4 S     0     1     0  0  80   0 -   711 -      ?        00:00:01 init
1 S     0     2     0  0  75  -5 -     0 -      ?        00:00:00 kthreadd
1 S     0     3     2  0 -40   - -     0 -      ?        00:00:00 migration/0
The fourth column is the PID number.
So in your listing to kill the startkde process you'd use
kill 14037
You'll need to get a new listing to check the current process number though.
 
Old 09-24-2008, 10:00 AM   #20
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Original Poster
Rep: Reputation: 15
Wow it gets more bizarre by the moment.

When I did kill 14037 the reaction was to return to my desktop as if I had done cntl>alt>f7.
I returned to console and it was still in root. Killing the rest of the PID's resulted in "no such process".

I think my machine is possessed.
 
Old 09-24-2008, 10:06 AM   #21
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
When I did kill 14037 the reaction was to return to my desktop as if I had done cntl>alt>f7.
I have had that happen, you did the right thing - just go back to your root terminal.
Quote:
Killing the rest of the PID's resulted in "no such process".
Presumably because they were children of 14037, and when the parent dies, so should the children (usually, there are of course, exceptions).

Any kde processes running now?
Login screen gone from GUI terminal?

If so, then try starting gdm as above.
You may be automatically switched to the gdm login screen, if not, search for it, it should be on <CTRL><ALT><F7>
When you login, make sure it is set for a gnome session (if you are offered the choice)
 
Old 09-24-2008, 09:11 PM   #22
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Original Poster
Rep: Reputation: 15
root@ray-desktop:~# ps -Al | grep kd
1 S 0 40 2 0 75 -5 - 0 - ? 00:00:08 kblockd/0
4 S 1000 20500 13959 0 80 0 - 1077 - ? 00:00:00 startkde
1 S 1000 20731 1 0 80 0 - 8102 - ? 00:00:00 kdeinit4
1 S 1000 20734 1 0 80 0 - 17232 - ? 00:00:03 kded4
1 S 1000 20873 1 0 80 0 - 6468 - ? 00:00:00 kdeinit
1 S 1000 20883 1 0 80 0 - 7839 - ? 00:00:23 kded

Looks pretty much the same.
tried to start gdm, then did a cntl>alt>backspace. logged in via the ubuntu login screen which went immediately to the KDE black screen of death. Can't seem to make it happen. I went into synaptic and checked for kde and the main programs are not installed but there a bunch of related KD items.

The Ubuntu login screen has no options for choosing a particular desktop. Odd

Last edited by rgreeves; 09-24-2008 at 09:20 PM.
 
Old 09-25-2008, 01:36 AM   #23
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Looks pretty much the same.
That's because you have meanwhile restarted X (which is still trying to run kde4, which is broken), when you did <CTRL><ALT><BS>:
In your post #18:
Code:
1 S 1000 14268 1 0 80 0 - 8102 - ? 00:00:00 kdeinit4
and in post #22:
Code:
1 S 1000 20731 1 0 80 0 - 8102 - ? 00:00:00 kdeinit4
You can see that the PID number has changed, so this is a new instance of the same process.

You don't say what happened when you had killed kde4, and restarted gdm

I am not sure our combined expertise is sufficient to sort this mess out.

Unless someone else comes up with an easier alternative, I suggest you backup your personal data and resort to a reinstall, but this time, please avoid the temptation to experiment with kde4.
 
Old 09-25-2008, 10:05 AM   #24
rgreeves
Member
 
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111

Original Poster
Rep: Reputation: 15
When I restarted gdm it said it was already running. Indeed when I reboot the system I see that gnome is started during the boot process and no mention of kde. Maddening.

Last edited by rgreeves; 09-28-2008 at 09:27 AM.
 
  


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
uninstall kde 4 & gnome 2.20 and install kde 3.5 or gnome 1.x on suse 10.3 laucian Linux - Newbie 2 04-07-2008 01:01 PM
KDE apps crash on Gnome, Gnome apps work on my KDE - Gnome/KDE integration Happy Gimper Linux - Software 0 03-18-2008 09:28 AM
Gnome/KDE Desktop Folder & Gnome Autostart ihatethedekoys Linux - General 1 08-07-2006 11:16 AM
Aborted KDE 3.5.1 Install while using KDE 3.4 and KDE and Gnome Won't Boot cheetahman SUSE / openSUSE 5 03-04-2006 11:03 AM
KDE/GNOME switching? And how to connect to the internet in GNOME SuSE 10.0 Cards_STL SUSE / openSUSE 14 10-29-2005 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 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
Open Source Consulting | Domain Registration