Skip to content

[BUG] Fails to run on Slackware unless *another* wayland session is already running. #41

@Charadon

Description

@Charadon

Describe the bug
If no other wayland session is running on another tty on the same user, veshell will hang on the loading screen forever. This is reproducible on the latest commit.

To Reproduce
Steps to reproduce the behavior:

  1. Clone repo
  2. Run make build && make package
  3. Login to tty, and run LD_LIBRARY_PATH=/usr/local/lib/veshell dbus-run-session veshell --session or LD_LIBRARY_PATH=/usr/local/lib/veshell dbus-run-session veshell
  4. Infinite loading screen

Expected behavior
The compositor launches and shows the shell.

Screenshots
N/A

Additional context
Only thing I can give is a log file with RUST_LOG=debug set:

veshell.log

At a glance, it doesn't look like anything is going wrong. But there is some oddites: The XWayland session that veshell launches does not have the WAYLAND_DISPLAY env var set, and I noticed that the rust code tries to run systemctl to populate some env variables, which is probably not good practice. (I've not seen any other compositor do something like that)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions