Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot proccess stalls: Waiting for xauthority [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Fri Jun 12, 2020 8:41 pm    Post subject: Boot proccess stalls: Waiting for xauthority [SOLVED] Reply with quote

Scenario:

A few months ago I cloned my desktop configs to the laptop.
I dont use not want to use display manager and or login manager. Been loving it for years without fashion.

No configs have been changed from the time that the laptop was perfectly working to now.
Why does the console stops booting because of a graphical need?

I dont want or need display or login managers.

After am update this happened:

Code:
* Error: Your XDB value is invalid
* No xdm executable could be found on your system

* ERROR: Please set your DISPLAY MANAGER variable in /etc/conf.d/xdm,
or install x11-apps/xdm package

* setting up xdm

* start-stop-daemon: /usr/bin/xdm does not exist
* ERROR: could not start the display manager
* Starting sshd ...
* Starting VirtualIGL
* Wating for xauthority


WHY? Do we need xdm ? Or any other non boring application to login? Who came out with this new idea?
Looking for configs and flags, both systems still are the same but the laptop now does not complete the boot process unless I install xdm and gxmessage.

# rc-status -a
Code:
Runlevel: shutdown
 savecache                                                                                                                                                                                                           [  stopped  ]
 killprocs                                                                                                                                                                                                           [  stopped  ]
 mount-ro                                                                                                                                                                                                            [  stopped  ]
Runlevel: sysinit
 sysfs                                                                                                                                                                                                               [  started  ]
 devfs                                                                                                                                                                                                               [  started  ]
 udev                                                                                                                                                                                                                [  started  ]
 dmesg                                                                                                                                                                                                               [  started  ]
 kmod-static-nodes                                                                                                                                                                                                   [  started  ]
 opentmpfiles-dev                                                                                                                                                                                                    [  started  ]
 udev-trigger                                                                                                                                                                                                        [  started  ]
 cgroups                                                                                                                                                                                                             [  started  ]
Runlevel: boot
 termencoding                                                                                                                                                                                                        [  started  ]
 modules                                                                                                                                                                                                             [  started  ]
 lvm                                                                                                                                                                                                                 [  started  ]
 fsck                                                                                                                                                                                                                [  started  ]
 root                                                                                                                                                                                                                [  started  ]
 mtab                                                                                                                                                                                                                [  started  ]
 swap                                                                                                                                                                                                                [  started  ]
 localmount                                                                                                                                                                                                          [  started  ]
 sysctl                                                                                                                                                                                                              [  started  ]
 bootmisc                                                                                                                                                                                                            [  started  ]
 keymaps                                                                                                                                                                                                             [  started  ]
 save-keymaps                                                                                                                                                                                                        [  started  ]
 hostname                                                                                                                                                                                                            [  started  ]
 gpm                                                                                                                                                                                                                 [  started  ]
 urandom                                                                                                                                                                                                             [  started  ]
 consolefont                                                                                                                                                                                                         [  started  ]
 nvidia-smi                                                                                                                                                                                                          [  started  ]
 save-termencoding                                                                                                                                                                                                   [  started  ]
 loopback                                                                                                                                                                                                            [  started  ]
 procfs                                                                                                                                                                                                              [  started  ]
 binfmt                                                                                                                                                                                                              [  started  ]
 nvidia-persistenced                                                                                                                                                                                                 [  started  ]
 opentmpfiles-setup                                                                                                                                                                                                  [  started  ]
 elogind                                                                                                                                                                                                             [  started  ]
Runlevel: default
 device-mapper                                                                                                                                                                                                       [  started  ]
 hwclock                                                                                                                                                                                                             [  started  ]
 dbus                                                                                                                                                                                                                [  started  ]
 sysklogd                                                                                                                                                                                                            [  started  ]
 thermald                                                                                                                                                                                                            [  stopped  ]
 sshd                                                                                                                                                                                                                [  started  ]
 bluetooth                                                                                                                                                                                                           [  started  ]
 laptop_mode                                                                                                                                                                                                         [  stopped  ]
 iptables                                                                                                                                                                                                            [  started  ]
 wpa_supplicant                                                                                                                                                                                                      [  started  ]
 dhcpcd                                                                                                                                                                                                              [  started  ]
 cronie                                                                                                                                                                                                              [  stopped  ]
 netmount                                                                                                                                                                                                            [  started  ]
 bumblebee                                                                                                                                                                                                           [  stopped  ]
 distccd                                                                                                                                                                                                             [  stopped  ]
 linux-logo                                                                                                                                                                                                          [  stopped  ]
 tor                                                                                                                                                                                                                 [  stopped  ]
 vnstatd                                                                                                                                                                                                             [  stopped  ]
 local                                                                                                                                                                                                               [  stopped  ]
Runlevel: nonetwork
 local                                                                                                                                                                                                               [  stopped  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 xdm-setup                                                                                                                                                                                                           [  started  ]
 xdm                                                                                                                                                                                                                 [  started  ]
 lvmetad                                                                                                                                                                                                             [  started  ]
 udev-settle                                                                                                                                                                                                         [  started  ]
 vgl                                                                                                                                                                                                                 [ starting  ]
Dynamic Runlevel: manual



For some unknown reason:
# /etc/init.d/xdm status
Code:
* status: started


# cat /etc/conf.d/xdm
Code:
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7

# What display manager do you use ?  [ xdm | gdm | sddm | gpe | lightdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="xdm"


# ls /etc/X11/Sessions/
Code:
fluxbox  Xsession


# /etc/init.d/vgl status

Code:
* status: starting

(this does not get started on the desktop. Why is it here?)

# cat /etc/conf.d/vgl

Code:
DISPLAY="${DISPLAY:-:0}"

# Make it a function in case we have to repeat it in init script later
set_xauth() {

# common case (works in almost all tested environments (except of lightdm)):
XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/var\S*' | cut -d ' ' -f 2)"

# kdm and some others:
# XAUTHORITY="$(find /var/run/xauth/A${DISPLAY}-*|tail -n1)"

# gdm:
# XAUTHORITY="/var/gdm/${DISPLAY}.Xauth"

# slim:
# XAUTHORITY="/var/run/slim.auth"

# lightdm:
# XAUTHORITY="/var/run/lightdm/root/${DISPLAY}"

# lxdm:
# XAUTHORITY="/var/run/lxdm/lxdm-${DISPLAY}.auth"

}
set_xauth



# grep xdm /run/openrc/deptree

Code:
depinfo_2_iafter_5='xdm'
depinfo_4_ibefore_1='xdm'
depinfo_9_ibefore_16='xdm'
depinfo_10_ineed_0='xdm'
depinfo_17_ibefore_1='xdm'
depinfo_21_usesme_0='xdm'
depinfo_29_ibefore_0='xdm'
depinfo_33_ibefore_1='xdm'
depinfo_45_ibefore_2='xdm'
depinfo_51_iafter_108='xdm'
depinfo_51_iafter_109='xdm-setup'
depinfo_52_needsme_28='xdm'
depinfo_52_needsme_29='xdm-setup'
depinfo_58_ibefore_10='xdm'
depinfo_62_ibefore_1='xdm'
depinfo_71_ibefore_1='xdm'
depinfo_105_ineed_0='xdm'
depinfo_106_ibefore_0='xdm'
depinfo_109_service='xdm'
depinfo_109_ineed_1='xdm-setup'
depinfo_110_service='xdm-setup'
depinfo_110_needsme_0='xdm''


# grep depinfo_52_service /run/openrc/deptree
Code:
depinfo_52_service='localmount'



Code:
[I] x11-base/xorg-server
     Available versions:  1.20.7(0/1.20.7){tbz2} ~1.20.8(0/1.20.8) [m]**9999(0/9999)*l {debug dmx doc elogind ipv6 kdrive +libglvnd libressl minimal selinux static-libs +suid systemd +udev unwind wayland xcsecurity xephyr xnest xorg xvfb}
     Installed versions:  1.20.7(0/1.20.7){tbz2}(11:57:33 AM 04/15/2020)(elogind libglvnd suid udev xcsecurity xorg -debug -dmx -doc -ipv6 -kdrive -libressl -minimal -selinux -static-libs -systemd -unwind -wayland -xephyr -xnest -xvfb)
     Homepage:            https://www.x.org/wiki/ https://gitlab.freedesktop.org/xorg/xserver/xorg-server
     Description:         X.Org X servers


Code:
[I] x11-wm/fluxbox
     Available versions:  1.3.7-r4 {bidi +imlib nls +slit +systray +toolbar +truetype vim-syntax xinerama}
     Installed versions:  1.3.7-r4(05:15:55 AM 02/01/2020)(imlib slit systray toolbar truetype -bidi -nls -vim-syntax -xinerama)
     Homepage:            http://www.fluxbox.org
     Description:         X11 window manager featuring tabs and an iconbar


# emerge --info
Code:
Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-9.3.0, glibc-2.30-r8, 5.4.28-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.4.28-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-9750H_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    16271632 total,  15536132 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 11 Jun 2020 20:30:01 +0000
Head commit of repository gentoo: 3020df3ab461d8628ff37956cf96181f9387df77
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

brother-overlay
    location: /var/lib/layman/brother-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mtune=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/portage/ /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -mtune=skylake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --buildpkg=y --binpkg-respect-use=y --color=y --with-bdeps=y --keep-going"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg candy cgroup clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j13"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apm bluetooth bluez bluray bzip2 cdparanoia cdr cracklib crypt cryptsetup css cuda cups dbus dri drm dts dvb dvd dvdr elogind eloging evdev exif fbcon ffmpeg flac ftp gcrypt geoip gif gimp gnutls gpg gphoto2 gpm gstreamer gtk gzip hardened hddtemp hwaccel iconv ieee1394 initramfs jpeg jpeg2k libtirpc lm_sensors mozilla mp3 mp4 mplayer ncurses nptl nvenc ogg omemo openal opencl opengl openmp openssl otr pcre pdf pdfimport pie png qt5 quicktime readline rss scanner sctp sdl seamonkey seccomp sftp smp sound spell split-usr ssh ssl ssp syslog tiff udev unicode upower usb v4l vaapi vdpau vlc vorbis wifi x264 xattr xtpax xvid xvmc yubikey zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard libinput mouse penmount uvcvideo" KERNEL="linux" L10N="en en-CA pt pt-PT" LCD_DEVICES="ncurses x11 vnc" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6_ python3_7" QEMU_USER_TARGETS="x86_64 arm" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="net v4l" USERLAND="GNU" VIDEO_CARDS="nvidia i915 i965 intel virtualbox fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244


Last edited by HeXiLeD on Sat Jun 13, 2020 1:38 am; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3882

PostPosted: Fri Jun 12, 2020 10:22 pm    Post subject: Reply with quote

Hi
I run
Code:

eqf xorg-server | grep xdm

/etc/conf.d/xdm
/etc/init.d/xdm
/etc/init.d/xdm-setup

So it is pulled by xorg-server.
then I run
Code:

equ xorg-server
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-base/xorg-server-1.20.8:
 U I
 - - debug       : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
                   backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - dmx         : Build the Distributed Multiheaded X server
 - - doc         : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
                   globally
 + + elogind     : Use elogind to get control over framebuffer when running as regular user
 + + ipv6        : Add support for IP version 6
 - - kdrive      : Build the kdrive X servers
 - - libglvnd    : Use libglvnd for dispatch.
 - - libressl    : Use dev-libs/libressl instead of dev-libs/openssl when applicable (see also the ssl useflag)
 - - minimal     : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical
                   features)
 - - static-libs : Build static versions of dynamic libraries as well
 + + suid        : Enable setuid root program, with potential security risks
 - - systemd     : Enable use of systemd-specific libraries and features like socket activation or session tracking
 + + udev        : Enable virtual/udev integration (device discovery, power and storage device support, etc)
 - - unwind      : Enable libunwind usage for backtraces
 - - wayland     : Enable dev-libs/wayland backend
 - - xcsecurity  : Build Security extension
 - - xephyr      : Build the Xephyr server
 - - xnest       : Build the Xnest server
 + + xorg        : Build the Xorg X server (HIGHLY RECOMMENDED)
 - - xvfb        : Build the Xvfb server


I see no flag to possibly disable it other than maybe "minimal"
.What happens if you disable it in openrc?
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Fri Jun 12, 2020 10:35 pm    Post subject: Reply with quote

Both the laptop and the desktop have the exat same configuration and output posted bellow.
Only the laptop pulls xdm and forces it.

# equery f xorg-server| grep xdm
Code:
/etc/conf.d/xdm
/etc/init.d/xdm
/etc/init.d/xdm-setup


# equery u xorg-server
Code:
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-base/xorg-server-1.20.7:
 U I
 - - debug       : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - dmx         : Build the Distributed Multiheaded X server
 - - doc         : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + elogind     : Use elogind to get control over framebuffer when running as regular user
 - - ipv6        : Add support for IP version 6
 - - kdrive      : Build the kdrive X servers
 + + libglvnd    : Use libglvnd for dispatch.
 - - libressl    : Use dev-libs/libressl instead of dev-libs/openssl when applicable (see also the ssl useflag)
 - - minimal     : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
 - - static-libs : Build static versions of dynamic libraries as well
 + + suid        : Enable setuid root program, with potential security risks
 - - systemd     : Enable use of systemd-specific libraries and features like socket activation or session tracking
 + + udev        : Enable virtual/udev integration (device discovery, power and storage device support, etc)
 - - unwind      : Enable libunwind usage for backtraces
 - - wayland     : Enable dev-libs/wayland backend
 + + xcsecurity  : Build Security extension
 - - xephyr      : Build the Xephyr server
 - - xnest       : Build the Xnest server
 + + xorg        : Build the Xorg X server (HIGHLY RECOMMENDED)
 - - xvfb        : Build the Xvfb server

_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21848

PostPosted: Sat Jun 13, 2020 12:21 am    Post subject: Reply with quote

You only need /usr/bin/xdm if you want to run /etc/init.d/xdm start. You say you do not want a display manager, so the real issue is that you should not be starting /etc/init.d/xdm. Why is it starting? Does rc-update show say it should start? If not, what init script needs it to start?
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Sat Jun 13, 2020 12:42 am    Post subject: Reply with quote

rc-status has nothing activated and pulling xdm for both laptop and desktop.

The only script that pulls xdm is:

/etc/init.d # cat vgl
Code:
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

# TODO: description="*" and other OpenRC 0.9+ candies

depend() {
        need xdm
        after sshd
}

start() {
        ebegin "Starting VirtualGL"
        truncate --size=0 /var/lib/VirtualGL/vgl_xauth_key

  set_xauth

  if [ -z "$XAUTHORITY" ]; then

    einfo "Waiting for xauthority..."

    # wait for xauth file
    while true; do
      set_xauth

      if [ -e "$XAUTHORITY" ]; then
        break;
      fi

      sleep 1
    done
  fi


        xauth -f /var/lib/VirtualGL/vgl_xauth_key add $DISPLAY . $(xauth -f $XAUTHORITY list | awk '{print $3;exit}') && \
                chmod 644 /var/lib/VirtualGL/vgl_xauth_key
        eend $?
}

stop() {
        ebegin "Stopping VirtualGL"
        [ -f /var/lib/VirtualGL/vgl_xauth_key ] && \
                rm /var/lib/VirtualGL/vgl_xauth_key
        eend $?
}


On the desktop the same script is the same and also not active and also not pulling xdm to start

However on the desktop /var/lib/VirtualGL/vgl_xauth_key does not exist
and on the laptop it has a magic cookie vgl_xauth_key right now when I have to be forced to use xdm
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Sat Jun 13, 2020 12:56 am    Post subject: Reply with quote

okay I found it
This miserable file.

# cat /etc/init.d/bumblebee
Code:
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
   need xdm vgl
}

PIDFILE="${PIDFILE:-/var/run/bumblebee.pid}"

start() {
   ebegin "Starting BumbleBee Daemon"
      start-stop-daemon -S -p "${PIDFILE}" -x /usr/sbin/bumblebeed -- -D ${BUMBLEBEE_EXTRA_OPTS} --pidfile "${PIDFILE}"
   eend $?
}

stop() {

   ebegin "Stopping BumbleBee Daemon"
      start-stop-daemon -K -p "${PIDFILE}" -R SIGTERM/10
   eend $?
}



As I suspected, gremlin devs

https://github.com/Bumblebee-Project/bumblebee-gentoo/issues/19


And also, WHY does it need xdm?

I had bumblebee installed since the beginning. This problem never happened before until some update.

This problem has been [SOLVED]
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum