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

Update README after #2: add Wayland info #10

Merged
merged 2 commits into from
Oct 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ for the remarkable 2 OS.
Usage
-----

```
> docker build -t rm-docker .
```shell
> docker build --tag rm-docker https://github.com/timower/rM-docker.git
> xhost + local: # Only if you're on Wayland WM instead of X11.
> docker run --rm -v rm-data:/opt/root -p 2222:22 -it rm-docker
# Lots of boot messages...
Codex Linux 3.1.266-2 reMarkable ttymxc0
Expand Down Expand Up @@ -38,14 +39,14 @@ The `qemu-rm2fb` target (which is the default) will include a framebuffer
emulator from [rm2-stuff](https://github.com/timower/rM2-stuff/tree/dev).

X11 forwarding can be used to view the framebuffer:
```
docker run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.Xauthority:/root/.Xauthority \
```shell
docker run --rm -it \
--volume /tmp/.X11-unix:/tmp/.X11-unix \
--volume $HOME/.Xauthority:/root/.Xauthority \
--env DISPLAY \
-h $(hostnamectl hostname) \
-p 2222:22 \
-it rm-docker:plain
--hostname "$(hostnamectl hostname)" \
--publish 2222:22 \
rm-docker:plain
```

References
Expand Down