LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-10-2006, 02:44 PM   #1
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Rep: Reputation: 15
KDE and Gnome running at the same time?


Hi!

Is it possible that I have both KDE and Gnome running? I am doing everything with KDE, but the Gnome mail program Evolution is preloaded automatically, and each time I log out I see my Gnome desktop for a fraction of a second!

By the way, where are the autostars located in Linux? (I want to get rid of the Evolution preload)

ThX

Last edited by Schreiberling; 09-13-2006 at 08:46 AM.
 
Old 09-13-2006, 08:49 AM   #2
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Original Poster
Rep: Reputation: 15
Okay, does this thread get a second chance? I've got evidence! The Process table indicates several Gnome applications running, for example gdm, gnome-vfs-daemon and evolution. Now I see my Gnome desktop even on startup for a very short period of time.

What's this all good for? I'm using KDE and I hate Linux for always loading unnecessary stuff into my precious RAM, keeping my precious CPU busy and costing me my precious time! (I hope I'll get a precious answer to that...)

Last edited by Schreiberling; 09-13-2006 at 08:51 AM.
 
Old 09-13-2006, 01:56 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Schreiberling
Hi!
Is it possible that I have both KDE and Gnome running?
ThX
Hi Precious! lol!

KDE and Gnome can both co-exist if thats what you mean.
 
Old 09-13-2006, 03:00 PM   #4
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Original Poster
Rep: Reputation: 15
I don't mean co-existing in the sense of "having the possibility to choose what you are going to work with on each session" but as I explicated, running both interfaces simultaneously.
 
Old 09-13-2006, 03:10 PM   #5
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
It is possible that both are running. What display manager are you using? Check your ~/.xinitrc and ~/.xsession for any Gnome related stuff.
 
Old 09-13-2006, 03:15 PM   #6
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by Schreiberling
I don't mean co-existing in the sense of "having the possibility to choose what you are going to work with on each session" but as I explicated, running both interfaces simultaneously.
I use Gnome. Thats because it's easy on the senses! lol.

I have never experienced what you are refering to. Though I am sure that Gnome/KDE interact together!

I can't help you my friend, but you have opened up a can-of-worms concerning "memory"!

Would LOVE to know the outcome of this question! If it means optimizing my memory! I am happy with the way things are now. But if it can be better, WOW!
 
Old 09-14-2006, 05:14 AM   #7
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Original Poster
Rep: Reputation: 15
I only have .xinitrc-template and .xsessions-errors. WTF does my Suse 10 load both interfaces?!! The evolution program is loaded locally, but gdm is loaded by root.
 
Old 09-14-2006, 06:53 AM   #8
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Quote:
Originally Posted by Schreiberling
What's this all good for? I'm using KDE and I hate Linux for always loading unnecessary stuff into my precious RAM, keeping my precious CPU busy and costing me my precious time! (I hope I'll get a precious answer to that...)
I wouldn't use Suse if I were you then.
What about you install debian or slackware?
 
Old 09-14-2006, 06:54 AM   #9
noranthon
Member
 
Registered: Apr 2006
Location: Australia
Distribution: PCLinuxOS with Xfce
Posts: 301

Rep: Reputation: 30
I just do not install Gnome. So it cannot run. If you are not using gdm or Evolution, why not uninstall them?

For an alternative window manager, which I believe is necessary in case Kde gets ill, I use Icewm. I've also installed Xfce at times. Anything but Gnome:

http://ktown.kde.org/~seli/memory/
 
Old 09-14-2006, 02:40 PM   #10
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
The Answer (I think) :

As far as running GNOME aapplications are concerned (vfs, etc.) it can be explained as Evolution is an GNOME application, as GNOME applications use several interfaces to "talk' to each other, in a similar way as KDE apps use DCOP.

In KDE, applications (or symlinks) found in ~/.kde/Autostart are, well, autostarted

By the way, ~ means your home directory, e.g. /home/someuser
 
Old 09-14-2006, 04:10 PM   #11
mjones490
Member
 
Registered: Sep 2005
Distribution: LFS
Posts: 60

Rep: Reputation: 22
Greets. . .

What's happening is when xinit loads, Gnome is loaded as default. Then Gnome (or possibly something else) kicks off KDE. Since KDE is running on top, that's what you see. When you shut down your XWindows server, the message to kill everything propagates through Gnome to KDE, so KDE exits. Gnome, which "owned" the KDE instance, then exits (this is why you see if for a split second).

You have something or other misconfigured. I would man xinit to learn its startup sequence and check the configuration files listed on the man page.

Thanks,
Mark
 
Old 09-14-2006, 06:00 PM   #12
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Original Poster
Rep: Reputation: 15
So that's my /etc/X11/xinit/xinitrc (There's no single .xinitrc on my whole harddrive).
Does it have a function nevertheless - although declared as "Sample .xinitrc" in line 3?
Actually there's no hint to Gnome or "gdm" too. As a relatively new linux user, I have no idea where to look after and what to do - after all, I have to keep the system running...




#!/bin/bash
#
# Sample .xinitrc for SuSE Linux
# This script is called from 'startx' when you start an X session
#

#
# In case everything goes wrong, we at least fall back to a plain xterm
#
failsafe="xterm -ls -T Failsafe -geometry 80x24-0-0"
trap "exec $failsafe" EXIT SIGHUP SIGINT SIGPIPE SIGTERM SIGIO

#
# Some bash (1 and 2) settings to avoid trouble on a
# failed program call.
#
test -n "$BASH" && set +o posix
no_exit_on_failed_exec=1
type shopt > /dev/null 2>&1 && shopt -s execfail
set +e > /dev/null 2>&1

#
# This should be the default
#
export TERM=xterm

#
# choose a window manager
#
if test -n "$WINDOWMANAGER" ; then
WINDOWMANAGER=`type -p $WINDOWMANAGER`
fi
if test -z "$WINDOWMANAGER" ; then
if test -x /usr/X11R6/bin/kde ; then
WINDOWMANAGER=/usr/X11R6/bin/kde
elif test -x /usr/X11R6/bin/startkde ; then
WINDOWMANAGER=/usr/X11R6/bin/startkde
elif test -x /usr/X11R6/bin/fvwm2 ; then
WINDOWMANAGER=/usr/X11R6/bin/fvwm2
elif test -x /usr/X11R6/bin/wmlist ; then
for i in `/usr/X11R6/bin/wmlist` ; do
WINDOWMANAGER=`type -p $i`
test -n "$WINDOWMANAGER" && break
done
elif test -x /usr/X11R6/bin/twm ; then
WINDOWMANAGER=/usr/X11R6/bin/twm
fi
fi

if test -z "$WINDOWMANAGER" ; then
echo "Error: Unable to find a window manager. Please make sure you installed one!"
echo "Exiting..."
xmessage -timeout 10 -default okay -center -file - <<-EOF
Error: Unable to find a window manager. Please make sure you installed one!
Exiting...
EOF
exit 1
fi

# add dbus-launch if found
dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ]; then
WINDOWMANAGER="$dbuslaunch --sh-syntax --exit-with-session $WINDOWMANAGER"
fi

#
# Load system and users resources if not already done
# (XSESSION_IS_UP set by xdm in $XLIBDIR/xdm/Xsession)
#
if test "$XSESSION_IS_UP" != "yes" ; then
XLIBDIR=/usr/X11R6/lib/X11
test -r $XLIBDIR/Xmodmap && xmodmap $XLIBDIR/Xmodmap
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
test -r $XLIBDIR/Xresources && xrdb -load -retain $XLIBDIR/Xresources
test -r $HOME/.Xdefaults && xrdb -I$HOME -merge $HOME/.Xdefaults
test -r $HOME/.Xresources && xrdb -I$HOME -merge $HOME/.Xresources
fi

# Start the XIM server
XIMFILE=/etc/X11/xim
test -r $HOME/.xim && XIMFILE=$HOME/.xim
test -r $XIMFILE && source $XIMFILE

# Enable Numlock if set
test -r /var/run/numlock-on -a -x /usr/X11R6/bin/numlock && /usr/X11R6/bin/numlock

# Disable new Xcursor themes if none is specified resp. located in $HOME
# (use "unset XCURSOR_CORE" to enable them again later)
#if [ "x$XCURSOR_THEME" == "x" -a ! -d $HOME/.icons ]; then
# export XCURSOR_CORE=true
#else
# unset XCURSOR_CORE
#fi

# load nvidia settings
if [ -x /usr/bin/nvidia-settings -a -r $HOME/.nvidia-settings-rc ]; then
/usr/bin/nvidia-settings --load-config-only &> /dev/null &
fi

echo "$WINDOWMANAGER" | grep -q twm && xsetroot -solid darkslateblue

#
# Uncomment next line to activate asking for ssh passphrase
#
# ssh-add

#
# Add your own lines here...
#


# day planer deamon
# pland &

#
# finally start the window manager
#
exec $WINDOWMANAGER

# call failsafe
exit 0
 
Old 09-15-2006, 09:13 AM   #13
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Original Poster
Rep: Reputation: 15
Okay, in case I won't be able to manage that - is there a way to easily uninstall Gnome? I have read that KDE needs some of the Gnome components.
 
Old 09-15-2006, 09:18 AM   #14
mjones490
Member
 
Registered: Sep 2005
Distribution: LFS
Posts: 60

Rep: Reputation: 22
Quote:
Originally Posted by Schreiberling
So that's my /etc/X11/xinit/xinitrc (There's no single .xinitrc on my whole harddrive).
Are you sure there's not .xinitrc in your home directory?

Thanks,
Mark
 
Old 09-15-2006, 10:29 AM   #15
Schreiberling
Member
 
Registered: Jan 2006
Location: Bremen, Germany
Distribution: Linux Mint 16 KDE
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mjones490
Are you sure there's not .xinitrc in your home directory?

Thanks,
Mark
Yes, there's only ".xinitrc.template".
 
  


Reply



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
Both KDE & Gnome crashes all the time :( zoobooboozoo Mandriva 10 10-05-2005 08:54 AM
GNOME and KDE at the same time? borgy_t Linux - Newbie 4 03-13-2005 04:16 AM
KDE program running under GNOME??? morrolan Linux - Newbie 4 01-16-2004 12:29 PM
Running Gnome apps in KDE PDR60 Slackware 1 11-24-2003 09:18 AM
KDE and GNOME running together jsatherley Linux - General 7 11-11-2002 02:55 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:24 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