FS#42193 - [xorg-xinit] startx + xserverrc create double vt argument

Attached to Project: Arch Linux
Opened by Cem Aydin (rebootl) - Tuesday, 30 September 2014, 18:51 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 16 March 2015, 18:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Maybe you already noticed.

After the update to 1.3.4-1 startx creates the vt argument by itself. Since we're using $XDG_VTNR in the default xserverrc we end up with two same vt arguments on the process.

~~~
$ ps ax|grep Xorg
7184 pts/5 S+ 0:00 grep Xorg
27394 tty1 S<l 23:20 /usr/bin/Xorg.bin -nolisten tcp :0 vt1 -auth /tmp/serverauth.ZrrB9zAcQ9 vt1
~~~

I don't know what would be the best to resolve it.

Please also see the discussion, which lead me to this:
https://bbs.archlinux.org/viewtopic.php?pid=1461790

Some people are reporting problems, but it's unclear whether they are connected to this.

Thanks

Additional info:
xorg-xinit 1.3.4-1

Steps to reproduce:
Call startx without arguments.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 16 March 2015, 18:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.3.4-2
Comment by Baeyens (berbae) - Wednesday, 01 October 2014, 09:23 GMT
The vtX parameter determined inside startx uses the output of the 'tty' command, and is added to the 'xinit' command line, if no arguments were passed to startx (after the '--'); but in this case the default '/etc/X11/xinit/xserverrc' is also used, which adds 'vt$XDG_VTNR' at the end of the Xorg command line.
Then there are two vtX in the final command line.
Maybe in some cases, one of the vtX parameters is not the right one, and that seems to prevent Xorg from starting.

Loading...