LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 02-23-2022, 05:56 PM   #1
Senpai
LQ Newbie
 
Registered: Feb 2022
Posts: 1

Rep: Reputation: 0
Question Problems installing sway / wayland


Hello!

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 Information and Rationale
I've set up full disk encryption (minus boot) with lvm/luks, and installed a minimal setup on my laptop (Lenovo Ideapad 5 - 15ARE05) with wpa_supplicant to get wifi working. Then I've sorted a couple of things out, like fixing my keychron keyboard function keys, and installing docker (I'll need it for development, and I'm very familiar with it). Now I'm trying to get a minimal desktop environment running on sway as I've decided to go with full a fully native wayland based environment and I've decided to try a tiling window manager, as they are supposed to be better for productivity.

Well, I'm pretty much stuck on this step, and I can't find a possible solution.
I've set up my bash_profile to export XDR_RUNTIME_DIR as per instructed on the wiki.
Then I've installed wayland, sway, dbus, and alacritty and set my video_card option to radeon (as I think(?) it should be as this uses an AMD APU, but I'm getting the same error message when trying to actually run sway.

Error Message
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


Groups of the User
wheel audio video docker input users seat

Installed packages
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


RC Services
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

make.conf
# 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="*"


Thank you in advance for your help
 
Old 03-02-2022, 01:04 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
its been a few days and I do not use Gentoo.

there is a typo in your post I assume you know its not XDR_RUNTIME_DIR

anyhow why not try a keyboard non-wayland desktop to see if you can build that

sway attempts compat with i3 so try
https://wiki.gentoo.org/wiki/I3
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wlroots, sway, xdg-desktop-portal-wlroots, and other "third position" wayland window mangers for Slackware users. Lockywolf Slackware 19 03-21-2022 10:23 PM
Wayland/Sway in Current tramtrist Slackware 1 03-02-2021 04:32 AM
Wayland/Sway & Slackware tramtrist Slackware 5 05-02-2020 01:47 PM
Future !X ? Wayland : X - what is wayland? serafean Linux - General 5 03-04-2011 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration