pvaneynd: (Default)
[personal profile] pvaneynd
For once I can write about something at $work.

I had to download a new image, but I didn't want to download the 14G image from the USA to my laptop and then again over the VPN and the ocean to the lab in the USA. So I used a stepstone Ubuntu machine, installed a VNC server and wanted to use that to download the image.

Turns out that this is harder then I thought. On Ubuntu you now install Chromium or Firefox in a snap and you cannot simply run these. xclock works, but the dynamic duo gives:


Authorization required, but no authorization protocol specified
Error: cannot open display: :1.0


After a lot of search this is more or less by design. In the mozilla bugtracker a found a solution: use:


xhost +
env DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus firefox


This was probably caused by the fact that the stepstone machine had no UI at all. Now to download the image and apply it...

Date: 2023-02-17 12:11 am (UTC)
rbarclay: (Default)
From: [personal profile] rbarclay
xhost +?! Just turning any access control for the X server off?

And I actually had to look it up to be sure, since I only remembered it dimly from around 25 years ago - when this was thought to be very bad practice... I hope your X server only listens on localhost.

Profile

pvaneynd: (Default)
pvaneynd

September 2023

S M T W T F S
     12
3456789
10111213141516
171819 20212223
24252627282930

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 29th, 2025 08:31 am
Powered by Dreamwidth Studios