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

Bug#801529: marked as done (xinit: startx fails when output is redirected)



Your message dated Mon, 19 Oct 2015 01:19:48 +0000
with message-id <E1Znz76-0000Ks-0w@franck.debian.org>
and subject line Bug#801529: fixed in xinit 1.3.4-2
has caused the Debian Bug report #801529,
regarding xinit: startx fails when output is redirected
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
801529: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801529
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xinit
Version: 1.3.4-1
Severity: normal

Dear Maintainer,

As of my most recent sid upgrade, startx stopped working.
The problem turned out to be that it no longer supports redirection.

I was logging in to tty1 and running this in my .zlogin:

startx >& $HOME/.xsession-errors

As of the upgrade to the "run as user" X server, X fails to start.
It pauses for 5-10 seconds, then exits, leaving the terminal
settings wrong so I have to run reset.

.local/share/xorg/Xorg.0.log says:

[  1000.714] (++) using VT number 1

[  1000.714] (EE) 
Fatal server error:
[  1000.714] (EE) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted
[  1000.714] (EE) 

Running simply startx, without the redirect, works. But of course I
can no longer check output from programs run inside X.

Some comments on the web suggest that startx -- -keeptty will allow
redirection, but man xinit warns:
    This  option is only useful when debugging the server.
    Not all platforms support (or can use) this option.
so it seems like that might not be a good long-term option.

Redhat claims to have a fix for the redirection problem:
https://bugzilla.redhat.com/show_bug.cgi?id=1177513#c5
I can't verify whether their fix actually fixes the issue (and I'm
not sure how to find the actual code change involved in the fix,
or whether it was pushed upstream, though I'm guessing not since
that was back in January so Debian hopefully would have it by now).

I haven't been able to find any other way besides redirection to get
stdout and stderr for programs run inside X. Is there a new and
improved way that would make redirection unnecessary?


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.14-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xinit depends on:
ii  coreutils   8.23-4
ii  libc6       2.19-22
ii  libx11-6    2:1.6.3-1
ii  x11-common  1:7.7+12
ii  xauth       1:1.0.9-1

Versions of packages xinit recommends:
ii  gnome-terminal [x-terminal-emulator]  3.18.0-1
ii  openbox [x-window-manager]            3.6.1-1
ii  xserver-xorg [xserver]                1:7.7+12
ii  xterm [x-terminal-emulator]           320-1

xinit suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: xinit
Source-Version: 1.3.4-2

We believe that the bug you reported is fixed in the latest version of
xinit, which is due to be installed in the Debian FTP archive.

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 801529@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Bigonville <bigon@debian.org> (supplier of updated xinit 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 19 Oct 2015 03:13:52 +0200
Source: xinit
Binary: xinit
Architecture: source amd64
Version: 1.3.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Laurent Bigonville <bigon@debian.org>
Description:
 xinit      - X server initialisation tool
Closes: 790433 801529
Changes:
 xinit (1.3.4-2) unstable; urgency=medium
 .
   * Team upload.
   * Remove xsfbs and switch to dh7
   * Make /etc/X11/xinit/xinitrc executable on upgrade too (Closes: #790433)
   * debian/control: Bump Standards-Version to 3.9.6 (no further changes)
   * d/p/07_Pass-keeptty-on-current-tty.patch: Pass -keeptty when telling the
     server to start on the current tty (Closes: #801529)
Checksums-Sha1:
 cdc15608ee75dfccb46d056461ccfeb7643431c6 1561 xinit_1.3.4-2.dsc
 2a16c4e615b70bd75fd6aa0ff8bef2e538172ef0 12195 xinit_1.3.4-2.diff.gz
 01d04cf01a7211710f3fa5264fff07dc32eb3f13 47414 xinit_1.3.4-2_amd64.deb
Checksums-Sha256:
 98b7248dad91929ee992fb2546437384227516e5573e3ff87402c86ae2066bd9 1561 xinit_1.3.4-2.dsc
 e2a480c2b0b078fdfa31bd3421ec2fcc040a6dd64e4ee707469e67dfa3afc8b1 12195 xinit_1.3.4-2.diff.gz
 8ab3e9433b89fcb6b4cbe1d9bf4890d4865edc267a3ea237113286ef3e81a266 47414 xinit_1.3.4-2_amd64.deb
Files:
 76e43051c8debe9492111a82fc08e256 1561 x11 optional xinit_1.3.4-2.dsc
 f747d5487686505bc0ea07687a2cb3df 12195 x11 optional xinit_1.3.4-2.diff.gz
 faf50ec4266de938a134723e51844808 47414 x11 optional xinit_1.3.4-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJWJESiAAoJEB/FiR66sEPVRcgH/AyhtL7mWap3gDATf74nKrci
uI4rLEWFvGBLPjCoI4jW4j4lJltPVNpAlIKVBKT1+5hz8gqRtzyYbOWUWwKIS9eN
6sVOaUuFrHP6ZdDdACK7E069TWPUUDcpcZr4yOEEDnnZzOwWevtVZJCiTomcYTaU
DhfHDXD6mpCL6WSlIn/GRtxOkzKsL8zYMqY6CuKOjBofFFYJTW4+OpeIReh7rZ10
6C2OxlYTL1Bz9jd2PjutOCpW/iTmK0RLB65Ceq35NCpV2MIngqLwdztdu53WBT4J
lDMHP9wx+92UBusKI8Zw2xPLXJi6ZfAdtTsUfV41R7tHVflVRs9DMYCxuvmi7FY=
=n/lQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: