Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31827 - [xinit] kills all X servers attached to same tty when exiting

Attached to Project: Arch Linux
Opened by Ahmed El-Hajjar (cdahmedeh) - Sunday, 07 October 2012, 05:51 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 08 February 2014, 12:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When a second X server is started and it is exited, it kills the first server along with it.

Steps to reproduce:
1. Go to tty2, and run
xinit /usr/bin/xterm -- :1
2. You will be switched to the VT of that first X server with an xterm window open.
3. In the xterm window, run
xinit /usr/bin/xterm -- :2
4. You are now in that second X server with an xterm window open.
5. In this xterm window, run
exit
6. Both the first X server and second X server will get killed. The correct behavior is that only the second one should be killed.

Additional info:
~ % uname -a
Linux ahmed-x201 3.5.4-1-pae #1 SMP PREEMPT Tue Sep 18 20:42:04 EDT 2012 i686 GNU/Linux

~ % pacman -Qi xorg-server
Name : xorg-server
Version : 1.12.4-1
URL : http://xorg.freedesktop.org
Licenses : custom
Groups : xorg
Provides : x-server
Depends On : libxdmcp libxfont udev libpciaccess libdrm pixman
libgcrypt libxau xorg-server-common xf86-input-evdev
Optional Deps : None
Required By : None
Conflicts With : nvidia-utils<=290.10
Replaces : None
Installed Size : 3884.00 KiB
Packager : Jan de Groot <jgc@archlinux.org>
Architecture : i686
Build Date : Mon 27 Aug 2012 04:09:46 AM EDT
Install Date : Wed 29 Aug 2012 12:03:12 AM EDT
Install Reason : Explicitly installed
Install Script : No
Description : Xorg X server

~ % pacman -Ql xorg-xinit
xorg-xinit /etc/
xorg-xinit /etc/X11/
xorg-xinit /etc/X11/xinit/
xorg-xinit /etc/X11/xinit/xinitrc
xorg-xinit /etc/X11/xinit/xserverrc
xorg-xinit /etc/skel/
xorg-xinit /etc/skel/.xinitrc
xorg-xinit /etc/skel/.xsession
xorg-xinit /usr/
xorg-xinit /usr/bin/
xorg-xinit /usr/bin/startx
xorg-xinit /usr/bin/xinit
xorg-xinit /usr/share/
xorg-xinit /usr/share/licenses/
xorg-xinit /usr/share/licenses/xorg-xinit/
xorg-xinit /usr/share/licenses/xorg-xinit/COPYING
xorg-xinit /usr/share/man/
xorg-xinit /usr/share/man/man1/
xorg-xinit /usr/share/man/man1/startx.1.gz
xorg-xinit /usr/share/man/man1/xinit.1.gz

~ % cat .zprofile
PATH=${PATH}:${HOME}/Local/bin

vt=$(fgconsole 2>/dev/null)
(( vt == 1 )) && exec startx -- vt$vt &> /dev/null
unset vt

~ % cat .xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi

# exec gnome-session
# exec startkde
#exec startxfce4 --with-ck-launch
exec ck-launch-session dbus-launch startxfce4
#exec ck-launch-session dbus-launch startkde
# ...or the Window Manager of your choice
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 08 February 2014, 12:16 GMT
Reason for closing:  No response
Additional comments about closing:  It's either fixed meanwhile or an upstream issue.
Comment by Andreas Radke (AndyRTR) - Monday, 20 January 2014, 14:18 GMT
IS this bug still present? We had lots of updates in the related packages. If it's crashing the first Xserver please narrow it down with upstream help.
We don't change anything related in these packages.

Loading...