You are not logged in.
So, I'm into wayland stuffs right now, I'm trying some wayland compositors and most of it are able to be started from tty (sway, plasma wayland, dwl, etc) except gnome. Actually I can start gnome wayland from tty but it's just the gnome-shell and not the entire gnome desktop. I follow arch wiki to start gnome wayland session but it doesn't work on devuan.
I tried to run this command :
XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
and it doesn't bring me to the desktop and I got complain about Display (seem I need to give Display option), arch linux works fine with that command. Did it has something related to systemd's stuffs? One more, I can't find gnome wayland options from lightdm (I am not a fans of DM btw). Thanks
Last edited by AhmadRaniri (2021-07-17 06:23:11)
Offline
Sorry, I thought after install gnome-session, I can launch gnome wayland session via tty, turn out I can't. feel free to suggest. Thanks.
Offline
I got complain about Display (seem I need to give Display option)
Please post the exact, full error message.
I thought after install gnome-session, I can launch gnome wayland session via tty, turn out I can't
Why not? What happens when you try? Please post any error messages in full.
I presume you're running gnome-session --wayland from a TTY login?
Which version of Devuan is this?
apt policy
Brianna Ghey — Rest In Power
Offline
Which version of Devuan is this?
Devuan 4 Chimaera.
Offline
Please post the exact, full error message.
Yep, I'll post it soon, my machine ran too long today (work's stuffs), it's currently off.
Offline
First trial.
[ahmad@devuan ~]$ XDG_SESSION_TYPE=wayland dbus-run-session /usr/bin/gnome-session
** (process:2041): WARNING **: 06:33:23.761: Could not make bus activated clients aware of XDG_CURRENT_DESKTOP=GNOME environment variable: Could not connect: Connection refused
gnome-session-binary[2041]: WARNING: Failed to upload environment to DBus: Could not connect: Connection refused
gnome-session-binary[2041]: WARNING: Failed to upload environment to systemd: Could not connect: Connection refused
gnome-session-binary[2041]: WARNING: Could not make bus activated clients aware of GNOME_DESKTOP_SESSION_ID=this-is-deprecated environment variable: Could not connect: Connection refused
gnome-session-binary[2041]: WARNING: Could not make bus activated clients aware of XDG_MENU_PREFIX=gnome- environment variable: Could not connect: Connection refused
gnome-session-binary[2041]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
Gnome-session-binary[2041]: WARNING: Lost name on bus: org.gnome.SessionManager
Unable to init server: Could not connect: Connection refused
** (gnome-session-failed:2064): WARNING **: 06:33:23.781: Cannot open display:
Offline
Second trial.
[ahmad@devuan ~]$ gnome-session --session=wayland
** (process:2078): WARNING **: 06:38:32.204: Could not make bus activated clients aware of XDG_CURRENT_DESKTOP=GNOME environment variable: Could not connect: Connection refused
gnome-session-binary[2078]: WARNING: Failed to upload environment to DBus: Could not connect: Connection refused
gnome-session-binary[2078]: WARNING: Failed to upload environment to systemd: Could not connect: Connection refused
gnome-session-binary[2078]: WARNING: Could not make bus activated clients aware of GNOME_DESKTOP_SESSION_ID=this-is-deprecated environment variable: Could not connect: Connection refused
gnome-session-binary[2078]: WARNING: Could not make bus activated clients aware of XDG_MENU_PREFIX=gnome- environment variable: Could not connect: Connection refused
gnome-session-binary[2078]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
Gnome-session-binary[2078]: WARNING: Lost name on bus: org.gnome.SessionManager
Unable to init server: Could not connect: Connection refused
** (gnome-session-failed:2085): WARNING **: 06:38:32.223: Cannot open display:
Terminated
Offline
Third trial.
[ahmad@devuan ~]$ dbus-run-session /usr/bin/gnome-session --session=wayland
gnome-session-binary[2089]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does
not exist
gnome-session-binary[2089]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
Gnome-session-binary[2089]: CODE_FILE=../gnome-session/gsm-manager.c:CODE_LINE=1389:start_phase:Entering running state
Unable to init server: Could not connect: Connection refused
** (gnome-session-failed:2097): WARNING **: 06:40:05.866: Cannot open display:
Offline
[ahmad@devuan ~]gnome-session-binary[2078]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
^ This.
Check
apt policy elogind
loginctl show-user
Brianna Ghey — Rest In Power
Offline
For elogind.
[ahmad@devuan s2]$ apt policy elogind
elogind:
Installed: 246.10-2
Candidate: 246.10-2
Version table:
*** 246.10-2 500
500 http://deb.devuan.org/merged testing/main amd64 Packages
100 /var/lib/dpkg/status
For loginctl show-user
EnableWallMessages=no
KillUserProcesses=no
RebootToFirmwareSetup=no
RebootToBootLoaderMenu=18446744073709551615
IdleHint=yes
IdleSinceHint=1626599384450429
IdleSinceHintMonotonic=2793292978
BlockInhibited=handle-power-key:handle-suspend-key:handle-hibernate-key
DelayInhibited=sleep
InhibitDelayMaxUSec=5s
UserStopDelayUSec=0
HandlePowerKey=poweroff
HandleSuspendKey=suspend
HandleHibernateKey=hibernate
HandleLidSwitch=suspend
HandleLidSwitchDocked=ignore
HoldoffTimeoutUSec=30s
IdleAction=ignore
IdleActionUSec=30min
PreparingForShutdown=no
PreparingForSleep=no
Docked=no
LidClosed=no
OnExternalPower=yes
RemoveIPC=no
RuntimeDirectorySize=401960960
RuntimeDirectoryInodesMax=98135
InhibitorsMax=8192
NCurrentInhibitors=6
SessionsMax=8192
NCurrentSessions=1
Offline
Hmm. How about https://bbs.archlinux.org/viewtopic.php … 2#p1684912? A bit of a stab in the dark but a possibility if you've installed GNOME on top of Xfce.
Brianna Ghey — Rest In Power
Offline
Hmm. How about https://bbs.archlinux.org/viewtopic.php … 2#p1684912? A bit of a stab in the dark but a possibility if you've installed GNOME on top of Xfce.
I don't think its related, I wonder if Debian suffers the same case.
Offline
So is the policykit-1-gnome package installed?
Brianna Ghey — Rest In Power
Offline
So is the policykit-1-gnome package installed?
I have it.
[ahmad@devuan ~]$ apt search policykit-1-gnome
Sorting... Done
Full Text Search... Done
policykit-1-gnome/testing,now 0.105-7 amd64 [installed]
authentication agent for PolicyKit
[ahmad@devuan ~]$
Offline
Well, Finally I can enter wayland session using another user I create. It's so strange that my primary user can't enter it. Guess I need to reset all my gnome setting and start from beginning or clean all setting.
Offline
Reset gnome's settings (via gnome tweaks, dconf) seems still not works, even
perform renaming config folder (~/.config) still gives same error.
Offline
I end up rename my old directory to something else, then create new home directory, now I can launch gnome wayland session. I feel happy.
Offline