You are not logged in.
linux 5.3
nvidia drivers 435.21
gnome-shell 3.34
per the wiki, I have added nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm to the initramfs in the MODULES section of /etc/mkinitcpio.conf
I start a wayland session with the command:
XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
I can open other applications like firefox, google-chrome, calculator, solitaire, etc. However, when I try to open a terminal emulator, it briefly appears on the screen and then disappears. It's not exclusive to gnome-terminal. I have also tried termite, kitty, terminology, and urxvt. Basically, I can't get any terminal emulator to work during a wayland session.
Any idea what I'm doing wrong here?
Last edited by nhasian (2019-09-21 19:36:51)
MSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080
Offline
Don't use dbus-run-session that breaks the dbus session setup by systemd, also what's your locale?
localectl
hostnamectl
Online
localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: n/a
and
hostnamectl
Static hostname: msiace
Pretty hostname: MSIACE
Icon name: computer-desktop
Chassis: desktop
Machine ID: xxxx
Boot ID: xxxx
Operating System: Arch Linux
Kernel: Linux 5.3.0-arch1-1-ARCH
Architecture: x86-64
I just tried starting gnome-shell without dbus-run-session:
XDG_SESSION_TYPE=wayland gnome-session
That did not launch for me at all. I just got a blinking curser and had to terminate it with Control-C. The wiki said to use dbus-run-session https://wiki.archlinux.org/index.php/GN … d_sessions
Last edited by nhasian (2019-09-21 04:30:17)
MSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080
Offline
and urxvt
How exactly do you run "XDG_SESSION_TYPE=wayland dbus-run-session gnome-session"?
Did you maybe place it somewhere in your bashrc or .bash_profile for an autologin feature?
Offline
That's a good question. So I don't have to type it by hand each time I launch Gnome-shell, I just created an alias and put it in my .bashrc
and urxvt
How exactly do you run "XDG_SESSION_TYPE=wayland dbus-run-session gnome-session"?
Did you maybe place it somewhere in your bashrc or .bash_profile for an autologin feature?
MSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080
Offline
Please post .bashrc and .bash_profile - the entire thing smells like your shell fails to start.
Offline
Seth you hit the nail on the head! I renamed my .bashrc and copied over a fresh one from /etc/skel and then the terminal started working in Gnome-shell in a wayland session! I think the only unusual thing I have in there is
# Only load Liquid Prompt in interactive shells, not from a script or from scp
[[ $- = *i* ]] && source /usr/bin/liquidprompt
That may have caused my problem.
Please post .bashrc and .bash_profile - the entire thing smells like your shell fails to start.
MSI MEG Z390 ACE Motherboard, Intel Core i7-9700K, MSI GeForce RTX 2080
Offline
Looks like an OMZ contender…
You can run eg. "urxvt -hold" to prevent the window from closing and see whether bash yells some error at you, maybe "urxvt -hold -e bash -x" to run bash in debug mode.
Offline