Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics not working in Ubuntu 20 #16

Open
jrmchal opened this issue Jun 9, 2020 · 0 comments
Open

Graphics not working in Ubuntu 20 #16

jrmchal opened this issue Jun 9, 2020 · 0 comments

Comments

@jrmchal
Copy link

jrmchal commented Jun 9, 2020

When using the latest rat-container in Ubuntu 20 using the command docker run -ti --rm --user $(id -u) -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/jonathan/sno+/rat/:/rat jamierajewski/rat-container, the graphical output (such as TBrowser in ROOT) does not work. The error message is:

Error in <TGClient::TGClient>: can't open display ":0", switching to batch mode...
 In case you run from a remote ssh session, reconnect with ssh -Y

However, using the remote shifting container with the command docker run -ti --net=host --rm --user $(id -u) -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix registry.gitlab.com/jamierajewski/remote-shift-container/release graphical output works with no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant