Replies: 6 comments 10 replies
|
By the way, when I operate Omarchy through WayVNC, sometimes workspace switching does not work as expected. If anyone has a solution, please let me know. |
|
thanks for the info. However one small niggle is that when changing themes, the resolution gets messed up. |
|
This helped me get started. In my use case when I need to connect through vnc I need to keep working on what was already on the screen so a virtual screen didn't apply. This is how I start wayvnc
#!/bin/bash
MONITOR="DP-3"
# Grab the current resolution string (first field after the monitor header)
CURRENT=$(hyprctl monitors | awk -v mon="$MONITOR" '
$2 == mon {getline; print $1}' )
if [[ "$CURRENT" == 5120x1440* ]]; then
echo "Switching to MacBook-friendly resolution (2560x1600@60)..."
hyprctl keyword monitor "$MONITOR,2560x1600@60,0x0,1"
elif [[ "$CURRENT" == 2560x1600* ]]; then
echo "Switching back to Odyssey G9 native resolution (5120x1440@240)..."
hyprctl keyword monitor "$MONITOR,5120x1440@240,0x0,1"
else
echo "Current mode is $CURRENT — defaulting to Odyssey G9 native."
hyprctl keyword monitor "$MONITOR,5120x1440@240,0x0,1"
fi |
|
How do you handle the disk encryption when using vnc? Is there a way to bypass need for physical usb keyboard on reboot? |
|
Mostly works but I cannot get |
|
Heads-up for anyone on current Omarchy (3.8.0 / Hyprland 0.55): this recipe no longer auto-runs, because the Hyprland config moved from Two adjustments:
Validated on Omarchy 3.8.0 + Hyprland 0.55.0-4: wayvnc binds to |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Background
When running Omarchy on a remote server, it is often desirable to access a graphical desktop.
Omarchy is based on Hyprland, which allows creating a headless display that can be streamed over VNC.
By configuring autostart, WayVNC can be launched automatically whenever the Hyprland session starts.
How to Enable WayVNC Autostart
Add:
After relaunching Hyprland, WayVNC will automatically start with the session,
exposing the VNC display on port 5900. Connect with:
Those who want to avoid entering the disk encryption password upon reboot can do so by following the steps below.
#1283
All reactions