Replies: 4 comments 5 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. |
Beta Was this translation helpful? Give feedback.
-
thanks for the info. However one small niggle is that when changing themes, the resolution gets messed up. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
How do you handle the disk encryption when using vnc? Is there a way to bypass need for physical usb keyboard on reboot? |
Beta Was this translation helpful? Give feedback.
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:
Beta Was this translation helpful? Give feedback.
All reactions