Skip to content

run.sh does not mount the user's Xauthority #173

Open
@EzraBrooks

Description

@EzraBrooks

Operating System

any

Installation type

Pulled from Docker Hub

Version or commit hash

all

RMW Implementation

FastRTPS

Client library (if applicable)

N/A

Steps to reproduce issue

Attempt to run the demos without modifying your X ACLs using xhost

Expected behavior

X11 should be able to authenticate

Actual behavior

X11 does not authenticate because it doesn't have access to the Xauthority.

The fix is to add something like -v $XAUTHORITY:/.Xauthority -e XAUTHORITY=/.Xauthority to the docker run command.

Backtrace or Console output

X11 connection rejected because of wrong authentication.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions