LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-07-2005, 01:03 PM   #1
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Rep: Reputation: 15
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.
 
Old 03-08-2005, 07:17 AM   #2
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
Go to the mandrake control center (drakconf) and find Services. Uncheck the ones you don't want to run.
 
Old 03-08-2005, 12:30 PM   #3
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
KDESTART

What service do you suggest. Wont this just stop KDE FROM coming up completely? Causing me to be in run level.
 
Old 03-08-2005, 04:21 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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".
 
Old 03-09-2005, 06:10 PM   #5
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks I'll try that tonight and let you know... I appeciate the help..... Thanks
 
Old 03-10-2005, 11:03 AM   #6
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
Old 03-10-2005, 11:07 AM   #7
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 03-10-2005, 05:13 PM   #8
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
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....?
 
Old 03-10-2005, 05:19 PM   #9
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
-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
 
Old 03-10-2005, 05:40 PM   #10
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Both are being started by KDM...

Guess what...

This is normal!
 
Old 03-10-2005, 05:43 PM   #11
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
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)
 
Old 03-10-2005, 05:55 PM   #12
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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...
 
Old 03-10-2005, 06:12 PM   #13
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
Ok .... seems wierd but you've never failed me yet? LOL

I really appriciate your help....
 
Old 03-11-2005, 07:01 PM   #14
cbradlea
LQ Newbie
 
Registered: Mar 2005
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
Old 03-11-2005, 07:10 PM   #15
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
  


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
How do I limit the amount of processes a user can run? houler Slackware 26 04-04-2005 09:02 PM
How do I create an user to run processes (ONLY)? eantoranz Linux - Security 4 01-04-2005 08:03 PM
How to get it known all processes run under Linux (kernel 2.4.20-8) ukrainet Linux - Newbie 2 12-01-2004 07:13 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 02:58 AM
Remote Login and Running Processes presstone Linux - General 4 12-16-2002 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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