gnu: xpra: Disable abstract X11 sockets.
* gnu/packages/xorg.scm (xpra): Disable abstract X11 sockets.
This commit is contained in:
parent
d81a739a1f
commit
4ecfc16839
1 changed files with 4 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
;;; Copyright © 2016 David Craven <david@craven.ch>
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
||||||
;;; Copyright © 2016, 2017 John Darrington <jmd@gnu.org>
|
;;; Copyright © 2016, 2017 John Darrington <jmd@gnu.org>
|
||||||
;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
|
||||||
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
|
@ -6018,12 +6018,14 @@ basic eye-candy effects.")
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("/usr/lib/")
|
(("/usr/lib/")
|
||||||
(string-append (assoc-ref outputs "out") "/lib/")))
|
(string-append (assoc-ref outputs "out") "/lib/")))
|
||||||
|
;; Use Xvfb with '-nolisten local' to disable abstract X11 sockets.
|
||||||
(substitute* "./xpra/scripts/config.py"
|
(substitute* "./xpra/scripts/config.py"
|
||||||
((":.*join.*xvfb.*")
|
((":.*join.*xvfb.*")
|
||||||
(string-append ": \"" (assoc-ref inputs "xorg-server")
|
(string-append ": \"" (assoc-ref inputs "xorg-server")
|
||||||
"/bin/Xvfb +extension Composite"
|
"/bin/Xvfb +extension Composite"
|
||||||
" -screen 0 5760x2560x24+32 -dpi 96 -nolisten"
|
" -screen 0 5760x2560x24+32 -dpi 96 -nolisten"
|
||||||
" tcp -noreset -auth $XAUTHORITY\",\n")))
|
" tcp -nolisten local -noreset -auth"
|
||||||
|
" $XAUTHORITY\",\n")))
|
||||||
(substitute* "./xpra/scripts/config.py"
|
(substitute* "./xpra/scripts/config.py"
|
||||||
(("socket-dir.*: \"\",")
|
(("socket-dir.*: \"\",")
|
||||||
"socket-dir\" : \"~/.xpra\","))
|
"socket-dir\" : \"~/.xpra\","))
|
||||||
|
|
Reference in a new issue