From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AMYAOafit2SaRQAASxT56A (envelope-from ) for ; Wed, 19 Jul 2023 15:18:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OHDxOKfit2SHgAAA9RJhRA (envelope-from ) for ; Wed, 19 Jul 2023 15:18:31 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98B4453277 for ; Wed, 19 Jul 2023 15:18:31 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689772711; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=oYaahcREIhZE/i6JbLLQVr9Xe2+yU8hlV0o9351/Jog=; b=ZeWfEamHS3xvAQsMi07fTnVJMwb+qye5719zstIVygMDUqSFhgT/Be3wd11zJjdLYsl5vc 17R7lP+XnV2kz25tOsccjOmQAUoP6ZZHY4oWeJa96BYKrWQpphXlrlTwDvciGjZZ4JlMT0 fxq6b0JNY5H5KH3q7EY31J+LJnb1SbLEwXRx9/W4AazQJJXiJ6zF0FD5A09iOnZCzidWh/ 3NZdq1iQ/MctB5GOUtNJL6ERf/rJIKWolDGnBUzjfZrbkYTJi8sBEykqtDxleVChXJ27pb jL0JBv14owBnqIx9w6ZyVef/75dujtsWzBSs/N+R/LJGnFvhbFVeiDj7ht6mqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689772711; a=rsa-sha256; cv=none; b=Yj6URevqVze1zqMusHb8JJIRpW8xvjVIJJd7BjpISyNm+rPZXadmgXZMu86ztPsleGxy7L N5zGjDVVBh0K+S0mw7a5/bGfe2gvTZNyPCGi2GaW2qps1uwo9o58o6B95BXSWkHZNut/7f WHRivXa/8Ytb730BbnokxagDNR2nWaXkDFHNsHuYX74ZCaSaLqm6IGraANM4yHSAdwFZyq E+7y4vwiCEspMbAcLeMKnUjomg9hT/nlbcUDxe+4YtRoQxflvbkHilwksvWhcUh1Vy1Cxb 5qycct/lNNmdAGkv0gU48WnZTJnMRRw997azqYG+OSgWBV5E3btL1jAoVPQvXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qM73u-0006GV-4a; Wed, 19 Jul 2023 09:17:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLtiN-0006Pe-JE for help-guix@gnu.org; Tue, 18 Jul 2023 19:02:43 -0400 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLtiL-00024U-9B for help-guix@gnu.org; Tue, 18 Jul 2023 19:02:43 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 31DF41BF203 for ; Tue, 18 Jul 2023 23:02:35 +0000 (UTC) User-agent: mu4e 1.10.5; emacs 28.2 From: Robby Zambito To: Help guix Subject: Using NoiseTorch with Sway and Polkit Date: Tue, 18 Jul 2023 18:45:45 -0400 Message-ID: <874jm02586.fsf@robbyzambito.me> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: contact@robbyzambito.me Received-SPF: pass client-ip=2001:4b98:dc4:8::228; envelope-from=contact@robbyzambito.me; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 19 Jul 2023 09:17:47 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.26 X-Spam-Score: -6.26 X-Migadu-Queue-Id: 98B4453277 X-Migadu-Scanner: mx1.migadu.com X-TUID: ahD6Soi+VKxD Hi Guix, I am trying to run NoiseTorch on my desktop, which runs swaywm and pipewire. I added the following configuration to my system: (setuid-programs (append (list (setuid-program (program (file-append noisetorch "/bin/NoiseTorch")))) %setuid-programs)) and rebuilt my system. When I run NoiseTorch from my path (the system), I get this error: XGB: conn.go:47: Could not get authority info: open /home/robby/.Xauthority: no such file or directory XGB: conn.go:48: Trying connection without authority info... panic: x protocol authentication refused: Authorization required, but no authorization protocol specified goroutine 1 [running]: github.com/noisetorch/NoiseTorch/vendor/github.com/aarzilli/nucular/clipboard.Start() /tmp/guix-build-noisetorch-0.12.2.drv-0/src/github.com/noisetorch/NoiseTorch/vendor/github.com/aarzilli/nucular/clipboard/clipboard_x11.go:28 +0x354 github.com/noisetorch/NoiseTorch/vendor/github.com/aarzilli/nucular.NewMasterWindowSize(0xc0001b0000, {0x7b04b4, 0xa}, {0x0, 0xffffffffffffffff}, 0x0) /tmp/guix-build-noisetorch-0.12.2.drv-0/src/github.com/noisetorch/NoiseTorch/vendor/github.com/aarzilli/nucular/shiny.go:83 +0x114 main.main() /tmp/guix-build-noisetorch-0.12.2.drv-0/src/github.com/noisetorch/NoiseTorch/main.go:77 +0x371 When I install NoiseTorch as my user and run it directly I get the following: robby@lambda ~$ /home/robby/.guix-profile/bin/NoiseTorch XGB: conn.go:47: Could not get authority info: open /home/robby/.Xauthority: no such file or directory XGB: conn.go:48: Trying connection without authority info... XGB: conn.go:47: Could not get authority info: open /home/robby/.Xauthority: no such file or directory XGB: conn.go:48: Trying connection without authority info... XGB: conn.go:47: Could not get authority info: open /home/robby/.Xauthority: no such file or directory XGB: conn.go:48: Trying connection without authority info... ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ==== Authentication is needed to run `/gnu/store/bpvbbg981p5cmj1qvr0c81czjgp0bq4l-noisetorch-0.12.2/bin/NoiseTorch' as the super user Authenticating as: Robby Zambito (robby) Password: ==== AUTHENTICATION FAILED ==== The GUI will open (unlike the other method), but it will prompt saying it does not have the "capabilities to function properly", and a button to grant it the capabilities it needs (requiring root). Clicking the button will prompt for my password, but entering the correct password does not work (I have tried dozens of times, I know I'm typing it right) I found a supposed solution to this for Nix, but this solution yields the same results for me: https://github.com/NixOS/nixpkgs/issues/18012#issuecomment-335350903 If anyone has any insight that would be greatly appreciated! Robby