Bug#220675: xserver-common: Providing requested info
On Monday 07 June 2004 08:29 pm, Branden Robinson wrote:
> On Sat, Jun 05, 2004 at 03:50:26PM -0400, Adam Aube wrote:
> > I am having the same problem - dpkg-reconfigure xserver-common does
> > not change nice value in /etc/X11/Xwrapper.config.
> > I eventually had to resort to editing the file manually. Additional
> > info can be provided if needed.
> Please supply the information I requested of the submitter:
> Please mail me the output of the command after doing this:
> export DEBUG_XFREE86_PACKAGE=YES
> export DEBIAN_FRONTEND=readline
> dpkg-reconfigure xserver-common
*** BEGIN CONSOLE TRANSCRIPT ***
$ export DEBUG_XFREE86_PACKAGE=YES
$ export DEBIAN_FRONTEND=readline
$ sudo dpkg-reconfigure xserver-common
xserver-common config note: Linux kernel > 2.5 detected; using 0 as
default nice value
xserver-common config note: setting xserver-common/xwrapper/allowed_users
from configuration file
xserver-common config note: setting xserver-common/xwrapper/nice_value
from configuration file
Because the X server runs with superuser privileges, it may be unwise to
permit any user to start it, for security reasons. On the other hand, it
is even more unwise to run general-purpose X client programs as root,
which is what may happen if only root is permitted to start the X server.
A good compromise is to permit the X server to be started only by users
logged in to one of the virtual consoles.
1. Root Only 2. Console Users Only 3. Anybody
Select what type of user has permission to start the X server. 2
When using operating system kernels with a particular scheduling strategy,
it has been widely noted that the X server's performance improves when it
is run at a higher process priority than the default; a process's
priority is known as its "nice" value. They range from -20 (extremely
high priority, or "not nice" to other processes) to 19 (extremely low
priority). The default nice value for ordinary processes is 0. -10 is a
good default for a single-user workstation; 0 is a good default for a
machine that has duties other than interacting with the console user
(such as a web server).
The above is not true of Linux kernel version 2.6 (nor of the 2.5 series
after the "O(1) scheduler" was included); on such systems, the nice value
of the X server should be set to 0.
Values outside the range of -10 to 0 are not recommended; too negative,
and the X server will interfere with important system tasks. Too
positive, and the X server will be sluggish and unresponsive.
Enter the desired nice value for the X server to use. -10
xserver-common postinst note: not updating /etc/X11/Xwrapper.config; no
stored checksum available
*** END CONSOLE TRANSCRIPT ***
The output from the console commands was edited for formatting only; no
content was changed. A cat of /etc/X11/Xwrapper.config confirms the file
has not been changed.