help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HOWTO] Start X server manually instead of using a login manager


From: Felix Lechner
Subject: Re: [HOWTO] Start X server manually instead of using a login manager
Date: Mon, 26 Feb 2024 09:28:27 -0800

Hi Tomas,

On Mon, Feb 26 2024, Tomas Volf wrote:

> There is patch #68289

Not sure where the message originated, but I use the script below.

Kind regards
Felix

* * *

#!/usr/bin/env -S guile --no-auto-compile -s
!#

(let* ((profile (string-append (getenv "HOME") "/.guix-profile"))
       (virtual-terminal (string-append "vt" (getenv "XDG_VTNR"))))
  (system* "xinit" "--"
           (string-append profile "/bin/Xorg")
           ":0"
           virtual-terminal "-keeptty"
           "-configdir" (string-append profile "/share/X11/xorg.conf.d")
           "-modulepath" (string-append profile "/lib/xorg/modules")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]