LinuxQuestions.org
Weather apps tell you it'll rain. Wyndo tells you when to go.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-17-2006, 06:08 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
how do I remove this startup Command?


Hi, I have a compiled version of Xorg 6.8.1(provided by my vendor) installed on my Debian Sarge system running kernel 2.6.16. I am using Fluxbox as Desktop Managers and XDM as login manager.

Now whenever by XDM login windows comes up, there is Console on the Right hand Bottom corner of the screen which automatically shows up. It contains the text "Console log for Debian". Also when I login into my fluxbox environment that Console Windows still shows up. I have to manually close it to get rid off it. Finally I decided to do an
ps aux -H and this is what I came up with:
Code:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  1588  516 ?        S    15:48   0:01 init [2]  
root         2  0.0  0.0     0    0 ?        SN   15:48   0:00   [ksoftirqd/0]
root         3  0.0  0.0     0    0 ?        S    15:48   0:00   [watchdog/0]
root         4  0.0  0.0     0    0 ?        S<   15:48   0:00   [events/0]
root         5  0.0  0.0     0    0 ?        S<   15:48   0:00   [khelper]
root         6  0.0  0.0     0    0 ?        S<   15:48   0:00   [kthread]
root         8  0.0  0.0     0    0 ?        S<   15:48   0:00     [kblockd/0]
root        51  0.0  0.0     0    0 ?        S    15:48   0:00     [pdflush]
root        52  0.3  0.0     0    0 ?        S    15:48   0:05     [pdflush]
root        54  0.0  0.0     0    0 ?        S<   15:48   0:00     [aio/0]
root       640  0.0  0.0     0    0 ?        S<   15:48   0:00     [kseriod]
root      1076  0.0  0.0     0    0 ?        S<   15:49   0:00     [kpsmoused]
root      2747  0.0  0.0     0    0 ?        S<   15:50   0:00     [khubd]
root        53  0.0  0.0     0    0 ?        S    15:48   0:00   [kswapd0]
root       845  0.3  0.0     0    0 ?        S    15:48   0:05   [kjournald]
root       872  0.0  0.0  1572  428 ?        S<s  15:48   0:00   udevd
root      3078  0.0  0.0  1744  384 ?        Ss   15:50   0:00   dhclient -e -pf /var/run/dhclient.eth0.pid -lf /var/run/dhclient.eth0.leases eth0
root      3411  0.0  0.1  1632  580 ?        Ss   15:50   0:00   /sbin/syslogd
root      3414  0.0  0.2  2272 1124 ?        Ss   15:50   0:00   /sbin/klogd
message   3417  0.0  0.1  2168  748 ?        Ss   15:50   0:00   /usr/bin/dbus-daemon-1 --system
hal       3422  0.2  0.9  6324 4532 ?        Ss   15:50   0:03   /usr/sbin/hald --drop-privileges
root      3427  0.0  0.0  1576  336 ?        Ss   15:50   0:00   /usr/sbin/inetd
root      3438  0.0  0.1  3476  892 ?        Ss   15:50   0:00   /usr/sbin/sshd
root      3567  0.0  0.1  3384  816 ?        Ss   15:51   0:00   /usr/bin/X11/xdm
root      3690  9.2  2.9 17508 14476 ?       S    15:51   2:26     /usr/X11R6/bin/X vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-OI4kEd
root      4439  0.1  0.4  4008 2144 ?        S    16:13   0:00     -:0             
root      4448 10.1  0.9  7080 4492 ?        S    16:13   0:25       fluxbox
root      4458  0.3  0.0     0    0 ?        Zs   16:14   0:00         [feh] <defunct>
root      4506  2.3  0.6  6088 3452 ?        Ss   16:16   0:01         xterm
root      4507  0.3  0.3  3000 1644 pts/0    Ss   16:16   0:00           bash
root      4520  0.0  0.1  2560  836 pts/0    R+   16:17   0:00             ps aux -H
root      3568  0.0  0.0  1580  488 tty1     Ss+  15:51   0:00   /sbin/getty 38400 tty1
root      3573  0.0  0.0  1580  488 tty2     Ss+  15:51   0:00   /sbin/getty 38400 tty2
root      4445  0.0  0.3  3936 1712 ?        S    16:13   0:00   xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
root      4456  1.3  1.4 12168 7092 ?        S    16:13   0:03   idesk
That console window is basically the Xconsole window which shows up above i.e.
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
When I close that Xconsole manually the above line disappears from the output of ps aux -H

So my guess is somewhere in the start up scripts there is a command which calls that Xconsole after starting the XDM. How can I locate it? Where can I find it?

Thanks

Last edited by kushalkoolwal; 05-17-2006 at 06:11 PM.
 
Old 05-17-2006, 06:16 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Try editing /etc/X11/xdm/xdm.options and put a # in front of the line that reads run-xconsole.
 
Old 05-17-2006, 06:23 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by pljvaldez
Try editing /etc/X11/xdm/xdm.options and put a # in front of the line that reads run-xconsole.
Thanks for looking into this but it seems that there is no such line in xdm.options file. Here are the contents of that file:
Code:
# $Id: xdm.options 2051 2004-12-09 14:53:04Z fabbione $
#
# configuration options for xdm
# See xdm.options(5) for an explanation of the available options.

no-ignore-nologin
no-restart-on-upgrade
no-start-on-install
use-sessreg
Also can I do a search on my entire root folder looking for a file which contains the line
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail

If yes, how can I find it? Do I have to use the 'find' command? What is the command to search the contents of the files in linux.

Thanks once again.
 
Old 05-17-2006, 06:35 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The following will recursively search from the root of your hard disk through all files for that string. The -I switch tells it to process binary files as though they do not match:
Code:
grep -IR 'xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail' /* 2>/dev/null
I hope it helps, but beware, it will be very slow...
 
Old 05-17-2006, 06:43 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
http://manpages.debian.net/cgi-bin/d...7&format=plain

From man xdm.options
Quote:
Users of older versions of the Debian system should note that the
'run-xconsole' option has been removed. Shell scripts named
/etc/X11/xdm/Xsetup and /etc/X11/xdm/Xreset can be edited to disable or
modify the running of xconsole on the xdm greeter screen; see the xdm
manual page for more information.
 
Old 05-17-2006, 06:48 PM   #6
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Thank you pljvaldez and gilead
I think I found the file. The file name was Xsetup_0 and it was residing in /etc/X11/xdm folder
 
  


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
How to remove a daemon from the startup routine? smsundar Linux - Newbie 3 05-17-2006 12:12 AM
how to remove gaim from startup? Pulka Linux - Software 3 10-20-2004 01:18 PM
how 2 remove services from startup?? fhameed Linux - Software 4 08-30-2004 10:39 PM
How to remove programs from startup? RedHatMasta Linux - Software 3 12-24-2003 04:14 PM
remove startup to xwindow? ziggie216 Linux - Software 4 10-10-2003 11:18 AM

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

All times are GMT -5. The time now is 06:08 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
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