FS#76156 - [xfce4-session] Blank screen with startxfce4 w/ argument :DISPLAY > 0

Attached to Project: Arch Linux
Opened by Cyril (cyan) - Monday, 10 October 2022, 03:51 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The wrong order for `xinit` arguments in `usr/bin/startxfce4`:
```SERVERRC="vt$XDG_VTNR $SERVERRC"```
must be
```SERVERRC="$SERVERRC vt$XDG_VTNR"```
Because of, SERVERRC may contain DISPLAY argument, and `xinit` requires this one in strict position:
> xinit [ [ client ] options ... ] [ -- [ server ] [ display ] options ... ]

Additional info:
* Packages: xorg-xinit 1.4.1, xfce4-session 4.16.0
* Bug report: https://gitlab.xfce.org/xfce/xfce4-session/-/issues/147
* Additional info: https://gitlab.freedesktop.org/xorg/app/xinit/-/blob/master/xinit.c

Steps to reproduce:
1. Remove a Display Manager.
2. Remove a ~/.xinitrc and ~/.xserverrc.
3. Run exec startxfce4 -- :1 on VT console login.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:17 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/xfce4-session/issues/3

Loading...