unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: jbranso--- via Bug reports for GNU Guix <bug-guix@gnu.org>
To: bokr@bokr.com
Cc: 56965@debbugs.gnu.org
Subject: bug#56965: wterm does not work on sway
Date: Mon, 08 Aug 2022 10:33:53 +0000	[thread overview]
Message-ID: <3a8496e158ae3762fe03b41f5a8b3caf@dismail.de> (raw)
In-Reply-To: <20220806194528.GA2510@LionPure>

August 6, 2022 3:45 PM, bokr@bokr.com wrote:

> Hi Joshua,
> 
> On +2022-08-03 21:54:12 -0400, Joshua Branson via Bug reports for GNU Guix wrote:
> 
>> wterm is said to be a simple terminal for wayland:
>> 
>> #+BEGIN_SRC shell :results: raw
>> guix show wterm | recsel -p synopsis
>> #+END_SRC
>> 
>> #+RESULTS:
>> : synopsis: Terminal emulator for Wayland
>> 
>> Well, when I try to use it, I get the following error on sway. wterm
>> does not start.
>> 
>> joshua@crazyhorse ~ (master)> wterm
>> wl_drm@11: error 0: authenticate failed
>> # wayland_create_context: DRM authentication failed
>> # wayland_create_context: No wl_shm global
>> # wld_wayland_create_context: Could not initialize any of the specified implementations
>> Can't create wayland context
>> 
>> Thanks,
>> 
>> Joshua
> 
> Might you need to add video and maybe audio groups to your set of groups?

I have those set for my regular user.  I did not try to run the command as root.  :)

Patch https://issues.guix.gnu.org/57014 seems to have a patch to deprecate wterm,
if this is the direction that we decide to take.  

> 
> What do you get from
> id $USER
> or
> groups
> or, to see who else you share groups with
> grep $USER /etc/groups
> for adding groups to those you already have, I think check the -aG option
> info usermod
> I don't dare suggest the actual command for your system, so
> you're on your own. If you have the sudo group, id $USER should show it,
> and that's probably easier. If you go into root, you don't want
> to add video,audio to root, so IIRC the options are a little different
> to make sure you as $USER get the added groups, not root.
> (BTW, try typing "id root" ;)
> 
> HTH
> --
> Regards,
> Bengt Richter




      parent reply	other threads:[~2022-08-08 11:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04  1:54 bug#56965: wterm does not work on sway Joshua Branson via Bug reports for GNU Guix
2022-08-04  3:06 ` Joshua Branson via Bug reports for GNU Guix
2022-08-06 19:45 ` bokr
2022-08-08 10:33 ` jbranso--- via Bug reports for GNU Guix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3a8496e158ae3762fe03b41f5a8b3caf@dismail.de \
    --to=bug-guix@gnu.org \
    --cc=56965@debbugs.gnu.org \
    --cc=bokr@bokr.com \
    --cc=jbranso@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).