Disclaimer; although I'm not new to Linux, and I've been using Arch for a long time now, this is my first time in Gentoo, and I've decided to up my game, so for the first time I'm trying to set an ideal developer environment, and hopefully learning some while doing so. For that reason, I've decided to go with no-multilib minimal setup and to install and configure everything that I need, so hopefully, by the end of the process, I'd learned how my environment works, while also having the best possible slim and performant environment for me to play in.
That mostly involves me googling a lot of stuff, and learning as I go, but for this particular issue - I could find no obvious answers. I'm sure I'm missing something obvious, but please be gentle with me.
Background
I'm having issues setting up sway and wayland. I've setup up, DBus, elogind, my bashrc profile to export XDG_RUNTIME_DIR, but even still I'm having the same issue, and it doesn't seem to lead me anywhere useful.
The machine is a lenovo laptop, and is using an AMD APU - Ideapad 5 - 15ARE05.
Error message
Code: Select all
00:00:00.020 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:653] Could not get primary session for user: No data available
00:00:00.020 [ERROR] [wlr] [libseat] [libseat/libseat.c:58] Backend 'logind' failed to open seat: No data available
00:00:00.020 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: No data available
00:00:00.020 [ERROR] [wlr] [backend/session/session.c:249] Failed to load session backend
00:00:00.020 [ERROR] [wlr] [backend/backend.c:86] Failed to start a session
00:00:00.020 [ERROR] [wlr] [backend/backend.c:352] Failed to start a DRM session
00:00:00.020 [ERROR] [sway/server.c:56] Unable to create backend
Code: Select all
wheel audio video input users seat
Installed packages
Code: Select all
app-admin/sudo
app-containers/docker
app-containers/docker-cli
app-misc/screenfetch
app-shells/zsh
dev-libs/wayland
dev-vcs/git
gui-wm/sway
net-misc/dhcpcd
net-misc/ntp
net-wireless/iw
net-wireless/wpa_supplicant
sys-apps/dbus
sys-apps/mlocate
sys-apps/pciutils
sys-auth/elogind
sys-auth/polkit
sys-boot/efibootmgr
sys-boot/grub
sys-fs/cryptsetup
sys-fs/dosfstools
sys-fs/lvm2
sys-kernel/dracut
sys-kernel/genkernel
sys-kernel/gentoo-sources
sys-kernel/linux-firmware
sys-process/htop
x11-terms/alacritty
Code: Select all
binfmt | boot
bootmisc | boot
cgroups | sysinit
devfs | sysinit
dmesg | sysinit
docker | default
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
kmod-static-nodes | sysinit
local | default nonetwork
localmount | boot
lvm | boot default
modules | boot
mount-ro | shutdown
mtab | boot
netmount | default
procfs | boot
root | boot
save-keymaps | boot
save-termencoding | boot
savecache | shutdown
seatd | default
stmpfiles-dev | sysinit
stmpfiles-setup | boot
swap | boot
sysctl | boot
sysfs | sysinit
termencoding | boot
udev | sysinit
udev-trigger | sysinit
urandom | boot
Code: Select all
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j4"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
VIDEO_CARDS="amdgpu radeonsi"
USE="-X -kde -examples -debug -doc elogind -selinux -systemd -test dbus wayland video_cards_radeon"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
# Mirrors
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/"
ACCEPT_LICENSE="*"




