Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to connect to the bus #385

Open
nikolatzotchev opened this issue Dec 14, 2024 · 1 comment
Open

Failed to connect to the bus #385

nikolatzotchev opened this issue Dec 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nikolatzotchev
Copy link

Description

after updating my machine one day, obsidian stopped working, tried uninstalling and installing again, but nothing seems to make it start

Obsidian Version

flatpak info md.obsidian.Obsidian

Obsidian - Markdown-based knowledge base

          ID: md.obsidian.Obsidian
         Ref: app/md.obsidian.Obsidian/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.7.7
     License: LicenseRef-proprietary=https://obsidian.md/eula
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 641.5 MB
     Runtime: org.freedesktop.Platform/x86_64/24.08
         Sdk: org.freedesktop.Sdk/x86_64/24.08

      Commit: f693cddc4da6ed40842d9df5f882701d95e94b917f13ba023ba33cc211de0d67
      Parent: 83c8bca2e26ed6725930dc0fc99b484fd01c42c76ae546c75ed3db6bdcf38259
     Subject: Update pandoc module (59ff6b68)
        Date: 2024-12-08 06:40:54 +0000

Sandbox Permissions

flatpak info md.obsidian.Obsidian --show-permissions
[Context]
shared=network;ipc;
sockets=x11;pulseaudio;ssh-auth;
devices=dri;
filesystems=home;/media;xdg-run/gnupg:ro;/mnt;/run/media;~/.local/share/fonts:ro;xdg-run/app/com.discordapp.Discord:create;
persistent=~/.ssh;

[Environment]
SSH_ASKPASS=/app/libexec/openssh/ssh-askpass
OBSIDIAN_ENABLE_AUTOSCROLL=0
PATH=/usr/bin:/app/bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux
OBSIDIAN_DISABLE_GPU=1
GH_PATH=gh
OBSIDIAN_CLEAN_CACHE=1
DISABLE_WAYLAND=1
XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons:~/.icons

Hardware Information

lspci -nn | grep -E 'VGA|Display'
2b:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] [10de:21c4] (rev a1)

System Information

glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0x10de)
    Device: NV168 (0x21c4)
    Version: 24.1.7
    Accelerated: yes
    Video memory: 6117MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.3
    Max compat profile version: 4.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 4894 MB, largest block: 4894 MB
    VBO free aux. memory - total: 1677721 MB, largest block: 1677721 MB
    Texture free memory - total: 4894 MB, largest block: 4894 MB
    Texture free aux. memory - total: 1677721 MB, largest block: 1677721 MB
    Renderbuffer free memory - total: 4894 MB, largest block: 4894 MB
    Renderbuffer free aux. memory - total: 1677721 MB, largest block: 1677721 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 6117 MB
    Total available memory: 6117 MB
    Currently available dedicated video memory: 4894 MB
OpenGL vendor string: Mesa
OpenGL renderer string: NV168
OpenGL core profile version string: 4.3 (Core Profile) Mesa 24.1.7
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.3 (Compatibility Profile) Mesa 24.1.7
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.7
OpenGL ES profile shading la

Logs

`flatpak run md.obsidian.Obsidian`
Debug: Will run Obsidian with the following arguments: --disable-gpu
Debug: Additionally, user gave:
[13:1214/113540.625173:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-12-14 10:35:40 Loading main app package /app/resources/obsidian.asar
[13:1214/113540.778485:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[13:1214/113540.778527:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-12-14 10:35:40 Checking for update using Github


if I do `flatpak override --user --reset md.obsidian.Obsidian`


flatpak run md.obsidian.Obsidian
Debug: Will run Obsidian with the following arguments:
Debug: Additionally, user gave:
[13:1214/113614.588860:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-12-14 10:36:14 Loading main app package /app/resources/obsidian.asar
[13:1214/113614.819190:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[13:1214/113614.819230:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-12-14 10:36:14 Checking for update using Githubflatpak run md.obsidian.Obsidian
Debug: Will run Obsidian with the following arguments:
Debug: Additionally, user gave:
[13:1214/113614.588860:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-12-14 10:36:14 Loading main app package /app/resources/obsidian.asar
[13:1214/113614.819190:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[13:1214/113614.819230:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-12-14 10:36:14 Checking for update using Github
@nikolatzotchev nikolatzotchev added the bug Something isn't working label Dec 14, 2024
@joshua-stone
Copy link
Collaborator

joshua-stone commented Dec 16, 2024

@nikolatzotchev The failure to connect to the system bus is expected behavior.

Please share more information about your distro, your desktop environment / window manager, what key packages are installed, etc.

Also, try using other builds:

https://obsidian.md/download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants