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
|
if $altstartx; then
|
||||||
# Alternative method of calling setsid(/startx) for systems that are unresponsive to the 'normal' call.
|
# Alternative method of calling setsid(/startx) for systems that are unresponsive to the 'normal' call.
|
||||||
(setsid startx "$@" > "$startxlog" 2>&1)
|
(startx "$@" > "$startxlog"
|
||||||
else
|
else
|
||||||
setsid startx "$@" > "$startxlog" 2>&1
|
startx "$@" > "$startxlog"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If wait(1) returns with a value >128, it was interrupted by kill(1),
|
# If wait(1) returns with a value >128, it was interrupted by kill(1),
|
||||||
|
@ -41,7 +41,7 @@ display=0
|
|||||||
|
|
||||||
# Where should the first X tty be spawned?
|
# Where should the first X tty be spawned?
|
||||||
# special value `keep' causes to run X in current tty.
|
# special value `keep' causes to run X in current tty.
|
||||||
xtty=7
|
xtty=keep
|
||||||
|
|
||||||
# Should cdm(1) stick to the specified display?
|
# Should cdm(1) stick to the specified display?
|
||||||
locktty=no
|
locktty=no
|
||||||
|
Loading…
Reference in New Issue
Block a user