"Authorization required, but no authorization protocol specified"
Hi, I installed a new modem. It has a wired ethernet connection to my PC. But now, every time I start an application in X, this message shows up in the terminal where it was started from: Authorization required, but no authorization protocol specified Authorization required, but no authorization protocol specified And those applications take much longer to start. For example, evince used to start in half a second without leaving any messages in the terminal. Now it takes about a minute, leaving lots of messages, see below. Searching the internet, my impression is that it has something to do with the hostname. /etc/hostname is empty. Is that normal? I also have Debian on my machine, but this phenomenon does not show up there. Any idea what could cause this? When starting evince from an x-terminal, these are the messages that show up: Authorization required, but no authorization protocol specified Authorization required, but no authorization protocol specified ** (evince:5473): WARNING **: 12:49:52.808: AT-SPI: Could not obtain desktop path or name ** (evince:5473): WARNING **: 12:49:52.817: atk-bridge: get_device_events_reply: unknown signature ** (evince:5473): WARNING **: 12:49:52.817: atk-bridge: GetRegisteredEvents returned message with unknown signature ** (evince:5473): WARNING **: 12:49:52.830: AT-SPI: Could not obtain desktop path or name ** (evince:5473): WARNING **: 12:49:52.838: AT-SPI: Could not obtain desktop path or name ** (evince:5473): WARNING **: 12:49:52.838: atk-bridge: get_device_events_reply: unknown signature ** (evince:5473): WARNING **: 12:49:52.838: atk-bridge: GetRegisteredEvents returned message with unknown signature ** (evince:5473): WARNING **: 12:49:52.838: AT-SPI: Could not obtain desktop path or name ** (evince:5473): WARNING **: 12:49:52.844: AT-SPI: Could not obtain desktop path or name ** (evince:5473): WARNING **: 12:49:52.844: atk-bridge: get_device_events_reply: unknown signature ** (evince:5473): WARNING **: 12:49:52.844: atk-bridge: GetRegisteredEvents returned message with unknown signature
On 2023-04-27 12:54, Siard via openSUSE Users wrote:
Hi,
I installed a new modem. It has a wired ethernet connection to my PC. But now, every time I start an application in X, this message shows up in the terminal where it was started from:
Authorization required, but no authorization protocol specified Authorization required, but no authorization protocol specified
And those applications take much longer to start. For example, evince used to start in half a second without leaving any messages in the terminal. Now it takes about a minute, leaving lots of messages, see below.
Searching the internet, my impression is that it has something to do with the hostname. /etc/hostname is empty. Is that normal?
No, this is not normal. What are you using to setup your connection? Are you using Leap or Tumbleweed? -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On Thu, 27 Apr 2023 14:05:54 +0200, Carlos E. R. wrote:
On 2023-04-27 12:54, Siard wrote:
Hi,
I installed a new modem. It has a wired ethernet connection to my PC. But now, every time I start an application in X, this message shows up in the terminal where it was started from:
Authorization required, but no authorization protocol specified Authorization required, but no authorization protocol specified
And those applications take much longer to start. For example, evince used to start in half a second without leaving any messages in the terminal. Now it takes about a minute, leaving lots of messages, see below.
Searching the internet, my impression is that it has something to do with the hostname. /etc/hostname is empty. Is that normal?
No, this is not normal.
What are you using to setup your connection?
Not sure what you're asking exactly. As I said, a wired ethernet connection. After installing the new modem, the system adapts to the new situation by itself.
Are you using Leap or Tumbleweed?
Tumbleweed. After more investigations, I also discovered that this command, executed as normal user, improves the situation:
xhost + local: Authorization required, but no authorization protocol specified non-network local connections being added to access control list
All those extra error messages have gone, and X-applications start immediately again. However, the lines with 'Authorization required,....' remain. Not sure why this works, it's somewhat above my head.
On 2023-04-27 14:46, Siard via openSUSE Users wrote:
On Thu, 27 Apr 2023 14:05:54 +0200, Carlos E. R. wrote:
On 2023-04-27 12:54, Siard wrote:
Hi,
I installed a new modem. It has a wired ethernet connection to my PC. But now, every time I start an application in X, this message shows up in the terminal where it was started from:
Authorization required, but no authorization protocol specified Authorization required, but no authorization protocol specified
And those applications take much longer to start. For example, evince used to start in half a second without leaving any messages in the terminal. Now it takes about a minute, leaving lots of messages, see below.
Searching the internet, my impression is that it has something to do with the hostname. /etc/hostname is empty. Is that normal?
No, this is not normal.
What are you using to setup your connection?
Not sure what you're asking exactly. As I said, a wired ethernet connection. After installing the new modem, the system adapts to the new situation by itself.
Are you using Leap or Tumbleweed?
Tumbleweed.
Then you are probably using Network Manager to configure the network. You should see an applet, which should allow you to change the hostname. I don't use Tumbleweed, though, so I can not guide you more. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2023-04-27 at 14:51 +0200, Siard via openSUSE Users wrote:
On Thu, 27 Apr 2023 14:05:54 +0200, Carlos E. R. wrote:
On 2023-04-27 12:54, Siard via openSUSE Users wrote:
BTW, the mailinglist adds 'via openSUSE Users' to my name. Don't know why, I did not do that myself.
Yes, that's because your mail provider security policies do not like your mail being resent by mail lists using your name, and your post gets rejected at the final destinations. Thus your mail has to be resent changing the "from" in this way. - -- Cheers, Carlos E. R. (from openSUSE 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZEpxJBwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVJosAn22yQ03+Nrcx1NNcIY+I +WkVLyxLAJ9U0EHYGEJ3ocwDjmoKuj5N0e8dmg== =h6QC -----END PGP SIGNATURE-----
Siard via openSUSE Users wrote:
On Thu, 27 Apr 2023 14:05:54 +0200, Carlos E. R. wrote:
On 2023-04-27 12:54, Siard via openSUSE Users wrote:
BTW, the mailinglist adds 'via openSUSE Users' to my name. Don't know why, I did not do that myself.
It is called "DMARC mitigation". We do that for sending domains with DMARC policies. -- Per Jessen, Zürich (19.5°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes
participants (3)
-
Carlos E. R.
-
Per Jessen
-
Siard