FS#57810 - [xorg-xinit] sed bad syntax
Attached to Project:
Arch Linux
Opened by lucenera (lucenera) - Monday, 12 March 2018, 21:06 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 17 March 2018, 12:54 GMT
Opened by lucenera (lucenera) - Monday, 12 March 2018, 21:06 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 17 March 2018, 12:54 GMT
|
Details
Description:
when I run the startx command, I get the following warning: sed: -e expression # 1, char 52: unknown option to 's'. Additional info: * xorg-xinit 1.4.0-1 [testing] * .xinitrc: [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources if [ -d /etc/X11/xinit/xinitrc.d ] ; then for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do [ -x "$f" ] && . "$f" done unset f fi exec i3 Steps to reproduce: bash in user's shell: issue 'startx' command. |
This task depends upon
While the fix above did remove the sed error, I am still getting: xauth: file /home/user/.serverauth.9006 does not exist (the number 9006 changes with each start x.)
Prior to 1.4.0-1 and now 1.4.0-2, so up to 1.3.4-4, it seems the serverauth.* file was created in /tmp
Since 1.4+, it is created in $HOME. However, xorg may still be looking for that file in /tmp and not seeing it, give off the "xauth: file /home/user/.serverauth.9006 does not exist"
I can file a separate bug for this issue if more appropriate, but fs25361.patch may be causing this as well.
https://cgit.freedesktop.org/xorg/app/xinit/commit/?h=xinit-1.4.0&id=e07fa99039c0f63ed8f0b142e546ef102321fca0 - that's the only touching it and doesn't change it to homedir.
I might have spoken too quickly re. the fs25361.patch causing this error -> "xauth: file /home/user/.serverauth.9006 does not exist" (Note: the number 9006 changes with each start x.)
But I can assure that it is there on each "startx" since moving from 1.3.4-4 to 1.4+.
And I have checked for the .serverauth* file, in both /tmp and $HOME. on the 3 versions mentioned. It appears in $HOME only starting with 1.4+. At least, on my box. Please see here:
<https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xorg-xinit&id=2575760c14fee29ed426cae721e6326b7d374ef3>
It could be due to something else wrongly configured on my box, but frankly, seeing it run very clean on 1.3.4-4; I'm not sure the cause is "local".
I could also open a new bug so this one can be closed, if that is better. Please let me know.