Who is starting this process?

View: New views
12 Messages — Rating Filter:   Alert me  

Who is starting this process?

by Bugzilla from hans.ullrich@loop.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

does someone know, which script or who is starting this process?


root         7152 tty9   /usr/bin/X -br -nolisten tcp :0 vt9 -auth
/var/run/xauth/A:0-8DjLbd

I suppose, it is started by kdm, but I could not find the exactly one. I want
to change the switch from "vt9" to "vt7", but I found no config file with an
entry like "/usr/bin/X -br -nolisten tcp :0 vt9".

The only one I found, was /etc/X11/xinit/xserverc, with this entry:

exec /usr/bin/X11/X -nolisten tcp



Thanks for any hints!

Regards

Hans


 

 


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by Dean Hamstead-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

grep recursively in /etc?

Dean

Hans-J. Ullrich wrote:

> Hi all,
>
> does someone know, which script or who is starting this process?
>
>
> root         7152 tty9   /usr/bin/X -br -nolisten tcp :0 vt9 -auth
> /var/run/xauth/A:0-8DjLbd
>
> I suppose, it is started by kdm, but I could not find the exactly one. I want
> to change the switch from "vt9" to "vt7", but I found no config file with an
> entry like "/usr/bin/X -br -nolisten tcp :0 vt9".
>
> The only one I found, was /etc/X11/xinit/xserverc, with this entry:
>
> exec /usr/bin/X11/X -nolisten tcp
>
>
>
> Thanks for any hints!
>
> Regards
>
> Hans
>
>
>  
>
>  
>
>


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by Dave Witbrodt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dean Hamstead wrote:

> Hans-J. Ullrich wrote:
>> does someone know, which script or who is starting this process?
>>
>>
>> root         7152 tty9   /usr/bin/X -br -nolisten tcp :0 vt9 -auth
>> /var/run/xauth/A:0-8DjLbd
>>
>> I suppose, it is started by kdm, but I could not find the exactly one.
>> I want to change the switch from "vt9" to "vt7", but I found no config
>> file with an entry like "/usr/bin/X -br -nolisten tcp :0 vt9".
>>
>> The only one I found, was /etc/X11/xinit/xserverc, with this entry:
>>
>> exec /usr/bin/X11/X -nolisten tcp
 >
> grep recursively in /etc?

I see some lines referring to vt9 and vt10 in /etc/X11/xdm/Xservers, but
they are commented out on my machine.

So, if you did not uncomment those lines, who did?

*paranoia recommended*


Dave W.


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by Bugzilla from hans.ullrich@loop.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> I see some lines referring to vt9 and vt10 in /etc/X11/xdm/Xservers, but
> they are commented out on my machine.
>
> So, if you did not uncomment those lines, who did?
>
> *paranoia recommended*
>
>
> Dave W.
>

Yes, same lines I found, too, but they are commented out here, too.

Strange things happen in debian-world... :))

Greets


Hans


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by C M Reinehr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat 24 October 2009 02:46:44 am Hans-J. Ullrich wrote:

> > I see some lines referring to vt9 and vt10 in /etc/X11/xdm/Xservers, but
> > they are commented out on my machine.
> >
> > So, if you did not uncomment those lines, who did?
> >
> > *paranoia recommended*
> >
> >
> > Dave W.
>
> Yes, same lines I found, too, but they are commented out here, too.
>
> Strange things happen in debian-world... :))
>
> Greets
>
>
> Hans

Hans,

I'm running KDE3 and the number of virtual terminals seems be controlled by
and entry in /etc/kde3/kdm/kdmrc. In the first paragraph I have:

[General]
ConfigVersion=2.3
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
PidFile=/var/run/kdm.pid
ReserveServers=:1,:2,:3
ServerVTs=-7
StaticServers=:0

HTH!

cmr

--
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by Bugzilla from hans.ullrich@loop.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Samstag 24 Oktober 2009 schrieb C M Reinehr:

> On Sat 24 October 2009 02:46:44 am Hans-J. Ullrich wrote:
> > > I see some lines referring to vt9 and vt10 in /etc/X11/xdm/Xservers,
> > > but they are commented out on my machine.
> > >
> > > So, if you did not uncomment those lines, who did?
> > >
> > > *paranoia recommended*
> > >
> > >
> > > Dave W.
> >
> > Yes, same lines I found, too, but they are commented out here, too.
> >
> > Strange things happen in debian-world... :))
> >
> > Greets
> >
> >
> > Hans
>
> Hans,
>
> I'm running KDE3 and the number of virtual terminals seems be controlled by
> and entry in /etc/kde3/kdm/kdmrc. In the first paragraph I have:
>
> [General]
> ConfigVersion=2.3
> ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
> PidFile=/var/run/kdm.pid
> ReserveServers=:1,:2,:3
> ServerVTs=-7
> StaticServers=:0
>
> HTH!
>
> cmr
>
Hi CM,

yes, I know this entry. The minus before the number is telling "use the next
free vt the kernel shows".

But it should be 7 not 9. Strangely suddenly this changed some day, although I
did only an update. My 32-bit machine never showed this behaviour.

It is not really disturbing me, but it is annoying me, that X is now on 9 but
9, but it is annoying me, I do not understand, what had really happened. :)

So I asked, if people know more than me.

Cheers

Hans


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by C M Reinehr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat 24 October 2009 01:11:01 pm Hans-J. Ullrich wrote:

> Am Samstag 24 Oktober 2009 schrieb C M Reinehr:
> > On Sat 24 October 2009 02:46:44 am Hans-J. Ullrich wrote:
> > > > I see some lines referring to vt9 and vt10 in /etc/X11/xdm/Xservers,
> > > > but they are commented out on my machine.
> > > >
> > > > So, if you did not uncomment those lines, who did?
> > > >
> > > > *paranoia recommended*
> > > >
> > > >
> > > > Dave W.
> > >
> > > Yes, same lines I found, too, but they are commented out here, too.
> > >
> > > Strange things happen in debian-world... :))
> > >
> > > Greets
> > >
> > >
> > > Hans
> >
> > Hans,
> >
> > I'm running KDE3 and the number of virtual terminals seems be controlled
> > by and entry in /etc/kde3/kdm/kdmrc. In the first paragraph I have:
> >
> > [General]
> > ConfigVersion=2.3
> > ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
> > PidFile=/var/run/kdm.pid
> > ReserveServers=:1,:2,:3
> > ServerVTs=-7
> > StaticServers=:0
> >
> > HTH!
> >
> > cmr
>
> Hi CM,
>
> yes, I know this entry. The minus before the number is telling "use the
> next free vt the kernel shows".
>
> But it should be 7 not 9. Strangely suddenly this changed some day,
> although I did only an update. My 32-bit machine never showed this
> behaviour.
>
> It is not really disturbing me, but it is annoying me, that X is now on 9
> but 9, but it is annoying me, I do not understand, what had really
> happened. :)
>
> So I asked, if people know more than me.
>
> Cheers
>
> Hans

By any chance, did you install a package called "desktop-base" during your
last upgrade? I'm not certain that this is the correct package name, but I
recall installing a package that caused kdm to ignore the kdmrc file and
read, instead, a file installed in the /etc/default directory. After
installing it a couple of times I finally learned to avoid it.

HTH

cmr

--
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by ddumont :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le samedi 24 octobre 2009 00:30:43, Hans-J. Ullrich a écrit :
> Hi all,
>
> does someone know, which script or who is starting this process?

> root         7152 tty9   /usr/bin/X -br -nolisten tcp :0 vt9 -auth
> /var/run/xauth/A:0-8DjLbd
>
> I suppose, it is started by kdm, but I could not find the exactly one. I

Yes, it's kdm

>  want to change the switch from "vt9" to "vt7", but I found no config file
>  with an entry like "/usr/bin/X -br -nolisten tcp :0 vt9".
>
> The only one I found, was /etc/X11/xinit/xserverc, with this entry:
>
> exec /usr/bin/X11/X -nolisten tcp

You can configure this in /etc/kde3/kdm/kdmrc

See [General] section:

ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6

You may want to add tty7,tty8 to this list

HTH


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by Bugzilla from hans.ullrich@loop.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> By any chance, did you install a package called "desktop-base" during your
> last upgrade? I'm not certain that this is the correct package name, but I
> recall installing a package that caused kdm to ignore the kdmrc file and
> read, instead, a file installed in the /etc/default directory. After
> installing it a couple of times I finally learned to avoid it.
>
> HTH
>
> cmr
>

This was a god idea, but sadly not the reason. I agree with you, that some
package might be responsible for this. As I set in kdmrc a negative number for
vt, it takes the highest non used terminal by the kernel.

I tried to set vt=7 in kdmrc, and yes, that worked. X then is on vt7. But this
thing I knew before.

What I want to find out more is, why debian is suddenly changing the use of
tty7 and tty8.

I still found no way, to find out what processes need tty7 and 8, ps did tell
nothing. I still found out, that debian-desktop changed initrd-image, another
point, that the kernel seems something to do with this behaviour.

Obviously only few people seem to know, what is causing this. I googled a
little bit, and vt9 seem to be used in other distributions, too.

On the other hand, a friend of mine is using sid/amd64, too, and his X is
running on vt7. Really weired....

Anyway, as it is not a bug at all, it is not serious, but it would be just
nice to know, what is happening.


Cheers

Hans



--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by C M Reinehr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun 25 October 2009 02:09:55 pm Hans-J. Ullrich wrote:

> > By any chance, did you install a package called "desktop-base" during
> > your last upgrade? I'm not certain that this is the correct package name,
> > but I recall installing a package that caused kdm to ignore the kdmrc
> > file and read, instead, a file installed in the /etc/default directory.
> > After installing it a couple of times I finally learned to avoid it.
> >
> > HTH
> >
> > cmr
>
> This was a god idea, but sadly not the reason. I agree with you, that some
> package might be responsible for this. As I set in kdmrc a negative number
> for vt, it takes the highest non used terminal by the kernel.
>
> I tried to set vt=7 in kdmrc, and yes, that worked. X then is on vt7. But
> this thing I knew before.
>
> What I want to find out more is, why debian is suddenly changing the use of
> tty7 and tty8.
>
> I still found no way, to find out what processes need tty7 and 8, ps did
> tell nothing. I still found out, that debian-desktop changed initrd-image,
> another point, that the kernel seems something to do with this behaviour.
>
> Obviously only few people seem to know, what is causing this. I googled a
> little bit, and vt9 seem to be used in other distributions, too.
>
> On the other hand, a friend of mine is using sid/amd64, too, and his X is
> running on vt7. Really weired....
>
> Anyway, as it is not a bug at all, it is not serious, but it would be just
> nice to know, what is happening.
>
>
> Cheers
>
> Hans

Hans,

I agree this is curious and, like you, I would want to learn the cause. Since
you've already tried `ps` without success, my next and last idea probably
won't help either, but have you taken a look at /etc/inittab and the getty
lines?

Cheers!

cmr

--
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by Bugzilla from hans.ullrich@loop.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> I agree this is curious and, like you, I would want to learn the cause.
>  Since you've already tried `ps` without success, my next and last idea
>  probably won't help either, but have you taken a look at /etc/inittab and
>  the getty lines?
>
> Cheers!
>
> cmr
>

Yes, of course I looked at this. It was the first point, I looked at.
Everything is correct in there. However, I suppose, no one seem to know abouit
this, or it is not so important for people.

There are only very few responds to my question. Anyway, it is neither a
security hole, nor a bug.

So no one cares, I suppose. Thanks for your help anyway!

Best regards

Hans
 


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Who is starting this process?

by Sarunas Burdulis-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hans-J. Ullrich wrote:

> Am Samstag 24 Oktober 2009 schrieb C M Reinehr:
>> On Sat 24 October 2009 02:46:44 am Hans-J. Ullrich wrote:
>>>> I see some lines referring to vt9 and vt10 in /etc/X11/xdm/Xservers,
>>>> but they are commented out on my machine.
>>>>
>>>> So, if you did not uncomment those lines, who did?
>>>>
>>>> *paranoia recommended*
>>>>
>>>>
>>>> Dave W.
>>> Yes, same lines I found, too, but they are commented out here, too.
>>>
>>> Strange things happen in debian-world... :))
>>>
>>> Greets
>>>
>>>
>>> Hans
>> Hans,
>>
>> I'm running KDE3 and the number of virtual terminals seems be controlled by
>> and entry in /etc/kde3/kdm/kdmrc. In the first paragraph I have:
>>
>> [General]
>> ConfigVersion=2.3
>> ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
>> PidFile=/var/run/kdm.pid
>> ReserveServers=:1,:2,:3
>> ServerVTs=-7
>> StaticServers=:0
>>
>> HTH!
>>
>> cmr
>>
> Hi CM,
>
> yes, I know this entry. The minus before the number is telling "use the next
> free vt the kernel shows".
>
> But it should be 7 not 9. Strangely suddenly this changed some day, although I
> did only an update. My 32-bit machine never showed this behaviour.
>
> It is not really disturbing me, but it is annoying me, that X is now on 9 but
> 9, but it is annoying me, I do not understand, what had really happened. :)

You can probably find out what package provided kdmrc (dpkg -S ?) and
then investigate the changelog of that package...

- --
Sarunas Burdulis
Systems Administrator
Department of Mathematics, Dartmouth College
http://math.dartmouth.edu/~sarunas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrl7ykACgkQejaFVltl6E9ghwCgmUZ9nw222EiYYWDAipiUMdJo
MeYAnR4O3gjtG4e5br/eudI0mUsgGkUG
=dpgC
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...