LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   2 kdestart processes run @ login (https://www.linuxquestions.org/questions/mandriva-30/2-kdestart-processes-run-%40-login-298751/)

cbradlea 03-07-2005 12:03 PM

2 kdestart processes run @ login
 
Hey all;

I'm stuck and hope the collective can help.

Everytime I login I have two kdestart processes running.

I know this shouldn't be happening but can't find where the 2 processes are starting. One seem to be starting the other.


-bash-2.05b$ ps -ef |grep art
chris 4460 3814 0 09:57 ? 00:00:00 /bin/sh /usr/bin/startkde
chris 4747 4460 0 09:57 ? 00:00:00 /bin/sh /usr/bin/startkde
chris 5408 5200 0 09:58 pts/0 00:00:00 grep art
-bash-2.05b$

Can anyone please help me disable the second process.

caladbolg 03-08-2005 06:17 AM

Go to the mandrake control center (drakconf) and find Services. Uncheck the ones you don't want to run.

cbradlea 03-08-2005 11:30 AM

KDESTART
 
What service do you suggest. Wont this just stop KDE FROM coming up completely? Causing me to be in run level.

opjose 03-08-2005 03:21 PM

In the KDE control panel, under SESSION manager tell it to ALWAYS start with an EMPTY session.

Save and exit.

Make sure you are logging in via KDM or MDKKDM not via a manual startx.

Login and find the two processes as you've done.

Then take the oldest of the two and type

su

kill -s 9 4460

or whatever the process ID is.

If you are kicked back to the login screen you killed the wrong one.

Also not that if you've configured your machine for multiple logins via the GUI... e.g. VNC, etc. you may see two startkde's.

Also check to see if you have something in your home directory which may be doing this...

e.g.

cd
find . -exec grep -l startkde {} \;

This will list the files in your home directory that contain "startkde".

cbradlea 03-09-2005 05:10 PM

Thanks I'll try that tonight and let you know... I appeciate the help..... Thanks

cbradlea 03-10-2005 10:03 AM

Hi all;

I tried "opjose" recommendation and it didn't work. I really hoped it would but I stiill see 2 kdestarts at login.

I feel like the episode of Startrek where Picard say I see 4 lights...LOL

[chris@HELL chris]$ ps -ef |grep art
chris 4455 3828 0 13:47 ? 00:00:00 /bin/sh /usr/bin/startkde
chris 4747 4455 0 13:47 ? 00:00:00 /bin/sh /usr/bin/startkde
chris 5457 5360 0 13:51 pts/1 00:00:00 grep art
[chris@HELL chris]$

Any other possible solution.... Thanks all

Chris.

opjose 03-10-2005 10:07 AM

Try

ps -axf

The processes will be linked by ascii characters showing you which process launched the other.

At least this way you'll be able to see what launched it...

Also BEFORE you log in, CTRL-ALT-F1 to the console, log in as root, and do the same thing to see if it's launched by your login or before you log in.

cbradlea 03-10-2005 04:13 PM

Here is the ps axjf |grep art

-bash-2.05b# ps axjf |grep art
3811 5139 5139 2002 ? -1 S 501 0:00 \_ /bin/sh /usr/bin/startkde
5139 5242 5139 2002 ? -1 S 501 0:00 \_ /bin/sh /usr/bin/startkde


Will check the rest when i get home.. Thanks....?

cbradlea 03-10-2005 04:19 PM

-bash-2.05b# ps -axf
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
PID TTY STAT TIME COMMAND
1 ? S 0:00 init [5]
2 ? SN 0:00 [ksoftirqd/0]
3 ? S< 0:00 [events/0]
4 ? S< 0:00 \_ [khelper]
5 ? S< 0:01 \_ [kblockd/0]
40 ? S< 0:00 \_ [aio/0]
1301 ? S< 0:00 \_ [ivtv_vbi/0]
1302 ? S< 0:00 \_ [ivtv_fw/0]
12486 ? S 0:00 \_ [pdflush]
12503 ? S 0:00 \_ [pdflush]
35 ? S 0:00 [kapmd]
39 ? S 0:06 [kswapd0]
151 ? S 0:00 [kseriod]
279 ? S 0:01 [kjournald]
338 ? S<s 0:00 udevd
968 ? S 0:00 [khubd]
1382 ? S< 0:00 [ivtv-enc]
1534 ? S 0:00 [kjournald]
2946 ? Ss 0:00 /sbin/ifplugd -w -b -i eth0
3025 ? Ss 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid -cf /etc/dhclient-eth0.conf eth0
3074 ? S 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/HELL.pid
3109 ? Sl 0:00 \_ /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/HELL.pid --skip-locking
3152 ? Ss 0:00 /sbin/netplugd -p /var/run/netplugd.pid
3217 ? Ss 0:00 portmap
3232 ? Ssl 0:00 pcscd
3251 ? Ss 0:00 syslogd -m 0 -a /var/spool/postfix/dev/log
3259 ? Ss 0:00 klogd -2
3305 ? Ss 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid -cf /etc/dhclient-eth0.conf eth0
3667 ? Ss 0:00 xfs -port -1 -daemon -droppriv -user xfs
3682 ? Ss 0:00 dbus-daemon-1 --system
3697 ? Ss 0:02 hald
3751 ? Ss 0:00 /usr/sbin/atd
3772 ? S 0:00 /usr/bin/kdm -nodaemon
3789 ? SL 0:49 \_ /etc/X11/X -deferglyphs 16 -auth /var/run/xauth/A:0-ptOAU9
3811 ? S 0:00 \_ -:0
5139 ? S 0:00 \_ /bin/sh /usr/bin/startkde
5242 ? S 0:00 \_ /bin/sh /usr/bin/startkde
5245 ? S 0:01 | \_ magicdev
5293 ? S 0:00 \_ kwrapper ksmserver
3812 ? Ss 0:00 /usr/sbin/sshd
5843 ? Ss 0:00 \_ sshd: chris [priv]
5845 ? R 0:00 \_ sshd: chris@pts/1
5846 pts/1 Ss 0:00 \_ -bash
5881 pts/1 S 0:00 \_ su -l
5886 pts/1 R 0:00 \_ -bash
26609 pts/1 R+ 0:00 \_ ps -axf
3831 ? Ss 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
5275 ? Ss 0:00 \_ famd
4090 ? Ss 0:00 /usr/lib/postfix/master
4098 ? S 0:00 \_ tlsmgr -l -t fifo -u -c
4410 ? Ss 0:00 proftpd: (accepting connections)
4434 ? Ssl 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythbackend.pid
4449 ? Ss 0:00 crond
4606 ? Ss 0:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PHP4 -DHAVE_SSL -DHAVE_SUEXEC -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS -DH
4607 ? S 0:00 \_ /usr/bin/perl /usr/sbin/advxsplitlogfile
4617 ? S 0:00 \_ httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_PHP4 -DHAVE_SSL -DHAVE_SUEXEC -DHAVE_ACCESS -DHAVE_ACTIONS -DHAVE_ALIAS
4726 tty1 Ss+ 0:00 /sbin/mingetty tty1
4727 tty2 Ss+ 0:00 /sbin/mingetty tty2
4728 tty3 Ss+ 0:00 /sbin/mingetty tty3
4729 tty4 Ss+ 0:00 /sbin/mingetty tty4
4730 tty5 Ss+ 0:00 /sbin/mingetty tty5
4731 tty6 Ss+ 0:00 /sbin/mingetty tty6
5213 ? S 0:00 dbus-launch --sh-syntax --exit-with-session
5220 ? Ss 0:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session
5230 ? Ss 0:00 s2u --daemon=yes
5237 ? Ss 0:00 gpg-agent --daemon
5264 ? Ss 0:00 kdeinit Running...
5271 ? S 0:00 \_ kdeinit: klauncher
5296 ? S 0:00 \_ kdeinit: kwin
5314 ? S 0:00 \_ /bin/bash /usr/share/azureus/azureus
5339 ? Sl 1:15 \_ /usr/java/jre1.5.0_01/bin/java -Xms16m -Xmx128m -cp /usr/share/azureus/Azureus2.jar:/usr/share/azureus/swt.jar:/usr/share/
5267 ? S 0:00 kdeinit: dcopserver --nosid
5270 ? S 0:00 /usr/lib/gconfd-2 13
5274 ? S 0:00 kdeinit: kded
5291 ? S 0:00 kdeinit: knotify
5295 ? S 0:00 kdeinit: ksmserver
5298 ? S 0:01 kdeinit: kdesktop
5463 ? S 0:00 \_ /usr/bin/kdesktop_lock
5472 ? SN 0:18 \_ /usr/bin/krozat.kss -root
5300 ? S 0:00 kdeinit: kicker
5311 ? S 0:00 kdeinit: khotkeys
5312 ? S 0:00 krandrtray
5313 ? S 0:00 korgac --miniicon korganizer

opjose 03-10-2005 04:40 PM

Both are being started by KDM...

Guess what...

This is normal!

cbradlea 03-10-2005 04:43 PM

Really! (insert puzzeled look?)


Why would KDM start two? Why does killing the second one cause no adverse effects?

Your sure there is suppose to be two? (insert grin)

opjose 03-10-2005 04:55 PM

Yes, it occurs because KDM backgrounds a process during session launch.

I'm looking at two other systems which both show exactly the same thing...

cbradlea 03-10-2005 05:12 PM

Ok .... seems wierd but you've never failed me yet? LOL

I really appriciate your help....

cbradlea 03-11-2005 06:01 PM

Just as a test last night I did a fresh install of 10.1 on a seperate partition.

Only one Kdestart process shows....? This leads me to beleive that 2 kdestart's isn't normal.

hummmm.

opjose 03-11-2005 06:10 PM

It is normal if you have things like screensavers, etc. which are backgrounded.

If you do a minimal install you'll only get one process.


All times are GMT -5. The time now is 04:07 AM.