LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why does Gnome takes over my KDE desktop? (https://www.linuxquestions.org/questions/linux-newbie-8/why-does-gnome-takes-over-my-kde-desktop-185694/)

EThitop 05-25-2004 12:05 PM

Why does Gnome takes over my KDE desktop?
 
I have my desktop set to KDE for my username, and it used to work fine, but now when I log into my username I'll see KDE and then a second or two later Gnome will take over for the wallpaper desktop area. Why is this happening???

If I log into "root" this doesn't happen.

Please help,
Erik

Nis 05-25-2004 12:18 PM

Did you ever startup Nautilus? If so, then Nautilus has placed itself into your session file (which I don't know where that is on KDE). Look around for that and see if you can delete it. If you ever need to use Nautilus in KDE, start it with this:
Code:

nautilus --no-desktop

vinay_s_s 05-25-2004 12:22 PM

may be u had run nautilus in a previous session and then logged out.
if that is the probs, then do a killall nautilus , then logout and logback in.

EThitop 05-25-2004 08:17 PM

:D Yes I have used Nautilus during a KDE session before, I am going to try your sessions now (I am logged in with 'root' b/c I don't have that problem with it) and I'll let you know the results. I also have 2 other simple questions. One is, how can I log out of KDE without it restoring everything after I log back in (I'm using Slackware, I think I knew how to do this with SuSE....?) and the second questions is, how do I actually tell the computer to shut down? Can I tell it to shut down within KDE, or must I enter a command. Before, I would log out of KDE and then press the power button, but I want the full shutdown sequence.

Thankyou, Erik

EThitop 05-25-2004 08:56 PM

Yep, Killing nautilus worked!!! :) Thankyou very much! Now I just need help with my other 2 questions I left in the 3rd reply. TIA!

Erik

vinay_s_s 05-25-2004 10:56 PM

KDE control center -> KDE components -> Session Manager

Do u have kdm running? If so, then when u click logount in the Kmenu, a screen should appear asking u whether u wanna logout, turn off, or reboot.
Also check SUID permissions of /sbin/halt

iainagray 05-26-2004 06:16 AM

There is a command line option also, from either a terminal or do a
"Ctl Alt 1" and log in as root then type:

shutdown -h now

There are other options with the shutdown command, but the 2 common ones are -h "halt" and -r "reboot"

EThitop 05-26-2004 06:08 PM

iainagray thanks for telling me what the -h meant, i was baffled lol... vinay_s_s how do i start KDM? Does it stand for K Display Manager? Anyway, how do i get that running?

vinay_s_s 05-26-2004 10:15 PM

yup, KDM is what u told.
U are using slackware right?
this is what i did to start kdm on startup:
open the /etc/rc.d/rc.local file
in the last line, type:
/opt/kde/bin/kdm


Thats it. this will start kdm on each boot. also make sure that u are not running other display managers like GDM, XDM.

Nis 05-27-2004 07:30 AM

Better way to get KDM up in Slack: change your default run-level to level 4. You need to change a line in /etc/inittab:
Code:

id:3:initdefault:
to
Code:

id:4:initdefault:

vinay_s_s 05-27-2004 09:14 AM

hey, but runlevel 4 doesnt have the consoles on anything else but A-C-F6

Nis 05-27-2004 09:21 AM

It depends. Also in your /etc/inittab you should see
Code:

1:1235:respawn:/sbin/mingetty tty1
2:1235:respawn:/sbin/mingetty tty2
3:1235:respawn:/sbin/mingetty tty3
4:1235:respawn:/sbin/mingetty tty4
5:1235:respawn:/sbin/mingetty tty5
6:12345:respawn:/sbin/mingetty tty6

Just change it to
Code:

1:12345:respawn:/sbin/mingetty tty1
2:12345:respawn:/sbin/mingetty tty2
3:12345:respawn:/sbin/mingetty tty3
4:12345:respawn:/sbin/mingetty tty4
5:12345:respawn:/sbin/mingetty tty5
6:12345:respawn:/sbin/mingetty tty6

and now your gettys are back! :) You can also follow the formula above and add more gettys up to 11 (or 12 if you have a F13 key).


All times are GMT -5. The time now is 12:19 AM.