User Tools

Site Tools


general:linux:kwin_wayland

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

general:linux:kwin_wayland [2023/04/25 17:22] – created sunkangeneral:linux:kwin_wayland [2023/05/01 10:34] (current) sunkan
Line 14: Line 14:
 </code> </code>
  
 +====== WIP - Enable VNC server remotely ======
 +WIP - but has some success so far. \\
 +Find out relevant environment variables by checking /proc/$pid/environ of a existing process.
 +
 +<code>
 +XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_DESKTOP=KDE XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 WAYLAND_DISPLAY=wayland-0 krfb --nodialog
 +
 +XDG_SESSION_TYPE=wayland WAYLAND_DISPLAY=wayland-0 krfb --nodialog
 +</code>
 +
 +If password and settings has not already been set.
 +
 +<code>
 +kwalletcli -f krfb -e unattendedAccessPassword -P
 +
 +XDG_SESSION_TYPE=wayland XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_DESKTOP=KDE XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 WAYLAND_DISPLAY=wayland-0 DISPLAY=:1 kwalletcli -f krfb -e unattendedAccessPassword -p somepw
 +
 +</code>
 +
 +Also these bugs can be a problem
 +
 +https://bugs.kde.org/show_bug.cgi?id=435338
 +https://invent.kde.org/network/krfb/-/merge_requests/44/diffs?commit_id=01c775f2e89b705d8375c0ccc0543fc82be53414
 +
 +krfbrc
 +<code>
 +cat ~/.config/krfbrc  
 +[FrameBuffer]
 +preferredFrameBufferPlugin=pw
 +
 +[MainWindow]
 +RestorePositionForNextInstance=false
 +State=AAAA/wAAAAD9AAAAAAAAAlgAAAF/AAAABAAAAAQAAAAIAAAACPwAAAAA
 +ToolBarsMovable=Disabled
 +
 +[Security]
 +allowUnattendedAccess=true
 +
 +[TCP]
 +publishService=false
 +</code>
general/linux/kwin_wayland.txt · Last modified: 2023/05/01 10:34 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki