GNU bug report logs - #56965
wterm does not work on sway

Previous Next

Package: guix;

Reported by: Joshua Branson <jbranso <at> dismail.de>

Date: Thu, 4 Aug 2022 01:55:01 UTC

Severity: normal

Merged with 52029

Done: Joshua Branson <jbranso <at> dismail.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56965 in the body.
You can then email your comments to 56965 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#56965; Package guix. (Thu, 04 Aug 2022 01:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joshua Branson <jbranso <at> dismail.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 04 Aug 2022 01:55:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <jbranso <at> dismail.de>
To: bug-guix <at> gnu.org 
Subject: wterm does not work on sway
Date: Wed, 03 Aug 2022 21:54:12 -0400
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 <at> crazyhorse ~ (master)> wterm 
wl_drm <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#56965; Package guix. (Thu, 04 Aug 2022 03:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 56965 <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <jbranso <at> dismail.de>
To: 56965 <at> debbugs.gnu.org
Cc: ison <ison <at> airmail.cc>
Subject: Re: bug#56965: wterm does not work on sway
Date: Wed, 03 Aug 2022 23:06:00 -0400
Joshua Branson <jbranso <at> dismail.de> writes:

> 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 <at> crazyhorse ~ (master)> wterm 
> wl_drm <at> 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
>

Pinging the original submitted of wterm.  




Merged 52029 56965. Request was from Joshua Allen Branson <jbranso <at> dismail.de> to control <at> debbugs.gnu.org. (Fri, 05 Aug 2022 01:12:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#56965; Package guix. (Sat, 06 Aug 2022 19:46:01 GMT) Full text and rfc822 format available.

Message #13 received at 56965 <at> debbugs.gnu.org (full text, mbox):

From: bokr <at> bokr.com
To: Joshua Branson <jbranso <at> dismail.de>
Cc: 56965 <at> debbugs.gnu.org
Subject: Re: bug#56965: wterm does not work on sway
Date: Sat, 6 Aug 2022 21:45:28 +0200
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 <at> crazyhorse ~ (master)> wterm 
> wl_drm <at> 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?

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




Information forwarded to bug-guix <at> gnu.org:
bug#56965; Package guix. (Mon, 08 Aug 2022 10:35:01 GMT) Full text and rfc822 format available.

Message #16 received at 56965 <at> debbugs.gnu.org (full text, mbox):

From: jbranso <at> dismail.de
To: bokr <at> bokr.com
Cc: 56965 <at> debbugs.gnu.org
Subject: Re: bug#56965: wterm does not work on sway
Date: Mon, 08 Aug 2022 10:33:53 +0000
August 6, 2022 3:45 PM, bokr <at> 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 <at> crazyhorse ~ (master)> wterm
>> wl_drm <at> 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




bug closed, send any further explanations to 56965 <at> debbugs.gnu.org and Joshua Branson <jbranso <at> dismail.de> Request was from Joshua Branson <jbranso <at> dismail.de> to control <at> debbugs.gnu.org. (Wed, 10 Aug 2022 16:06:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Sep 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.