all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56965: wterm does not work on sway
@ 2022-08-04  1:54 Joshua Branson via Bug reports for GNU Guix
  2022-08-04  3:06 ` Joshua Branson via Bug reports for GNU Guix
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joshua Branson via Bug reports for GNU Guix @ 2022-08-04  1:54 UTC (permalink / raw)
  To: 56965


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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56965: wterm does not work on sway
  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
  2 siblings, 0 replies; 4+ messages in thread
From: Joshua Branson via Bug reports for GNU Guix @ 2022-08-04  3:06 UTC (permalink / raw)
  To: 56965; +Cc: ison

Joshua Branson <jbranso@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@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
>

Pinging the original submitted of wterm.  




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56965: wterm does not work on sway
  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
  2 siblings, 0 replies; 4+ messages in thread
From: bokr @ 2022-08-06 19:45 UTC (permalink / raw)
  To: Joshua Branson; +Cc: 56965

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?

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56965: wterm does not work on sway
  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
  2 siblings, 0 replies; 4+ messages in thread
From: jbranso--- via Bug reports for GNU Guix @ 2022-08-08 10:33 UTC (permalink / raw)
  To: bokr; +Cc: 56965

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-08 11:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.