DorianRudolph / pinenotes

Notes about PineNote development
84 stars 8 forks source link

Sway session not opened #8

Open phodina opened 2 years ago

phodina commented 2 years ago

Hi, I've followed the guide and once sway is installed I attempt to run the GUI but I get these errors:

$ ssh alarm@192.168.1.151
Last login: Tue Mar 22 19:25:43 2022 from 192.168.1.224
[alarm@alarm ~]$ sway
00:00:00.007 [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
00:00:00.007 [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.007 [wlr] [backend/session/session.c:249] Failed to load session backend
00:00:00.007 [wlr] [backend/backend.c:86] Failed to start a session
00:00:00.007 [wlr] [backend/backend.c:352] Failed to start a DRM session
00:00:00.007 [sway/server.c:56] Unable to create backend
[alarm@alarm ~]$ printenv
SHELL=/bin/bash
WLR_RENDERER_ALLOW_SOFTWARE=1
GALLIUM_DRIVER=llvmpipe
PWD=/home/alarm
LOGNAME=alarm
XDG_SESSION_TYPE=tty
MOTD_SHOWN=pam
HOME=/home/alarm
LANG=C
SSH_CONNECTION=192.168.1.224 34728 192.168.1.151 22
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=alarm
SHLVL=1
LIBGL_ALWAYS_SOFTWARE=true
XDG_SESSION_ID=9
XDG_RUNTIME_DIR=/run/user/1000
SSH_CLIENT=192.168.1.224 34728 22
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/alarm
SSH_TTY=/dev/pts/0
_=/usr/bin/printenv

Any idea what's wrong? I understand the GPU is not working and is not tied to the EInk display so it has to be done in software.

DorianRudolph commented 2 years ago

It should work if you start sway from the tty, not ssh. It should also be possible to launch from ssh, bit then you need some additional environment variables.

On Tue, Mar 22, 2022, 20:38 Petr Hodina @.***> wrote:

Hi, I've followed the guide and once sway is installed I attempt to run the GUI but I get these errors:

$ ssh @. Last login: Tue Mar 22 19:25:43 2022 from 192.168.1.224 @. ~]$ sway 00:00:00.007 [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat 00:00:00.007 [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented 00:00:00.007 [wlr] [backend/session/session.c:249] Failed to load session backend 00:00:00.007 [wlr] [backend/backend.c:86] Failed to start a session 00:00:00.007 [wlr] [backend/backend.c:352] Failed to start a DRM session 00:00:00.007 [sway/server.c:56] Unable to create backend @.*** ~]$ printenv SHELL=/bin/bash WLR_RENDERER_ALLOW_SOFTWARE=1 GALLIUM_DRIVER=llvmpipe PWD=/home/alarm LOGNAME=alarm XDG_SESSION_TYPE=tty MOTD_SHOWN=pam HOME=/home/alarm LANG=C SSH_CONNECTION=192.168.1.224 34728 192.168.1.151 22 XDG_SESSION_CLASS=user TERM=xterm-256color USER=alarm SHLVL=1 LIBGL_ALWAYS_SOFTWARE=true XDG_SESSION_ID=9 XDG_RUNTIME_DIR=/run/user/1000 SSH_CLIENT=192.168.1.224 34728 22 PATH=/usr/local/sbin:/usr/local/bin:/usr/bin DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus MAIL=/var/spool/mail/alarm SSHTTY=/dev/pts/0 =/usr/bin/printenv

Any idea what's wrong? I understand the GPU is not working and is not tied to the EInk display so it has to be done in software.

— Reply to this email directly, view it on GitHub https://github.com/DorianRudolph/pinenotes/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOY6TUFKYOUKSD4VXDXS2LVBIOSJANCNFSM5RL32NNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>