Skip to content

Graphics not working in Ubuntu 20 #16

@jrmchal

Description

@jrmchal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions