Public bug reported:

It appears the wayland session does not start on my XPS 13 on Ubuntu
17.10 and 18.04 if I use bash as my default shell. It only works if I
switch my default shell to fish.


How I discovered the issue:

I've used fish for a few years now. Recently I realized that snap apps
don't show up in Gnome shell dash. Turns out `/var/lib/snapd/desktop/`
was not part of `$XDG_DATA_DIRS`. Turns out it is set by one of the
scripts in `/etc/profile.d/` and since I've set fish as my default
shell, this never runs. I solved this by adding this manually in my fish
configuration. That solved the issue.

However, I was worried that /etc/profile.d might contain more important
scripts and new apps might add more scrpts there that I don't want to
miss out on, so I switched back to bash to try it out. To my surprise
the wayland session stopped working. GDM logged me in to a black screen
with white cursor in the center. The cursor does not move and nothing
happens.

I thought this might be because one of the scripts in /etc/profile.d/ so
I removed them all. Also removed /etc/bash.bashrc. However this did not
fix the issue at all. I removed the bashrc related files in my home
directory as well.

So for me, wayland session does not start when bash is my default shell.
Only works with fish.


It might be related to this: https://bugs.launchpad.net/ubuntu/+source
/gnome-shell/+bug/1739019

However, I cannot prove that X11 fails because of the same reason
because it never runs irrespective of whether I use bash or fish as my
default shell.

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1739022

Title:
  Wayland session does not start with bash as default shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1739022/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to