Updates cdm's call to startx to be compatible with Xorg 1.16.
In the Xorg 1.16 notes at: https://www.archlinux.org/news/xorg-server-116-is-now-available/ it mentions that X "must be launched from the same virtual terminal as was used to log in"; therefore, cdm now launches, by default, on the same VT. "...redirecting stderr also breaks rootless login"; therefore, cdm no longer saves stderr. All the Xorg output should be available in is already available in logs: ~/.local/share/xorg/
This commit is contained in:
parent
c2255fd12a
commit
87e3ce54e4
@ -87,9 +87,9 @@ fi
|
||||
|
||||
if $altstartx; then
|
||||
# Alternative method of calling setsid(/startx) for systems that are unresponsive to the 'normal' call.
|
||||
(setsid startx "$@" > "$startxlog" 2>&1)
|
||||
(startx "$@" > "$startxlog"
|
||||
else
|
||||
setsid startx "$@" > "$startxlog" 2>&1
|
||||
startx "$@" > "$startxlog"
|
||||
fi
|
||||
|
||||
# If wait(1) returns with a value >128, it was interrupted by kill(1),
|
||||
|
Loading…
Reference in New Issue
Block a user