Nice value of the X server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Christopher Keller wrote:

>On Fri, 2002-04-26 at 11:39, Michal Jaegermann wrote:
>
>>On a "plain old desktop" in my home my wife and my son are using the
>>same machine (I usually hack on something else :-).  They like their
>>desktops in a totally different way in many details.  So the second
>>person which showed up after X was restarted for whatever reasons
>>fires up, from a text console, the second server on a display ":1"
>>and now you can trivially switch between these desktops usually by
>>going from a console 7 to 8 and back.  This still does not include
>>those clients which may come over a network with a display somewhere
>>else - which happens quite regularly.  This IS a multiuser operating
>>system.
>>
>Again, you're desiging a generic solution for a problem that doesn't
>exist, at least in my world. The computer in question is not a
>multi-user server, there is only one (and ever one) X process. The pidof
>command will work perfectly every time.
>

Why is there only ever one X process?

There are at least 2. One for GDM where you login
(at runlevel 5) , it dies, and the one for your Xsession
where you do some work starts. When you logout that
process dies and a new X is started for GDM again

GDM can be replaced by XDM or KDM too.

Create a suid script top renice the current X process.
The run it in your login scripts.
pidof should be fine for this.

    -Thomas





[Red Hat General]     [Red Hat Watch]     [Red Hat Development]     [Kernel Development]     [Yosemite Camping]

  Powered by Linux