[Top][All Lists]

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

Re: Start Xorg server using xinit manually

From: Bone Baboon
Subject: Re: Start Xorg server using xinit manually
Date: Mon, 22 Mar 2021 23:22:23 -0400

Gary Johnson writes:

>   I run EXWM under Guix System.

It is good to hear that someone else is able to successfully use EXWM
with Guix.

> You don't need to manually start Xorg
> with xinit, startx, or any other command. First, make sure that you are
> installing emacs and emacs-exwm into your packages list. Also make sure
> that your services list includes %desktop-services. Here's a skeleton
> operating-system definition to build off of:
> (operating-system
>  ...
>  (packages (cons* nss-certs   ; HTTPS access
>                   emacs
>                   emacs-exwm
>                   %base-packages))
>  (services (cons* whatever-else
>                   you-want
>                   %desktop-services)))
> Start by installing this operating-system definition with the usual
> `sudo guix system reconfigure my-config.scm`.
> Then update your $HOME/.xsession file to include this at the end:
> # Start Emacs with the script here: /run/current-system/profile/bin/exwm
> exwm
> Finally, update $HOME/.exwm to include all your EXWM-specific Emacs Lisp
> code.
> When you reboot your machine, you'll be presented with a simple
> graphical login screen. Just type in your username and password for the
> user account with the updated $HOME/.xsession and $HOME/exwm files and
> log in. X will start up, your $HOME/.xsession file will be read, which
> will launch exwm. This will start up a full screen emacs instance that
> evaluates your $HOME/.exwm file and then your $HOME/.emacs.d/init.el
> file.
> That's all there is to it. Now you've got a fully graphically enabled
> Emacs instance running as a tiling window manager over X.

Thank you for the detailed instructions.

When I follow the instruction and boot I am taken to vt7 which has only
a blinking cursor. I never get a graphical login for X. The system is
responsive and I can switch to other virtual terminals.

On vt1 there is output like this:

New session c1 of user gdm.
Removed session c1.
New session c2 of user gdm.
Removed session c2.
New session c3 of user gdm.
Removed session c3.

reply via email to

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