Tmux drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to grab modeset ownership

When launching tmux in a terminal such as alaritty or kitty i get this error and my xorg restarts.

I am using a 3080 and 5800x on arch linux with kernel 6.0.6 and nvidia 520.56.06

It was an issue on my end I believe, I am not using a display manager, and just using xinitrc to start my session, I needed to call it properly from the .bash_profile:

starting with the following code in my .bash_profile fixes the issue

if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
  exec startx
fi

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.