Hi!
The problem is that you're trying to run the script with 'sudo' which
doesn't work. Becoming root first, then running the script works
as expected though:
glaubitz@ikarus:~$ sudo /usr/share/bug/xorg/script 3>/tmp/script.log
/usr/share/bug/xorg/script: 19: /usr/share/bug/xorg/script: 3: Bad file
descriptor
glaubitz@ikarus:~$ sudo -i
root@ikarus:~# /usr/share/bug/xorg/script 3>/tmp/script.log
root@ikarus:~# head /tmp/script.log
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.
VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500
[8086:1616] (rev 09)
/etc/X11/xorg.conf does not exist.
root@ikarus:~#
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913