Skip to content

PR to update README - Workarounds for MacOS xterm, Docker build issue, and root access#13

Open
schnorea wants to merge 2 commits into
Jyx:ubuntu-22.04from
schnorea:xterm-host-path-pip-install-error
Open

PR to update README - Workarounds for MacOS xterm, Docker build issue, and root access#13
schnorea wants to merge 2 commits into
Jyx:ubuntu-22.04from
schnorea:xterm-host-path-pip-install-error

Conversation

@schnorea
Copy link
Copy Markdown

I modified the README to provide work arounds for a few things I ran into.

MacOS xterm issue when env DISPLAY isn't set properly (might work on other OS assuming that the Xterm server is on the host of the docker container).

I found myself rebuilding the docker image when trying stuff out. It would fail because a change in the in the package repo was being overlook as the apt-get update was cached.

Root access, added how to work around getting root as I saw someone else asking.

Copy link
Copy Markdown
Collaborator

@jockebech jockebech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few minor comments, thanks!

Comment thread README.md

### Additional Xterm Help
Once you run the docker run command above and are at the '/home/optee/qemu-optee'
command line, you run the `./launch_optee.sh` script and you get an error about
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about changing this from
script and you get an error about not being able to find the xterm (xQuartz) server that looks like this
to
script, you might get an error on MacOS saying something about not being able to find the xterm (xQuarts), like this:

I think that makes it clear that this is a MacOS issue and not normally seen on Linux.

Comment thread README.md
xterm: Xt error: Can't open display: /private/tmp/com.apple.launchd.CuNDWxl9fm/org.xquartz:0
xterm: Xt error: Can't open display: /private/tmp/com.apple.launchd.CuNDWxl9fm/org.xquartz:0
```
you don't need to restart the container to fix it. First, press CNTRL-c.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add If that happens, , before the "you don't need ..."

Comment thread README.md
Comment on lines +64 to +65
this conversation
https://gist.github.com/cschiewek/246a244ba23da8b9f0e7b11a68bf3285?permalink_comment_id=3477013#gistcomment-3477013
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this conversation
https://gist.github.com/cschiewek/246a244ba23da8b9f0e7b11a68bf3285?permalink_comment_id=3477013#gistcomment-3477013
[this](https://gist.github.com/cschiewek/246a244ba23da8b9f0e7b11a68bf3285?permalink_comment_id=3477013#gistcomment-3477013) conversation

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

Successfully merging this pull request may close these issues.

2 participants