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

[BUG] Can't paste from windows buffer into web browser accessed self hosted container. #16

Open
1 task done
Hypnocrit opened this issue Nov 25, 2024 · 2 comments
Open
1 task done

Comments

@Hypnocrit
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I go to a note program like notepad++, I select plain text, I then hit control C.. after that going to the obsidian hosted app in web browser, I then press control V and nothing happens.

I can copy some other text from the obsidian app and it seems to have its own copy/paste buffer.

Expected Behavior

I would expect copy/paste to work.

Steps To Reproduce

Go to obsidian app running in docker via web browser on port of it being served (3000).
Paste some text and note that nothing happens.
insert some random text, then copy it, and note that it has its own internal copy/paste buffer.

Environment

standard install, review the container below.

CPU architecture

x86-64

Docker creation

---
services:
  obsidian:
    image: lscr.io/linuxserver/obsidian:latest
    container_name: obsidian
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /root/apps/obsidian:/config
    ports:
      - 3000:3000
      - 3001:3001
    devices:
      - /dev/dri:/dev/dri #optional
    shm_size: "1gb"
    restart: unless-stopped

Container logs

root@app02:~/apps# nano docker-compose.yml
root@app02:~/apps# docker logs obsidian
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
..+......+...+.+...+..+..................+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...............+............................+..+.+..............+...+...................+......+.....+..........+.........+...+..+...+.+......+...+......+..+.............+.....+.........+..........+............+...........+.......+...+.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+.........+...+..+.......+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+......+......+.....+.........+.+..+.+..............+..........+........+...+......+.........+......+.............+.....+.+.....+............+.......+..+..........+......+..+...............+.......+......+...+...........+....+..+.......+..+...+.+..+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
**** adding /dev/dri/card0 to video group video with id 44 ****
[custom-init] No custom files found, skipping...
[ls.io-init] done.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.3.3 - built Nov 20 2024 19:55:29
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

Obt-Message: Xinerama extension is not present on the server
17
 2024-11-25 04:46:44,058 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-11-25 04:46:44,074 [PRIO] Connections: accepted: @10.0.0.141_1732510004.58988::websocket
 2024-11-25 05:02:00,542 [PRIO] Connections: closed: @10.0.0.141_1732510004.58988::websocket (Clean disconnection)
 2024-11-25 05:02:01,088 [INFO] websocket 1: got client connection from 127.0.0.1
 2024-11-25 05:02:01,103 [PRIO] Connections: accepted: @10.0.0.141_1732510921.88892::websocket
 2024-11-25 05:05:03,473 [PRIO] Connections: closed: @10.0.0.141_1732510921.88892::websocket (Clean disconnection)
 2024-11-25 05:05:03,786 [INFO] websocket 2: got client connection from 127.0.0.1
 2024-11-25 05:05:03,801 [PRIO] Connections: accepted: @10.0.0.141_1732511103.786925::websocket
 2024-11-25 05:07:09,387 [PRIO] Connections: closed: @10.0.0.141_1732511103.786925::websocket (Clean disconnection)
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@aptalca
Copy link
Member

aptalca commented Nov 25, 2024

If you're connecting over http, your browser is likely blocking it.

It may require you to connect over https with a 3rd party validated cert.

We recommend reverse proxying via SWAG

You can also try the clipboard function through the side menu.

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

No branches or pull requests

2 participants