You are not logged in.

#1 2025-03-28 16:12:03

aetherated
Member
Registered: 2025-03-28
Posts: 4

Account Switching Functionality Broken

Hello there!
I am a fairly new user of arch linux.
I have set up bspwm with other services such as sxhkd and nitrogen and pulseaudio with xinitrc and i alternatively use gnome.
I have two accounts in this system. i'll name them u1(main) and u2(alt) for now.
previously i could be logged into u2 with gnome and used ctrl + alt + f3 or any other function key ( f4, f5, f6 etc ) to open a new tty session, log in with u1 and do startx to effectively switch accounts.
but now if i try to do the same it gives the following errors ( this is the x server log file )

❯ cat .local/share/xorg/Xorg.2.log
[ 27622.163]
X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
[ 27622.163] Current Operating System: Linux archlinux 6.14.0-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 25 Mar 2025 01:21:22 +0000 x86_64
[ 27622.163] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=647fec26-d524-4afc-8760-8e7569f8958a rw zswap.enabled=0 rootfstype=ext4 loglevel=3 quiet
[ 27622.163] 
[ 27622.163] Current version of pixman: 0.44.2
[ 27622.163]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[ 27622.163] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 27622.163] (==) Log file: "/home/monoctic/.local/share/xorg/Xorg.2.log", Time: Fri Mar 28 21:22:35 2025
[ 27622.163] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 27622.163] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 27622.164] (==) No Layout section.  Using the first Screen section.
[ 27622.164] (==) No screen section available. Using defaults.
[ 27622.164] (**) |-->Screen "Default Screen Section" (0)
[ 27622.164] (**) |   |-->Monitor "<default monitor>"
[ 27622.164] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[ 27622.164] (**) Allowing byte-swapped clients
[ 27622.164] (==) Automatically adding devices
[ 27622.164] (==) Automatically enabling devices
[ 27622.164] (==) Automatically adding GPU devices
[ 27622.164] (==) Automatically binding GPU devices
[ 27622.164] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 27622.164] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 27622.164]     Entry deleted from font path.
[ 27622.164] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 27622.164]     Entry deleted from font path.
[ 27622.164] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 27622.164]     Entry deleted from font path.
[ 27622.164] (==) FontPath set to:
    /usr/share/fonts/TTF,
    /usr/share/fonts/100dpi,
    /usr/share/fonts/75dpi
[ 27622.164] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 27622.164] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 27622.164] (II) Module ABI versions:
[ 27622.164]     X.Org ANSI C Emulation: 0.4
[ 27622.164]     X.Org Video Driver: 25.2
[ 27622.164]     X.Org XInput driver : 24.4
[ 27622.164]     X.Org Server Extension : 10.0
[ 27622.164] (++) using VT number 3

[ 27622.165] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
[ 27622.166] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 27622.166] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 27622.167] (EE) systemd-logind: failed to take device /dev/dri/card1: Device or resource busy
[ 27622.169] (--) PCI:*(0@0:2:0) 8086:0416:17aa:2210 rev 6, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[ 27622.169] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 27622.169] (II) LoadModule: "glx"
[ 27622.169] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 27622.171] (II) Module glx: vendor="X.Org Foundation"
[ 27622.171]     compiled for 1.21.1.16, module version = 1.0.0
[ 27622.171]     ABI class: X.Org Server Extension, version 10.0
[ 27622.171] (==) Matched intel as autoconfigured driver 0
[ 27622.171] (==) Matched modesetting as autoconfigured driver 1
[ 27622.171] (==) Matched fbdev as autoconfigured driver 2
[ 27622.171] (==) Matched vesa as autoconfigured driver 3
[ 27622.171] (==) Assigned the driver to the xf86ConfigLayout
[ 27622.171] (II) LoadModule: "intel"
[ 27622.171] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 27622.171] (II) Module intel: vendor="X.Org Foundation"
[ 27622.171]     compiled for 1.21.1.16, module version = 2.99.917
[ 27622.171]     Module class: X.Org Video Driver
[ 27622.171]     ABI class: X.Org Video Driver, version 25.2
[ 27622.171] (II) LoadModule: "modesetting"
[ 27622.171] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 27622.171] (II) Module modesetting: vendor="X.Org Foundation"
[ 27622.171]     compiled for 1.21.1.16, module version = 1.21.1
[ 27622.171]     Module class: X.Org Video Driver
[ 27622.171]     ABI class: X.Org Video Driver, version 25.2
[ 27622.171] (II) LoadModule: "fbdev"
[ 27622.171] (WW) Warning, couldn't open module fbdev
[ 27622.171] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 27622.171] (II) LoadModule: "vesa"
[ 27622.172] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 27622.172] (II) Module vesa: vendor="X.Org Foundation"
[ 27622.172]     compiled for 1.21.1.11, module version = 2.6.0
[ 27622.172]     Module class: X.Org Video Driver
[ 27622.172]     ABI class: X.Org Video Driver, version 25.2
[ 27622.172] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 27622.172] (II) intel: Driver for Intel(R) HD Graphics
[ 27622.172] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 27622.172] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 27622.172] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 27622.172] (II) VESA: driver for VESA chipsets: vesa
[ 27622.172] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[ 27622.172] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 0
[ 27622.172] (II) intel(0): SNA compiled from 2.99.917-939-g4a64400e
[ 27622.172] (WW) Falling back to old probe method for modesetting
[ 27622.172] (EE) open /dev/dri/card0: No such file or directory
[ 27622.172] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 27624.377] (EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
[ 27624.377] (EE) intel(0): Failed to claim DRM device.
[ 27624.377] (II) UnloadModule: "intel"
[ 27624.377] (EE) Screen(s) found, but none have a usable configuration.
[ 27624.377] (EE)
Fatal server error:
[ 27624.378] (EE) no screens found(EE)
[ 27624.378] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
for help.
[ 27624.378] (EE) Please also check the log file at "/home/monoctic/.local/share/xorg/Xorg.2.log" for additional information.
[ 27624.378] (EE)
[ 27624.387] (EE) Server terminated with error (1). Closing log file.

i tried doing startx -- :1 and also tried replacing 1 with other integers such as 2 3 and 4 etc

i also noticed when i use ctrl alt f2 to get back to gnome, unlike before, now my cursor disappears. it does function i just can't see it. and also whatever i have typed in tty is also typed back in gnome.

i tried the "switch account" option in gnome as well, but no luck. it does nothing.

however, i don't get the above errors ( i've shown in the log file ) if i log the gnome user out with pkill -u $USER first.

sorry for my bad english/grammar/capitalization. i am not a native english speaker.

i'd be more than happy to respond to all the replies and provide the responders with any files or information necessary for helping me. thank you.

Last edited by aetherated (2025-03-28 16:13:00)

Offline

#2 2025-03-28 18:04:11

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,313

Re: Account Switching Functionality Broken

Please use code tags for logs and command output. Click on the "BBCode" link at the button of the screen to see how that works.

Current Operating System: Linux archlinux 6.14.0-arch1-1

At the timestamp of my reply/edit, the kernel in [core] is 6.13.8. Are you running the testing repo?

Last edited by twelveeighty (2025-03-28 18:06:10)

Offline

#3 2025-03-29 04:05:18

aetherated
Member
Registered: 2025-03-28
Posts: 4

Re: Account Switching Functionality Broken

sorry, my bad! and yes iirc i AM running the testing repo

turns out i indeed am using it

❯ cat /etc/pacman.conf

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[core-testing]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra-testing]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib-testing]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Offline

#4 2025-03-29 08:27:55

seth
Member
Registered: 2012-09-03
Posts: 63,021

Re: Account Switching Functionality Broken

[ 27622.166] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 27622.167] (EE) systemd-logind: failed to take device /dev/dri/card1: Device or resource busy

How do you start gnome?
Can you instead of starting gnome run two bspwm sessions w/ the two users?

Offline

#5 2025-03-29 10:33:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,719
Website

Re: Account Switching Functionality Broken

Mod note: moving to testing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2025-04-02 17:19:05

aetherated
Member
Registered: 2025-03-28
Posts: 4

Re: Account Switching Functionality Broken

i am using sddm to start gnome
and yes i can start two bspwm sessions

Offline

#7 2025-04-02 19:55:35

seth
Member
Registered: 2012-09-03
Posts: 63,021

Re: Account Switching Functionality Broken

Did you configure SDDM to run on wayland?
Do you run gnome on wayland or xorg? Does it make a difference?

Also please edit your initial post and wrap the xorg log in code tags.

Offline

#8 2025-04-04 19:21:26

aetherated
Member
Registered: 2025-03-28
Posts: 4

Re: Account Switching Functionality Broken

I realized that i'd been using the wrong session. Those sessions were VERY confusing since there's "GNOME on Wayland" and "GNOME ( Wayland )" and "GNOME Classic On Wayland" etc etc. Anyways using GNOME (Wayland) helped. Thanks!

Offline

#9 2025-04-04 19:52:31

seth
Member
Registered: 2012-09-03
Posts: 63,021

Re: Account Switching Functionality Broken

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

"GNOME on Wayland" and "GNOME ( Wayland )" and "GNOME Classic On Wayland"

Sounds like you've some stale session entries?

Offline

Board footer

Powered by FluxBB