Subject: xfree86-common: Should include /etc/X11/Xreset{.d}
Date: Fri, 30 Jan 2004 23:23:50 +0100
Package: xfree86-common
Version: 4.2.1-16
Severity: wishlist
In skolelinux, we would like to run a script when the users are
logging out, to do general cleanup. For this, it would be useful if
the display managers had hooks in Xreset we could use to have our
script executed.
Could you please add /etc/X11/Xreset and /etc/X11/Xreset.d (like the
current /etc/X11/Xsession{.d}), and thus make it possible for the
display managers to share one such file?
If you are interested in adding this feature, I'll provide a patch and
send bugreports against wdm, xdm and kdm to ask them to use this file.
(Not sure why gdm do not include a Xreset file, but it did not appear
on
<URL:http://packages.debian.org/cgi-bin/search_contents.pl?word=Xreset>).
I'll file a bug on gdm too just to keep all of them consistent. :)
Subject: Re: Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
Date: Sat, 31 Jan 2004 21:15:40 -0800
On Fri, Jan 30, 2004 at 11:23:50PM +0100, Petter Reinholdtsen wrote:
>
> Package: xfree86-common
> Version: 4.2.1-16
> Severity: wishlist
>
> In skolelinux, we would like to run a script when the users are
> logging out, to do general cleanup. For this, it would be useful if
> the display managers had hooks in Xreset we could use to have our
> script executed.
>
> Could you please add /etc/X11/Xreset and /etc/X11/Xreset.d (like the
> current /etc/X11/Xsession{.d}), and thus make it possible for the
> display managers to share one such file?
>
> If you are interested in adding this feature, I'll provide a patch and
> send bugreports against wdm, xdm and kdm to ask them to use this file.
What patch would you be adding against xdm, exactly, since xdm already
knows how to do this quite well on its own?
Well, it doesn't do anything silly like /etc/X11/Xreset.d, but it does
support Xreset and has pretty much forever. The fact that Debian doesn't
ship one just means that you get to create one.
See xdm(1).
--
Marc Wilson | For the next hour, WE will control all that you see
[email protected] | and hear.
Subject: Re: Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
Date: 15 Feb 2004 01:21:02 +0100
[Marc Wilson]
> What patch would you be adding against xdm, exactly, since xdm already
> knows how to do this quite well on its own?
Something like inserting a file with something like this:
#!/bin/sh
# Do xdm specific stuff here
# invoke global X reset script
. /etc/X11/Xreset
# Do more xdm specific stuff here
The file /etc/X11/Xreset could then include something like this
(copied from Xsession):
#!/bin/sh
message () {
# pretty-print messages of arbitrary length; use xmessage if it
# is available and $DISPLAY is set
MESSAGE="$PROGNAME: $*"
echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2
if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then
echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file -
fi
}
errormsg () {
# exit script with error
message "$*"
exit 1
}
internal_errormsg () {
# exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message
# One big call to message() for the sake of xmessage; if we had two then
# the user would have dismissed the error we want reported before seeing the
# request to report it.
errormsg "$*" \
"Please report the installed version of the \"xfree86-common\"" \
"package and the complete text of this error message to" \
"<[email protected]>."
}
run_parts () {
# until run-parts --noexec is implemented
if [ -z "$1" ]; then
internal_errormsg "run_parts() called without an argument."
fi
if [ ! -d "$1" ]; then
internal_errormsg "run_parts() called, but \"$1\" does not exist or is" \
"not a directory."
fi
for F in $(ls $1); do
if expr "$F" : '[[:alnum:]_-]\+$' > /dev/null 2>&1; then
if [ -f "$1/$F" ]; then
echo "$1/$F"
fi
fi
done
}
SYSSESSIONDIR=/etc/X11/Xreset.d
SESSIONFILES=$(run_parts $SYSSESSIONDIR)
if [ -n "$SESSIONFILES" ]; then
for SESSIONFILE in $SESSIONFILES; do
. $SESSIONFILE
done
fi
exit 0
If all ?dm implementations in Debian supported this, it would be easy
for the Debian-Edu / Skolelinux to hook into the configuration. Of
course, we could add separate hooks for each ?dm package and try to
keep them in sync, but the task is so similar that I believe it is
best to store it in one file shared by all display managers.
> See xdm(1).
I've read it. :)
Subject: Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
Date: Sat, 27 Jan 2007 14:43:35 +0100
Hi,
About 3 years ago, you reported a bug to the Debian BTS regarding the
missing /etc/X11/Xreset{,.d}.
Does this problem still matter today? If not, I will close this bug in
the next weeks.
Thanks,
Brice
Closing this bug since I didn't get any reply from the submitter after
my ping a month ago. If anybody ever reproduces this problem, feel free
to reopen.
Brice
Subject: Re: xfree86-common: Should include /etc/X11/Xreset{.d}
Date: Mon, 26 Feb 2007 21:17:09 +0100
reopen 230422
thanks
[Brice Goglin]
> About 3 years ago, you reported a bug to the Debian BTS regarding
> the missing /etc/X11/Xreset{,.d}. Does this problem still matter
> today? If not, I will close this bug in the next weeks.
Yes, it does. We would for example like to kill processes, remove
temp files or similar, and it would be a lot easier if some Xreset.d/
like mechanism is available.
For example, we would like to supply a script in the debian-edu-config
package to clean up commonly left behind processes when a user log
out, and get it enabled without having to edit any file, especially a
file in another package.
> Closing this bug since I didn't get any reply from the submitter
> after my ping a month ago. If anybody ever reproduces this problem,
> feel free to reopen.
Sorry for missing the ping.
Friendly,
--
Petter Reinholdtsen
Subject: Re: Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
Date: Mon, 26 Feb 2007 21:55:58 +0100
reassign 230422 x11-common
thank you
> Yes, it does. We would for example like to kill processes, remove
> temp files or similar, and it would be a lot easier if some Xreset.d/
> like mechanism is available.
>
> For example, we would like to supply a script in the debian-edu-config
> package to clean up commonly left behind processes when a user log
> out, and get it enabled without having to edit any file, especially a
> file in another package.
>
Ok, thanks. Reassigning to x11-common since xfree86-common does not
exist anymore.
> Sorry for missing the ping.
Better late than never :)
Brice
Acknowledgement sent
to Petter Reinholdtsen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <[email protected]>.
(Sun, 31 Jan 2010 22:21:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Brice Goglin <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <[email protected]>.
(Sun, 31 Jan 2010 22:42:05 GMT) (full text, mbox, link).
Subject: Re: Bug#230422: free86-common: Should include /etc/X11/Xreset{.d}
Date: Sun, 31 Jan 2010 23:39:56 +0100
Petter Reinholdtsen wrote:
> Any hope of having this fixed for Squeeze? What can I do to help make
> this feature available in Squeeze?
>
Find some maintainers for X in Debian :)
Brice
Acknowledgement sent
to Petter Reinholdtsen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <[email protected]>.
(Fri, 26 Feb 2010 09:18:54 GMT) (full text, mbox, link).
tags 230422 + patch
thanks
[Brice Goglin]
> Find some maintainers for X in Debian :)
Do not know how to do that, but I do know how to make a patch
implementing the change I want. This patch implement the Xreset.d
framework. When it is in place, the next step is to get the display
manager maintainers to use it, ie get their own Xreset script to use
/etc/X11/Xreset.
With Debian Edu, we need a way to run stuff as root when a user log
out. We did consider pam, but pam modules are running as the user
itself during logout, and do not allow all the operations we want to
do during logout.
Happy hacking,
--
Petter Reinholdtsen
Source: xorg
Source-Version: 1:7.5+4
We believe that the bug you reported is fixed in the latest version of
xorg, which is due to be installed in the Debian FTP archive:
libglu1-xorg-dev_7.5+4_all.deb
to main/x/xorg/libglu1-xorg-dev_7.5+4_all.deb
libglu1-xorg_7.5+4_all.deb
to main/x/xorg/libglu1-xorg_7.5+4_all.deb
x11-common_7.5+4_all.deb
to main/x/xorg/x11-common_7.5+4_all.deb
xbase-clients_7.5+4_all.deb
to main/x/xorg/xbase-clients_7.5+4_all.deb
xlibmesa-gl-dev_7.5+4_all.deb
to main/x/xorg/xlibmesa-gl-dev_7.5+4_all.deb
xlibmesa-gl_7.5+4_all.deb
to main/x/xorg/xlibmesa-gl_7.5+4_all.deb
xlibmesa-glu_7.5+4_all.deb
to main/x/xorg/xlibmesa-glu_7.5+4_all.deb
xorg-dev_7.5+4_all.deb
to main/x/xorg/xorg-dev_7.5+4_all.deb
xorg_7.5+4.dsc
to main/x/xorg/xorg_7.5+4.dsc
xorg_7.5+4.tar.gz
to main/x/xorg/xorg_7.5+4.tar.gz
xorg_7.5+4_i386.deb
to main/x/xorg/xorg_7.5+4_i386.deb
xserver-xorg-input-all_7.5+4_i386.deb
to main/x/xorg/xserver-xorg-input-all_7.5+4_i386.deb
xserver-xorg-video-all_7.5+4_i386.deb
to main/x/xorg/xserver-xorg-video-all_7.5+4_i386.deb
xserver-xorg_7.5+4_i386.deb
to main/x/xorg/xserver-xorg_7.5+4_i386.deb
xutils_7.5+4_all.deb
to main/x/xorg/xutils_7.5+4_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Brice Goglin <[email protected]> (supplier of updated xorg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 14 Mar 2010 11:15:07 +0100
Source: xorg
Binary: x11-common xserver-xorg xserver-xorg-video-all xserver-xorg-input-all xorg xorg-dev xlibmesa-gl xlibmesa-gl-dev xlibmesa-glu libglu1-xorg libglu1-xorg-dev xbase-clients xutils
Architecture: source all i386
Version: 1:7.5+4
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <[email protected]>
Changed-By: Brice Goglin <[email protected]>
Description:
libglu1-xorg - transitional package for Debian etch
libglu1-xorg-dev - transitional package for Debian etch
x11-common - X Window System (X.Org) infrastructure
xbase-clients - miscellaneous X clients - metapackage
xlibmesa-gl - transitional package for Debian etch
xlibmesa-gl-dev - transitional package for Debian etch
xlibmesa-glu - transitional package for Debian etch
xorg - X.Org X Window System
xorg-dev - the X.Org X Window System development libraries
xserver-xorg - the X.Org X server
xserver-xorg-input-all - the X.Org X server -- input driver metapackage
xserver-xorg-video-all - the X.Org X server -- output driver metapackage
xutils - X Window System utility programs metapackage
Closes: 230422570447
Changes:
xorg (1:7.5+4) unstable; urgency=low
.
* Add Xreset and Xreset.d support, closes: #230422.
* Improve startup speed of Xsession.d scripts by eliminating all unnecessary
external program calls, thanks Martin Pitt, closes: #570447.
- In 20x11-common_process-args, cat $OPTIONFILE once into a variable and
use POSIX variable substitution in all scripts instead of calling grep
for every single test.
- Use shell built in "type" instead of external "which" to test for
programs.
- 30x11-common_xresources: Swap the order of tests to keep the most
unlikely (like "~/.Xresources exists") outside, to avoid running the
other tests (like "xrdb exists") on systems which don't use Xresources.
Checksums-Sha1:
38146e896159317decf964facaf7d2ba2393af93 1029 xorg_7.5+4.dsc
df64f331b45aaee496c0b92368ff148e892df5c2 878374 xorg_7.5+4.tar.gz
d5fdd15c80829633ec200a855f14de74f12421d1 279724 x11-common_7.5+4_all.deb
fe839a8096c46bb903e97fe1aac4aa6729549205 31324 xorg-dev_7.5+4_all.deb
b30e6920578db0ee68a5b86a3be2b6d1906fdd24 30956 xlibmesa-gl_7.5+4_all.deb
35cc1464692405400fe9860081d19bb67257238c 30962 xlibmesa-gl-dev_7.5+4_all.deb
d847b71f9b569b5963def9fc4782aabdef746da7 30958 xlibmesa-glu_7.5+4_all.deb
2eecdd8ad768b235c30782b61485256d290bbe76 30950 libglu1-xorg_7.5+4_all.deb
9e0cd30e7951e5c973d72bc6c618891b57f2b4f0 30958 libglu1-xorg-dev_7.5+4_all.deb
9f5910ac2b48279280d31cfdc816e26bf312e037 37336 xbase-clients_7.5+4_all.deb
001e3345e5ad7ed11e7fe5d2f5caeb10118d125a 37436 xutils_7.5+4_all.deb
1903494b896e8c72d8ea1219cfb9788b5d384db2 52044 xserver-xorg_7.5+4_i386.deb
683cb6eef55139c780ed238dc7d6c146288b877f 31162 xserver-xorg-video-all_7.5+4_i386.deb
502118966b6db20911774ceba50316b07ced0acb 31020 xserver-xorg-input-all_7.5+4_i386.deb
99700f21f34bed449db6af872549ecf50cdc4f23 31534 xorg_7.5+4_i386.deb
Checksums-Sha256:
bc36343f0977f467722794efaa4c7cbc1f315388e69f0ab571b2b1a0fcd7e72a 1029 xorg_7.5+4.dsc
e4a9cab423aab5396147457653836940ca8752230a7b232b0d186b3dd39f9936 878374 xorg_7.5+4.tar.gz
88e59e1c930d11e7ae8f362f8a9948135308d445cfadb5b90cf0c9b3dd249943 279724 x11-common_7.5+4_all.deb
a8bfafa8c0e7bcfc4820c5786d759d495e600238026ae242a53e142d53d35282 31324 xorg-dev_7.5+4_all.deb
7e015f9d521f304fb70196dc69c49f2074517b2eb6dd46396ed33b396869e830 30956 xlibmesa-gl_7.5+4_all.deb
03d1c2d41c80039d7b5b977c8b3ea9a3961d601fcd461a6424ce1457190b8d24 30962 xlibmesa-gl-dev_7.5+4_all.deb
d1b5f8c05efec90da50ecbca717bfc041eae681baf14343b344c16e7bdec605c 30958 xlibmesa-glu_7.5+4_all.deb
234423170e84b18584f7f59d2be80f7a4ef0bbd6421097708fbd49d5a497924f 30950 libglu1-xorg_7.5+4_all.deb
cfd35dea550c07cd16dd14920e81ed02c0efa060a279488eab021af5521eb34b 30958 libglu1-xorg-dev_7.5+4_all.deb
8629f7aa2175210842d4d4f27d7a5b7aa0d0ae93ceb8f7b7e92a1c865c489423 37336 xbase-clients_7.5+4_all.deb
cf04b957fcaa7c021d1f2508cc6ad37ff0987c7df9de6b0c2236667d5276c92a 37436 xutils_7.5+4_all.deb
e835ad9b41604e5ed98b6826ba2b50a831d170de1184dcf75c3974ab1f7699df 52044 xserver-xorg_7.5+4_i386.deb
b0d785a9c9f62bf8653712efc0a2a7b446668829a7513602a7696b95426be729 31162 xserver-xorg-video-all_7.5+4_i386.deb
bdae7da9b948c1672ba9e44dc380accb8d0cd245d5c3bb9a977c79549d694870 31020 xserver-xorg-input-all_7.5+4_i386.deb
b76e165ce3d9f1fc315722e616c44ce4f225ae81b9695dd100f1f57ed28e775b 31534 xorg_7.5+4_i386.deb
Files:
b0f5930348c7fd958a49d17cf5038ec7 1029 x11 optional xorg_7.5+4.dsc
d82e1c36d5fa90489f0368f89e6ce247 878374 x11 optional xorg_7.5+4.tar.gz
66db726f16b7d4470ed75b4aadac7255 279724 x11 optional x11-common_7.5+4_all.deb
975e43d2651360127e52117fb732e904 31324 x11 optional xorg-dev_7.5+4_all.deb
9012d377074589af2864979cf0741f1b 30956 libs optional xlibmesa-gl_7.5+4_all.deb
706a71167d6e831a71dc05698e840cb2 30962 libdevel optional xlibmesa-gl-dev_7.5+4_all.deb
9aa71a82029cff22c00caa8a0d778788 30958 libdevel optional xlibmesa-glu_7.5+4_all.deb
5253281343a99c9a4f056007e3ef8489 30950 libs optional libglu1-xorg_7.5+4_all.deb
ed44177e30433625696ecfb0ddb9a323 30958 libdevel optional libglu1-xorg-dev_7.5+4_all.deb
81178946e9de4944965a49a4b2f1b690 37336 x11 optional xbase-clients_7.5+4_all.deb
5e239fd18e8c5b33f52ae956d61bd27f 37436 x11 optional xutils_7.5+4_all.deb
9d6e3d19510636935d37e24c99af47c9 52044 x11 optional xserver-xorg_7.5+4_i386.deb
6ae843b2c433d0f45647f2b6febc98a2 31162 x11 optional xserver-xorg-video-all_7.5+4_i386.deb
f64b1d59159e95f8629c1e3667068692 31020 x11 optional xserver-xorg-input-all_7.5+4_i386.deb
7442e1cc6ad20229cd96d8b0419a3caf 31534 x11 optional xorg_7.5+4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkuct9QACgkQRh88F8PcWfqdSgCgsNpUTj/wMJ5wD+ReJ04cEh0t
p8kAn19OFvzO/eQ61RU/nxwCzaX7V4pU
=OXeM
-----END PGP SIGNATURE-----
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.