Hi,
Total noob here. I installed FreeBSD yesterday and would like to install Sway - the Wayland-based compositor and window manager.
I have installed the X Window System and can run i3 without any apparent issues but, if possible, I would like to run my graphical environment on top of Wayland.
Initially, running
Now, when I run
Any advice anybody is able to provide regarding where/what the problem might be - and if there are any useful commands for tracking it down - would be greatly appreciated. To be honest, I'm not sure where to start looking, whether the issue is likely to be hardware, driver or library related, or if I have made a mistake in the setup or failed to set something up.
Thanks,
Total noob here. I installed FreeBSD yesterday and would like to install Sway - the Wayland-based compositor and window manager.
I have installed the X Window System and can run i3 without any apparent issues but, if possible, I would like to run my graphical environment on top of Wayland.
Initially, running
sway
resulted in a prompt saying that the $XDG_RUNTIME_DIR
was not set, so I added the following to my .profile
:
Bash:
if [ -z "$XDG_RUNTIME_DIR" ]; then
export XDG_RUNTIME_DIR=/tmp
if [ ! -d "$XDG_RUNTIME_DIR" ]; then
mkdir "$XDG_RUNTIME_DIR"
chmod 0700 "$XDG_RUNTIME_DIR"
fi
fi
Now, when I run
sway -d
, the output says failed to open /dev/drm/0
.Any advice anybody is able to provide regarding where/what the problem might be - and if there are any useful commands for tracking it down - would be greatly appreciated. To be honest, I'm not sure where to start looking, whether the issue is likely to be hardware, driver or library related, or if I have made a mistake in the setup or failed to set something up.
Thanks,