help-guix
[Top][All Lists]
Advanced

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

Re: Emacs inside container: preserved DISPLAY unavailable etc


From: Daniel Meißner
Subject: Re: Emacs inside container: preserved DISPLAY unavailable etc
Date: Wed, 05 Jan 2022 13:39:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

t@fullmeta.me writes:

> Hi guix.
>
> Straigt out of manual:
>
> --------------------
>
> $ guix shell --container --no-cwd --network emacs-next
> --expose=$HOME/.emacs.d --preserve='^DISPLAY$' -- emacs
>
> No protocol specified
> Display :1 unavailable, simulating -nw
> Please set the environment variable TERM; see 'tset'.
>
> --------------------

I am now using Guix System at

guix 049851d
    Repository-URL: https://git.savannah.gnu.org/git/guix.git
    Branch: master
    Commit: 049851d16ebcf8736161b654291085c223972b7c

and the command fails for me as well:

--8<---------------cut here---------------start------------->8---
$ guix shell --container --no-cwd --network emacs-next --expose=$HOME/.emacs.d 
--preserve='^DISPLAY$' -- emacs
Authorization required, but no authorization protocol specified
Display :1 unavailable, simulating -nw
Please set the environment variable TERM; see 'tset'.
--8<---------------cut here---------------end--------------->8---

A similar error message happened to me with a chromium example from the
manual as described here:

<https://lists.gnu.org/archive/html/help-guix/2021-12/msg00077.html>

However, Simon wasn't able to reproduce this error with his system as
well.  Maybe it is something that happens on Guix system only.

Best,
Daniel



reply via email to

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