Bug#1086518: startx: $userserverrc is not set if $XSERVERRC exists
Package: xinit
Version: 1.4.2-1
Severity: normal
X-Debbugs-Cc: ignacio@facundo.ag
Dear mantainer,
this line of the startx script wrongly sets the $userclientrc variable
instead of the $userserverrc variable if the file specified in the
$XSERVERRC variable exists:
[ -f "${XSERVERRC}" ] && userclientrc="${XSERVERRC}"
Patch:
--- /usr/bin/startx 2024-10-31 13:41:58.794473583 -0300
+++ /usr/bin/startx.new 2024-10-31 13:42:06.206454416 -0300
@@ -18,7 +18,7 @@
sysclientrc=/etc/X11/xinit/xinitrc
userserverrc=$HOME/.xserverrc
-[ -f "${XSERVERRC}" ] && userclientrc="${XSERVERRC}"
+[ -f "${XSERVERRC}" ] && userserverrc="${XSERVERRC}"
sysserverrc=/etc/X11/xinit/xserverrc
defaultclient=/usr/bin/xterm
defaultserver=/usr/bin/X
Thanks,
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.4-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=es_AR:es
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xinit depends on:
ii libc6 2.40-3
ii libx11-6 2:1.8.7-1+b1
ii x11-common 1:7.7+23.1
ii xauth 1:1.1.2-1
Versions of packages xinit recommends:
ii alacritty [x-terminal-emulator] 0.13.2-2+b3
ii awesome [x-window-manager] 4.3-7+b1
ii xserver-xorg [xserver] 1:7.7+23.1
xinit suggests no packages.
-- no debconf information
Reply to: