You are not logged in.

#1 2019-08-29 16:31:46

Yann
Member
Registered: 2017-11-23
Posts: 235

[Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Hi everyone,

I am fighting with some remote control applications such as teamviewer or anydesk. In each case I can not get my laptops to be a server. I would like to be able to get a remote display (or control) to any other linux machine or android smartphone.
I got too much issues on my system with teamviewer and am now trying hard to get anydesk working.

current system: 5.1.15-arch1-1-ARCH with i3 version 4.17-19-g9aac019a

anydesk can connect (from my system) to any android device but not working in the other direction. Impossible to connect to my arch system from android or other.
Every time I try I get:

Remote display server is not supported (e.g. Wayland)

some precisions:
- I observed this behavior on 2 different machine with same system
- anydesk works well as a server on an other machine with manjaro, so I guess I am missing a package or have a different config somewhere
- I installed and started the xrdp.service, no change

Does someone have an idea?

Thanks for your time

Last edited by Yann (2019-09-10 21:14:09)


all different - all equal

Offline

#2 2019-08-29 22:20:38

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 629

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Important: Please keep in mind that on Wayland sessions (selectable in your loginscreen) only outgoing sessions are supported. To support incoming sessions make sure an Xorg session is running.

You can check if you use wayland by entering the following in the terminal: echo $XDG_SESSION_TYPE



https://support.anydesk.com/AnyDesk_on_Linux

Offline

#3 2019-08-30 08:32:16

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Thanks for the reply,
I forgot to mention that I am only using xorg with startx. I don't use Wayland at all.

$ echo $XDG_SESSION_TYPE
tty

I don't have any desktop environment, only i3.

Last edited by Yann (2019-08-30 08:36:10)


all different - all equal

Offline

#4 2019-08-30 08:41:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

What does your .xinitrc look like? Make sure it follow the recommended template that should (TM) set the session type iirc.

What are you using on Manjaro? If a display manager that will likely properly set the session type for you.

Offline

#5 2019-08-30 11:30:13

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

I guess my .xinitrc file is fine. I read your link, I don't use openbox at all, I don't know if I should.

Indeed, anydesk run perfectly with Manjaro (KDE) and not on my system, so I guess a DE or something like this makes it working.
Do you have some advices on how I can find what is wrong with my session type?

Last edited by Yann (2019-08-30 11:30:45)


all different - all equal

Offline

#6 2019-08-30 11:53:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Don't guess, look. And if you are unsure you've understood what I intended to point out (the sourcing of /etc/X11/xinitrc.d/* needs to happen), post the file.

Regarding the Manjaro part. No the actual DE is irrelevant, it matters whether your session is properly populated, if you use a display manager they will usually invoke relevant integrations with systemd themselves.

What I'm wondering now and I'm not on my Arch is whether relevant startx scripts update the session type appropriately or not.

Last edited by V1del (2019-08-30 12:01:45)

Offline

#7 2019-08-30 14:44:03

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

ok.
my .xinitrc:

#!/bin/bash

CFILE_PATH=$(realpath ${BASH_SOURCE[0]})

USER_MODMAP_PATH=$MHOME/.Xmodmap
if [ -f "$USER_MODMAP_PATH" ]; then
  xmodmap "$USER_MODMAP_PATH"
fi

# unlock numluck key
numlockx &

# xhost display
xhost +

# x keyboard fr
setxkbmap fr

# dpms (Display Power Management Signaling)
xset dpms $X_STANDBYTIME $X_SUSPENDTIME $X_OFFTIME

# set the dns servers to the /etc/resolv.conf file
#use resolvconf to copy the content of resolv.conf.head to resolv.conf
sudo resolvconf -u

# notification daemon
dunst &


# execute compton, a standalone composite manager for X11, suitable for use with window managers such as i3. It makes i3bar transparent
COMPTON_CONF_PATH=$MHOME/.config/compton.conf
if file_paths_exist XINIT "silent" $COMPTON_CONF_PATH; then
	compton --config $COMPTON_CONF_PATH &
fi


MONITOR_DETECTION_PATH=$MHOME/dev/bash/monitors_detection.sh
if file_paths_exist XINIT "silent" $MONITOR_DETECTION_PATH; then
	source $MONITOR_DETECTION_PATH
fi

is_defined XINIT "silent" MONITOR_DEVICE $MONITOR_DEVICE
is_defined XINIT "silent" MONITOR_EXT1 $MONITOR_EXT1

XENV_PATH=$MHOME/.xenv
if file_paths_exist XINIT "silent" $XENV_PATH; then
	source $XENV_PATH
fi

xrandr --output $MONITOR_DEVICE --dpi $DPI_DEVICE

autorandr --change

# set main wallpaper
if is_defined XINIT "silent" WALLPAPER_PATH $WALLPAPER_PATH && file_paths_exist XINIT "silent" $WALLPAPER_PATH; then
	feh --bg-fill $WALLPAPER_PATH
fi


# launch clipnotify to get saved any selection in $MHOME/$MUSER.log
if "$XCLIPNOTIFY"; then
	echo -e "\n$(date +%Y_%m_%d):\n" >> $MHOME/$MUSER.log
	source $MHOME/dev/bash/xclipnotify.sh &
fi


# launch i3 with correct config file
if is_defined XINIT "silent" I3_BUILD_CONF_PATH $I3_BUILD_CONF_PATH && file_paths_exist XINIT "silent" $I3_BUILD_CONF_PATH; then
	i3build_specificconf
fi

if [ -s $I3_PATH/$I3_S_CONFIG ]; then
       exec i3 -c $I3_PATH/$I3_S_CONFIG
else
	exec i3 -c $I3_PATH/$I3_CONFIG
	logme i XINIT "the path $I3_PATH/$I3_S_CONFIG doesn't exist"
fi

I observe that I don't source any file under /etc/X11/xinitrc.d/. I don't have exactly this architecture, it's more /etc/X11/xinit/xinitrc.d/. Also I don't use any DM.
So I may miss something about some daemons indeed.

I do have some executables under /etc/X11/xinit/xinitrc.d/ such as systemd-user.sh:

#!/bin/sh

systemctl --user import-environment DISPLAY XAUTHORITY

if command -v dbus-update-activation-environment >/dev/null 2>&1; then
        dbus-update-activation-environment DISPLAY XAUTHORITY
fi

I tried to source it in my .xinitrc file, no change, still impossible to connect with anydesk.

Last edited by Yann (2019-08-30 15:09:12)


all different - all equal

Offline

#8 2019-09-01 20:23:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

The quick fix for this is simply

export XDG_SESSION_TYPE=x11

somewhere in that .xinitrc though I did think that the systemd-user.sh would relevantly update this.  regardless ensure that this script is sourced, you will avoid many other session gotcha's

Offline

#9 2019-09-02 17:41:25

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Thanks for the reply, I added export XDG_SESSION_TYPE=x11 in my .xinitrc, rebooted.. still the same issue..

under /etc/X11/xinit/ there are:
- xinitrc
- xinitrc.d/
- xserverrc

with xinitrc:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

with xserverrc:

#!/bin/sh
exec /usr/bin/X -nolisten tcp "$@"

and under xinitrc.d/:
- 40-libcanberra-gtk-module.sh
- 50-systemd-user.sh

with 40-libcanberra-gtk-module.sh:

#!/bin/sh

case "${DESKTOP_SESSION-}" in
  gnome*) # Done by gnome-settings-daemon
  ;;
  *)
    # Extra check in case DESKTOP_SESSION is not set correctly
    if [ -z "${GNOME_DESKTOP_SESSION_ID-}" ]; then
      GTK_MODULES="${GTK_MODULES:+$GTK_MODULES:}canberra-gtk-module"
      export GTK_MODULES
    fi
  ;;
esac

and 50-systemd-user.sh:

#!/bin/sh

systemctl --user import-environment DISPLAY XAUTHORITY

if command -v dbus-update-activation-environment >/dev/null 2>&1; then
        dbus-update-activation-environment DISPLAY XAUTHORITY
fi

Any ideas?


all different - all equal

Offline

#10 2019-09-05 14:25:14

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

any idea?? I am pretty sure that one of you can solve my issue? Please smile ..


all different - all equal

Offline

#11 2019-09-05 15:16:55

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Yann wrote:

any idea?? I am pretty sure that one of you can solve my issue? Please ...

Please don't do that.

I don't see 'export XDG_SESSION_TYPE=x11' in the .xinitrc you posted in post #9.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#12 2019-09-05 15:41:49

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Hi 2ManyDogs,
Sorry for doing that. I have already searched during many days and am pretty sure there is a solution somewhere and you guys can help me. So, what am I supposed to do? (it's a real question)

I added

export XDG_SESSION_TYPE=x11

in my .xinitrc file. So now

$ echo $XDG_SESSION_TYPE
x11

But I still have the same issue.

Last edited by Yann (2019-09-05 15:42:31)


all different - all equal

Offline

#13 2019-09-10 21:13:01

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

I made lots of progress..

A few days ago, I notices having others issues with the graphical display, such as:

  • I can not use notify-send with sudo, it has no effect

    $ notify-send "I am "  "HAPPY"
    got notif  |I am HAPPY|
    $ sudo notify-send "I am "  "HAPPY"
    no output at all
  • I can not use xrandr with sudo, it has no effect too

    $ xrandr --output DP3 --rotate left
    got my external screen rotated
    $ sudo xrandr --output DP3 --rotate left
    no output and no effect at all

Is that normal?

Then I performed lots of tests. I do have the same issue with a new fresh user.
I tested another DE and a display manager.
KDE Plasma works fine but still have the same issues (remote control issue, xrandr, notify-send no effect with sudo)

V1del suggested me a DM, I enabled sddm.service and removed the autologin on systemd.
Then, I got a black screen at boot with the booting messages on the consol and a mouse that can move. But I can not do anything.
There is the Xorg.0.log corresponding at this attempt:

[    27.582] (--) Log file renamed from "/var/log/Xorg.pid-995.log" to "/var/log/Xorg.0.log"
[    27.585] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[    27.585] Build Operating System: Linux Arch Linux
[    27.585] Current Operating System: Linux yoxpsarch 5.2.13-arch1-1-ARCH #1 SMP PREEMPT Fri Sep 6 17:52:33 UTC 2019 x86_64
[    27.585] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/lvmsysvg-system rw cryptdevice=UUID=1da26dcf-b289-4f23-b5f2-a455211d032e:lvmsystemvg quiet acpi_backlight=vendor mem_sleep_default=deep video=HDMI-A-1:1920x1080@60:D
[    27.585] Build Date: 30 June 2019  09:52:01AM
[    27.585]  
[    27.585] Current version of pixman: 0.38.4
[    27.585] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    27.585] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    27.585] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 10 13:55:36 2019
[    27.588] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    27.588] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    27.591] (==) No Layout section.  Using the first Screen section.
[    27.591] (==) No screen section available. Using defaults.
[    27.591] (**) |-->Screen "Default Screen Section" (0)
[    27.591] (**) |   |-->Monitor "<default monitor>"
[    27.592] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    27.592] (**) |   |-->Device "Intel Graphics"
[    27.592] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    27.592] (**) Option "AutoAddGPU" "off"
[    27.592] (==) Automatically adding devices
[    27.592] (==) Automatically enabling devices
[    27.592] (**) Not automatically adding GPU devices
[    27.592] (==) Automatically binding GPU devices
[    27.592] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    27.593] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    27.594] 	Entry deleted from font path.
[    27.594] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    27.594] 	Entry deleted from font path.
[    27.594] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    27.594] 	Entry deleted from font path.
[    27.594] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    27.594] 	Entry deleted from font path.
[    27.594] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[    27.594] (==) ModulePath set to "/usr/lib/xorg/modules"
[    27.594] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    27.594] (II) Module ABI versions:
[    27.594] 	X.Org ANSI C Emulation: 0.4
[    27.594] 	X.Org Video Driver: 24.0
[    27.594] 	X.Org XInput driver : 24.1
[    27.594] 	X.Org Server Extension : 10.0
[    27.594] (++) using VT number 1

[    27.594] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    27.594] (II) xfree86: Adding drm device (/dev/dri/card0)
[    27.608] (--) PCI:*(0@0:2:0) 8086:3e9b:1028:087c rev 0, Mem @ 0xeb000000/16777216, 0x80000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[    27.608] (--) PCI: (1@0:0:0) 10de:1c8c:1028:087c rev 161, Mem @ 0xec000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[    27.608] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    27.608] (II) LoadModule: "glx"
[    27.611] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    27.621] (II) Module glx: vendor="X.Org Foundation"
[    27.621] 	compiled for 1.20.5, module version = 1.0.0
[    27.621] 	ABI class: X.Org Server Extension, version 10.0
[    27.621] (II) LoadModule: "intel"
[    27.621] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    27.623] (II) Module intel: vendor="X.Org Foundation"
[    27.623] 	compiled for 1.20.5, module version = 2.99.917
[    27.623] 	Module class: X.Org Video Driver
[    27.623] 	ABI class: X.Org Video Driver, version 24.0
[    27.623] (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
[    27.623] (II) intel: Driver for Intel(R) HD Graphics
[    27.623] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    27.623] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    27.623] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20190417
[    27.623] (II) intel(0): SNA compiled from 2.99.917-870-g6f4972d5
[    27.641] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[    27.641] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 6 threads
[    27.641] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    27.641] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    27.641] (==) intel(0): RGB weight 888
[    27.641] (==) intel(0): Default visual is TrueColor
[    27.641] (**) intel(0): Option "Backlight" "intel_backlight"
[    27.641] (**) intel(0): Option "TearFree" "true"
[    27.642] (II) intel(0): Output eDP1 has no monitor section
[    27.642] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[    27.642] (II) intel(0): Enabled output eDP1
[    27.642] (II) intel(0): Output DP1 has no monitor section
[    27.642] (II) intel(0): Enabled output DP1
[    27.642] (II) intel(0): Output DP2 has no monitor section
[    27.642] (II) intel(0): Enabled output DP2
[    27.642] (II) intel(0): Output DP3 has no monitor section
[    27.642] (II) intel(0): Enabled output DP3
[    27.642] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    27.643] (II) intel(0): Output VIRTUAL1 has no monitor section
[    27.643] (II) intel(0): Enabled output VIRTUAL1
[    27.643] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[    27.643] (--) intel(0): Output DP3 using initial mode 1920x1080 on pipe 1
[    27.643] (**) intel(0): TearFree enabled
[    27.643] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    27.643] (==) intel(0): DPI set to (96, 96)
[    27.643] (II) Loading sub module "dri3"
[    27.643] (II) LoadModule: "dri3"
[    27.643] (II) Module "dri3" already built-in
[    27.643] (II) Loading sub module "dri2"
[    27.643] (II) LoadModule: "dri2"
[    27.643] (II) Module "dri2" already built-in
[    27.643] (II) Loading sub module "present"
[    27.643] (II) LoadModule: "present"
[    27.643] (II) Module "present" already built-in
[    27.645] (II) intel(0): SNA initialized with Coffeelake (gen9) backend
[    27.645] (==) intel(0): Backing store enabled
[    27.645] (==) intel(0): Silken mouse disabled
[    27.645] (II) intel(0): HW Cursor enabled
[    27.645] (==) intel(0): DPMS enabled
[    27.646] (==) intel(0): Display hotplug detection enabled
[    27.646] (II) intel(0): [DRI2] Setup complete
[    27.646] (II) intel(0): [DRI2]   DRI driver: i965
[    27.646] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    27.646] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[    27.646] (II) intel(0): hardware support for Present enabled
[    27.646] (II) Initializing extension Generic Event Extension
[    27.646] (II) Initializing extension SHAPE
[    27.646] (II) Initializing extension MIT-SHM
[    27.646] (II) Initializing extension XInputExtension
[    27.647] (II) Initializing extension XTEST
[    27.647] (II) Initializing extension BIG-REQUESTS
[    27.647] (II) Initializing extension SYNC
[    27.647] (II) Initializing extension XKEYBOARD
[    27.647] (II) Initializing extension XC-MISC
[    27.647] (II) Initializing extension SECURITY
[    27.647] (II) Initializing extension XFIXES
[    27.647] (II) Initializing extension RENDER
[    27.647] (II) Initializing extension RANDR
[    27.647] (II) Initializing extension COMPOSITE
[    27.647] (II) Initializing extension DAMAGE
[    27.647] (II) Initializing extension MIT-SCREEN-SAVER
[    27.647] (II) Initializing extension DOUBLE-BUFFER
[    27.648] (II) Initializing extension RECORD
[    27.648] (II) Initializing extension DPMS
[    27.648] (II) Initializing extension Present
[    27.648] (II) Initializing extension DRI3
[    27.648] (II) Initializing extension X-Resource
[    27.648] (II) Initializing extension XVideo
[    27.648] (II) Initializing extension XVideo-MotionCompensation
[    27.648] (II) Initializing extension GLX
[    27.669] (II) AIGLX: Loaded and initialized i965
[    27.669] (II) GLX: Initialized DRI2 GL provider for screen 0
[    27.669] (II) Initializing extension XFree86-VidModeExtension
[    27.669] (II) Initializing extension XFree86-DGA
[    27.669] (II) Initializing extension XFree86-DRI
[    27.669] (II) Initializing extension DRI2
[    27.672] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    27.674] (II) intel(0): switch to mode 1920x1080@60.0 on DP3 using pipe 1, position (0, 0), rotation normal, reflection none
[    27.689] (II) intel(0): Setting screen physical size to 508 x 285
[    27.726] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    27.726] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    27.726] (**) Power Button: Applying InputClass "system-keyboard"
[    27.726] (II) LoadModule: "libinput"
[    27.726] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    27.732] (II) Module libinput: vendor="X.Org Foundation"
[    27.732] 	compiled for 1.20.5, module version = 0.29.0
[    27.732] 	Module class: X.Org XInput Driver
[    27.732] 	ABI class: X.Org XInput driver, version 24.1
[    27.732] (II) Using input driver 'libinput' for 'Power Button'
[    27.732] (**) Power Button: always reports core events
[    27.732] (**) Option "Device" "/dev/input/event3"
[    27.732] (**) Option "_source" "server/udev"
[    27.737] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    27.737] (II) event3  - Power Button: device is a keyboard
[    27.737] (II) event3  - Power Button: device removed
[    27.780] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    27.780] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    27.780] (**) Option "xkb_layout" "fr"
[    27.812] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    27.812] (II) event3  - Power Button: device is a keyboard
[    27.813] (II) config/udev: Adding input device Video Bus (/dev/input/event13)
[    27.813] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    27.813] (**) Video Bus: Applying InputClass "system-keyboard"
[    27.813] (II) Using input driver 'libinput' for 'Video Bus'
[    27.813] (**) Video Bus: always reports core events
[    27.813] (**) Option "Device" "/dev/input/event13"
[    27.813] (**) Option "_source" "server/udev"
[    27.814] (II) event13 - Video Bus: is tagged by udev as: Keyboard
[    27.814] (II) event13 - Video Bus: device is a keyboard
[    27.814] (II) event13 - Video Bus: device removed
[    27.887] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input31/event13"
[    27.887] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    27.887] (**) Option "xkb_layout" "fr"
[    27.888] (II) event13 - Video Bus: is tagged by udev as: Keyboard
[    27.888] (II) event13 - Video Bus: device is a keyboard
[    27.889] (II) config/udev: Adding input device Video Bus (/dev/input/event14)
[    27.889] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    27.889] (**) Video Bus: Applying InputClass "system-keyboard"
[    27.889] (II) Using input driver 'libinput' for 'Video Bus'
[    27.889] (**) Video Bus: always reports core events
[    27.889] (**) Option "Device" "/dev/input/event14"
[    27.889] (**) Option "_source" "server/udev"
[    27.890] (II) event14 - Video Bus: is tagged by udev as: Keyboard
[    27.890] (II) event14 - Video Bus: device is a keyboard
[    27.890] (II) event14 - Video Bus: device removed
[    27.954] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0b/LNXVIDEO:01/input/input32/event14"
[    27.954] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    27.954] (**) Option "xkb_layout" "fr"
[    27.957] (II) event14 - Video Bus: is tagged by udev as: Keyboard
[    27.957] (II) event14 - Video Bus: device is a keyboard
[    27.958] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    27.958] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    27.958] (**) Power Button: Applying InputClass "system-keyboard"
[    27.958] (II) Using input driver 'libinput' for 'Power Button'
[    27.958] (**) Power Button: always reports core events
[    27.958] (**) Option "Device" "/dev/input/event1"
[    27.958] (**) Option "_source" "server/udev"
[    27.960] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    27.960] (II) event1  - Power Button: device is a keyboard
[    27.960] (II) event1  - Power Button: device removed
[    27.994] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    27.994] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[    27.994] (**) Option "xkb_layout" "fr"
[    27.996] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    27.996] (II) event1  - Power Button: device is a keyboard
[    27.998] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    27.998] (II) No input driver specified, ignoring this device.
[    27.998] (II) This device may have been added with another device file.
[    27.999] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    27.999] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    27.999] (**) Sleep Button: Applying InputClass "system-keyboard"
[    27.999] (II) Using input driver 'libinput' for 'Sleep Button'
[    27.999] (**) Sleep Button: always reports core events
[    27.999] (**) Option "Device" "/dev/input/event2"
[    27.999] (**) Option "_source" "server/udev"
[    28.001] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    28.001] (II) event2  - Sleep Button: device is a keyboard
[    28.001] (II) event2  - Sleep Button: device removed
[    28.061] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[    28.061] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[    28.061] (**) Option "xkb_layout" "fr"
[    28.063] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    28.063] (II) event2  - Sleep Button: device is a keyboard
[    28.066] (II) config/udev: Adding input device Integrated_Webcam_HD: Integrate (/dev/input/event10)
[    28.066] (**) Integrated_Webcam_HD: Integrate: Applying InputClass "libinput keyboard catchall"
[    28.066] (**) Integrated_Webcam_HD: Integrate: Applying InputClass "system-keyboard"
[    28.066] (II) Using input driver 'libinput' for 'Integrated_Webcam_HD: Integrate'
[    28.066] (**) Integrated_Webcam_HD: Integrate: always reports core events
[    28.066] (**) Option "Device" "/dev/input/event10"
[    28.066] (**) Option "_source" "server/udev"
[    28.068] (II) event10 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[    28.068] (II) event10 - Integrated_Webcam_HD: Integrate: device is a keyboard
[    28.069] (II) event10 - Integrated_Webcam_HD: Integrate: device removed
[    28.141] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input29/event10"
[    28.141] (II) XINPUT: Adding extended input device "Integrated_Webcam_HD: Integrate" (type: KEYBOARD, id 11)
[    28.141] (**) Option "xkb_layout" "fr"
[    28.144] (II) event10 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[    28.144] (II) event10 - Integrated_Webcam_HD: Integrate: device is a keyboard
[    28.146] (II) config/udev: Adding input device Logitech Wireless Keyboard PID:4023 (/dev/input/event5)
[    28.146] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "libinput keyboard catchall"
[    28.146] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "system-keyboard"
[    28.146] (II) Using input driver 'libinput' for 'Logitech Wireless Keyboard PID:4023'
[    28.146] (**) Logitech Wireless Keyboard PID:4023: always reports core events
[    28.146] (**) Option "Device" "/dev/input/event5"
[    28.146] (**) Option "_source" "server/udev"
[    28.150] (II) event5  - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[    28.150] (II) event5  - Logitech Wireless Keyboard PID:4023: device is a keyboard
[    28.150] (II) event5  - Logitech Wireless Keyboard PID:4023: device removed
[    28.194] (II) libinput: Logitech Wireless Keyboard PID:4023: needs a virtual subdevice
[    28.194] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input23/event5"
[    28.194] (II) XINPUT: Adding extended input device "Logitech Wireless Keyboard PID:4023" (type: MOUSE, id 12)
[    28.194] (**) Option "AccelerationScheme" "none"
[    28.194] (**) Logitech Wireless Keyboard PID:4023: (accel) selected scheme none/0
[    28.194] (**) Logitech Wireless Keyboard PID:4023: (accel) acceleration factor: 2.000
[    28.194] (**) Logitech Wireless Keyboard PID:4023: (accel) acceleration threshold: 4
[    28.198] (II) event5  - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[    28.198] (II) event5  - Logitech Wireless Keyboard PID:4023: device is a keyboard
[    28.200] (II) config/udev: Adding input device Logitech Wireless Mouse PID:4038 (/dev/input/event6)
[    28.200] (**) Logitech Wireless Mouse PID:4038: Applying InputClass "libinput pointer catchall"
[    28.200] (II) Using input driver 'libinput' for 'Logitech Wireless Mouse PID:4038'
[    28.200] (**) Logitech Wireless Mouse PID:4038: always reports core events
[    28.200] (**) Option "Device" "/dev/input/event6"
[    28.200] (**) Option "_source" "server/udev"
[    28.201] (II) event6  - Logitech Wireless Mouse PID:4038: is tagged by udev as: Mouse
[    28.201] (II) event6  - Logitech Wireless Mouse PID:4038: device is a pointer
[    28.201] (II) event6  - Logitech Wireless Mouse PID:4038: device removed
[    28.261] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C534.0002/0003:046D:4038.0004/input/input24/event6"
[    28.261] (II) XINPUT: Adding extended input device "Logitech Wireless Mouse PID:4038" (type: MOUSE, id 13)
[    28.261] (**) Option "AccelerationScheme" "none"
[    28.261] (**) Logitech Wireless Mouse PID:4038: (accel) selected scheme none/0
[    28.261] (**) Logitech Wireless Mouse PID:4038: (accel) acceleration factor: 2.000
[    28.261] (**) Logitech Wireless Mouse PID:4038: (accel) acceleration threshold: 4
[    28.262] (II) event6  - Logitech Wireless Mouse PID:4038: is tagged by udev as: Mouse
[    28.263] (II) event6  - Logitech Wireless Mouse PID:4038: device is a pointer
[    28.263] (II) config/udev: Adding input device Logitech Wireless Mouse PID:4038 (/dev/input/mouse0)
[    28.263] (II) No input driver specified, ignoring this device.
[    28.263] (II) This device may have been added with another device file.
[    28.264] (II) config/udev: Adding input device SYNA2393:00 06CB:7A13 Touchpad (/dev/input/event21)
[    28.264] (**) SYNA2393:00 06CB:7A13 Touchpad: Applying InputClass "libinput touchpad catchall"
[    28.264] (**) SYNA2393:00 06CB:7A13 Touchpad: Applying InputClass "MyTouchPad"
[    28.264] (II) Using input driver 'libinput' for 'SYNA2393:00 06CB:7A13 Touchpad'
[    28.264] (**) SYNA2393:00 06CB:7A13 Touchpad: always reports core events
[    28.264] (**) Option "Device" "/dev/input/event21"
[    28.264] (**) Option "_source" "server/udev"
[    28.374] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: is tagged by udev as: Touchpad
[    28.377] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: device is a touchpad
[    28.377] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: device removed
[    28.434] (**) Option "Tapping" "on"
[    28.434] (**) Option "NaturalScrolling" "off"
[    28.434] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-10/i2c-SYNA2393:00/0018:06CB:7A13.0005/input/input43/event21"
[    28.435] (II) XINPUT: Adding extended input device "SYNA2393:00 06CB:7A13 Touchpad" (type: TOUCHPAD, id 14)
[    28.437] (**) Option "AccelerationScheme" "none"
[    28.437] (**) SYNA2393:00 06CB:7A13 Touchpad: (accel) selected scheme none/0
[    28.437] (**) SYNA2393:00 06CB:7A13 Touchpad: (accel) acceleration factor: 2.000
[    28.437] (**) SYNA2393:00 06CB:7A13 Touchpad: (accel) acceleration threshold: 4
[    28.441] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: is tagged by udev as: Touchpad
[    28.444] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: device is a touchpad
[    28.446] (II) config/udev: Adding input device SYNA2393:00 06CB:7A13 Touchpad (/dev/input/mouse2)
[    28.446] (**) SYNA2393:00 06CB:7A13 Touchpad: Applying InputClass "MyTouchPad"
[    28.446] (II) Using input driver 'libinput' for 'SYNA2393:00 06CB:7A13 Touchpad'
[    28.446] (**) SYNA2393:00 06CB:7A13 Touchpad: always reports core events
[    28.446] (**) Option "Device" "/dev/input/mouse2"
[    28.446] (**) Option "_source" "server/udev"
[    28.487] (II) mouse2  - failed to create input device '/dev/input/mouse2'.
[    28.487] (EE) libinput: SYNA2393:00 06CB:7A13 Touchpad: Failed to create a device for /dev/input/mouse2
[    28.487] (EE) PreInit returned 2 for "SYNA2393:00 06CB:7A13 Touchpad"
[    28.487] (II) UnloadModule: "libinput"
[    28.488] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event15)
[    28.488] (II) No input driver specified, ignoring this device.
[    28.488] (II) This device may have been added with another device file.
[    28.489] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event16)
[    28.489] (II) No input driver specified, ignoring this device.
[    28.489] (II) This device may have been added with another device file.
[    28.490] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event17)
[    28.490] (II) No input driver specified, ignoring this device.
[    28.490] (II) This device may have been added with another device file.
[    28.491] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event18)
[    28.491] (II) No input driver specified, ignoring this device.
[    28.491] (II) This device may have been added with another device file.
[    28.492] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event19)
[    28.492] (II) No input driver specified, ignoring this device.
[    28.492] (II) This device may have been added with another device file.
[    28.493] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event20)
[    28.493] (II) No input driver specified, ignoring this device.
[    28.493] (II) This device may have been added with another device file.
[    28.494] (II) config/udev: Adding input device Intel HID events (/dev/input/event7)
[    28.494] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[    28.494] (**) Intel HID events: Applying InputClass "system-keyboard"
[    28.494] (II) Using input driver 'libinput' for 'Intel HID events'
[    28.494] (**) Intel HID events: always reports core events
[    28.494] (**) Option "Device" "/dev/input/event7"
[    28.494] (**) Option "_source" "server/udev"
[    28.496] (II) event7  - Intel HID events: is tagged by udev as: Keyboard
[    28.496] (II) event7  - Intel HID events: device is a keyboard
[    28.496] (II) event7  - Intel HID events: device removed
[    28.527] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input25/event7"
[    28.527] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 15)
[    28.527] (**) Option "xkb_layout" "fr"
[    28.529] (II) event7  - Intel HID events: is tagged by udev as: Keyboard
[    28.530] (II) event7  - Intel HID events: device is a keyboard
[    28.531] (II) config/udev: Adding input device Intel HID 5 button array (/dev/input/event8)
[    28.531] (**) Intel HID 5 button array: Applying InputClass "libinput keyboard catchall"
[    28.531] (**) Intel HID 5 button array: Applying InputClass "system-keyboard"
[    28.531] (II) Using input driver 'libinput' for 'Intel HID 5 button array'
[    28.531] (**) Intel HID 5 button array: always reports core events
[    28.531] (**) Option "Device" "/dev/input/event8"
[    28.531] (**) Option "_source" "server/udev"
[    28.532] (II) event8  - Intel HID 5 button array: is tagged by udev as: Keyboard
[    28.532] (II) event8  - Intel HID 5 button array: device is a keyboard
[    28.533] (II) event8  - Intel HID 5 button array: device removed
[    28.567] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input26/event8"
[    28.567] (II) XINPUT: Adding extended input device "Intel HID 5 button array" (type: KEYBOARD, id 16)
[    28.567] (**) Option "xkb_layout" "fr"
[    28.569] (II) event8  - Intel HID 5 button array: is tagged by udev as: Keyboard
[    28.570] (II) event8  - Intel HID 5 button array: device is a keyboard
[    28.571] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event11)
[    28.571] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    28.571] (**) Dell WMI hotkeys: Applying InputClass "system-keyboard"
[    28.571] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[    28.571] (**) Dell WMI hotkeys: always reports core events
[    28.571] (**) Option "Device" "/dev/input/event11"
[    28.571] (**) Option "_source" "server/udev"
[    28.574] (II) event11 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[    28.574] (II) event11 - Dell WMI hotkeys: device is a keyboard
[    28.574] (II) event11 - Dell WMI hotkeys: device removed
[    28.647] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:05/wmi_bus/wmi_bus-PNP0C14:05/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input30/event11"
[    28.647] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 17)
[    28.647] (**) Option "xkb_layout" "fr"
[    28.651] (II) event11 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[    28.651] (II) event11 - Dell WMI hotkeys: device is a keyboard
[    28.652] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    28.652] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    28.652] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[    28.652] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    28.652] (**) AT Translated Set 2 keyboard: always reports core events
[    28.652] (**) Option "Device" "/dev/input/event4"
[    28.653] (**) Option "_source" "server/udev"
[    28.655] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    28.655] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    28.656] (II) event4  - AT Translated Set 2 keyboard: device removed
[    28.687] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    28.687] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 18)
[    28.687] (**) Option "xkb_layout" "fr"
[    28.690] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    28.690] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    28.693] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event12)
[    28.693] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    28.693] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "MyTouchPad"
[    28.693] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    28.693] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    28.693] (**) Option "Device" "/dev/input/event12"
[    28.693] (**) Option "_source" "server/udev"
[    28.694] (II) event12 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    28.694] (II) event12 - SynPS/2 Synaptics TouchPad: no resolution or size hints, assuming a size of 69x50mm
[    28.694] (II) event12 - SynPS/2 Synaptics TouchPad: device is a touchpad
[    28.694] (II) event12 - SynPS/2 Synaptics TouchPad: device removed
[    28.754] (**) Option "Tapping" "on"
[    28.754] (**) Option "NaturalScrolling" "off"
[    28.754] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input28/event12"
[    28.754] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 19)
[    28.755] (**) Option "AccelerationScheme" "none"
[    28.755] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    28.755] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    28.755] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    28.756] (II) event12 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    28.757] (II) event12 - SynPS/2 Synaptics TouchPad: no resolution or size hints, assuming a size of 69x50mm
[    28.758] (II) event12 - SynPS/2 Synaptics TouchPad: device is a touchpad
[    28.759] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[    28.759] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "MyTouchPad"
[    28.759] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    28.759] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    28.759] (**) Option "Device" "/dev/input/mouse1"
[    28.759] (**) Option "_source" "server/udev"
[    28.821] (II) mouse1  - failed to create input device '/dev/input/mouse1'.
[    28.821] (EE) libinput: SynPS/2 Synaptics TouchPad: Failed to create a device for /dev/input/mouse1
[    28.821] (EE) PreInit returned 2 for "SynPS/2 Synaptics TouchPad"
[    28.821] (II) UnloadModule: "libinput"
[    28.822] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[    28.822] (II) No input driver specified, ignoring this device.
[    28.822] (II) This device may have been added with another device file.
[    28.873] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "libinput keyboard catchall"
[    28.873] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "system-keyboard"
[    28.873] (II) Using input driver 'libinput' for 'Logitech Wireless Keyboard PID:4023'
[    28.873] (**) Logitech Wireless Keyboard PID:4023: always reports core events
[    28.873] (**) Option "Device" "/dev/input/event5"
[    28.873] (**) Option "_source" "_driver/libinput"
[    28.873] (II) libinput: Logitech Wireless Keyboard PID:4023: is a virtual subdevice
[    28.873] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input23/event5"
[    28.873] (II) XINPUT: Adding extended input device "Logitech Wireless Keyboard PID:4023" (type: KEYBOARD, id 20)
[    28.873] (**) Option "xkb_layout" "fr"
[    28.884] (EE) Failed to open authorization file "/var/run/sddm/{cd90d70c-1696-42a5-9f6d-db07fcc43273}": No such file or directory
[    29.648] (II) intel(0): EDID vendor "SHP", prod id 5274
[    29.649] (II) intel(0): Printing DDC gathered Modelines:
[    29.649] (II) intel(0): Modeline "1920x1080"x0.0  142.52  1920 1968 2000 2080  1080 1083 1088 1142 -hsync -vsync (68.5 kHz eP)
[    29.697] (--) intel(0): HDMI max TMDS frequency 300000KHz
[    46.027] (II) event3  - Power Button: device removed
[    46.061] (II) event13 - Video Bus: device removed
[    46.114] (II) event14 - Video Bus: device removed
[    46.167] (II) event1  - Power Button: device removed
[    46.194] (II) event2  - Sleep Button: device removed
[    46.220] (II) event10 - Integrated_Webcam_HD: Integrate: device removed
[    46.274] (II) event6  - Logitech Wireless Mouse PID:4038: device removed
[    46.327] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: device removed
[    46.381] (II) event7  - Intel HID events: device removed
[    46.407] (II) event8  - Intel HID 5 button array: device removed
[    46.434] (II) event11 - Dell WMI hotkeys: device removed
[    46.487] (II) event4  - AT Translated Set 2 keyboard: device removed
[    46.514] (II) event12 - SynPS/2 Synaptics TouchPad: device removed
[    46.567] (II) event5  - Logitech Wireless Keyboard PID:4023: device removed
[    46.602] (II) AIGLX: Suspending AIGLX clients for VT switch
[   232.135] (II) AIGLX: Resuming AIGLX clients after VT switch
[   232.135] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   232.174] (II) intel(0): switch to mode 1920x1080@60.0 on DP3 using pipe 1, position (0, 0), rotation normal, reflection none
[   232.258] (--) intel(0): HDMI max TMDS frequency 300000KHz
[   232.292] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   232.292] (II) event3  - Power Button: device is a keyboard
[   232.294] (II) event13 - Video Bus: is tagged by udev as: Keyboard
[   232.294] (II) event13 - Video Bus: device is a keyboard
[   232.294] (II) event14 - Video Bus: is tagged by udev as: Keyboard
[   232.294] (II) event14 - Video Bus: device is a keyboard
[   232.295] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   232.295] (II) event1  - Power Button: device is a keyboard
[   232.295] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[   232.295] (II) event2  - Sleep Button: device is a keyboard
[   232.296] (II) event10 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[   232.296] (II) event10 - Integrated_Webcam_HD: Integrate: device is a keyboard
[   232.296] (II) event5  - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[   232.296] (II) event5  - Logitech Wireless Keyboard PID:4023: device is a keyboard
[   232.297] (II) event6  - Logitech Wireless Mouse PID:4038: is tagged by udev as: Mouse
[   232.297] (II) event6  - Logitech Wireless Mouse PID:4038: device is a pointer
[   232.406] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: is tagged by udev as: Touchpad
[   232.407] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: device is a touchpad
[   232.407] (II) event7  - Intel HID events: is tagged by udev as: Keyboard
[   232.407] (II) event7  - Intel HID events: device is a keyboard
[   232.408] (II) event8  - Intel HID 5 button array: is tagged by udev as: Keyboard
[   232.408] (II) event8  - Intel HID 5 button array: device is a keyboard
[   232.409] (II) event11 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[   232.409] (II) event11 - Dell WMI hotkeys: device is a keyboard
[   232.410] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   232.410] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   232.411] (II) event12 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   232.412] (II) event12 - SynPS/2 Synaptics TouchPad: no resolution or size hints, assuming a size of 69x50mm
[   232.412] (II) event12 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   241.537] (II) event3  - Power Button: device removed
[   241.567] (II) event13 - Video Bus: device removed
[   241.634] (II) event14 - Video Bus: device removed
[   241.687] (II) event1  - Power Button: device removed
[   241.714] (II) event2  - Sleep Button: device removed
[   241.741] (II) event10 - Integrated_Webcam_HD: Integrate: device removed
[   241.794] (II) event6  - Logitech Wireless Mouse PID:4038: device removed
[   241.847] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: device removed
[   241.901] (II) event7  - Intel HID events: device removed
[   241.927] (II) event8  - Intel HID 5 button array: device removed
[   241.954] (II) event11 - Dell WMI hotkeys: device removed
[   242.007] (II) event4  - AT Translated Set 2 keyboard: device removed
[   242.047] (II) event12 - SynPS/2 Synaptics TouchPad: device removed
[   242.114] (II) event5  - Logitech Wireless Keyboard PID:4023: device removed
[   242.141] (II) AIGLX: Suspending AIGLX clients for VT switch
[   245.074] (II) AIGLX: Resuming AIGLX clients after VT switch
[   245.074] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   245.127] (II) intel(0): switch to mode 1920x1080@60.0 on DP3 using pipe 1, position (0, 0), rotation normal, reflection none
[   245.212] (--) intel(0): HDMI max TMDS frequency 300000KHz
[   245.246] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   245.246] (II) event3  - Power Button: device is a keyboard
[   245.248] (II) event13 - Video Bus: is tagged by udev as: Keyboard
[   245.248] (II) event13 - Video Bus: device is a keyboard
[   245.249] (II) event14 - Video Bus: is tagged by udev as: Keyboard
[   245.249] (II) event14 - Video Bus: device is a keyboard
[   245.250] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   245.250] (II) event1  - Power Button: device is a keyboard
[   245.250] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[   245.250] (II) event2  - Sleep Button: device is a keyboard
[   245.251] (II) event10 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[   245.251] (II) event10 - Integrated_Webcam_HD: Integrate: device is a keyboard
[   245.252] (II) event5  - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[   245.252] (II) event5  - Logitech Wireless Keyboard PID:4023: device is a keyboard
[   245.253] (II) event6  - Logitech Wireless Mouse PID:4038: is tagged by udev as: Mouse
[   245.253] (II) event6  - Logitech Wireless Mouse PID:4038: device is a pointer
[   245.359] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: is tagged by udev as: Touchpad
[   245.360] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: device is a touchpad
[   245.361] (II) event7  - Intel HID events: is tagged by udev as: Keyboard
[   245.361] (II) event7  - Intel HID events: device is a keyboard
[   245.362] (II) event8  - Intel HID 5 button array: is tagged by udev as: Keyboard
[   245.362] (II) event8  - Intel HID 5 button array: device is a keyboard
[   245.363] (II) event11 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[   245.363] (II) event11 - Dell WMI hotkeys: device is a keyboard
[   245.364] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   245.364] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   245.366] (II) event12 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   245.366] (II) event12 - SynPS/2 Synaptics TouchPad: no resolution or size hints, assuming a size of 69x50mm
[   245.367] (II) event12 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   253.583] (II) event3  - Power Button: device removed
[   253.607] (II) event13 - Video Bus: device removed
[   253.674] (II) event14 - Video Bus: device removed
[   253.727] (II) event1  - Power Button: device removed
[   253.754] (II) event2  - Sleep Button: device removed
[   253.781] (II) event10 - Integrated_Webcam_HD: Integrate: device removed
[   253.834] (II) event6  - Logitech Wireless Mouse PID:4038: device removed
[   253.887] (II) event21 - SYNA2393:00 06CB:7A13 Touchpad: device removed
[   253.941] (II) event7  - Intel HID events: device removed
[   253.967] (II) event8  - Intel HID 5 button array: device removed
[   253.994] (II) event11 - Dell WMI hotkeys: device removed
[   254.047] (II) event4  - AT Translated Set 2 keyboard: device removed
[   254.074] (II) event12 - SynPS/2 Synaptics TouchPad: device removed
[   254.127] (II) event5  - Logitech Wireless Keyboard PID:4023: device removed
[   254.154] (II) AIGLX: Suspending AIGLX clients for VT switch

I noticed having lots of DRM kernel issues such as:

kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=2566 end=2567) time 298 us, min 1073

with sudo journalctl -a

there are the Xorg.8.log logs:

[   128.928] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   128.928] Build Operating System: Linux Arch Linux
[   128.928] Current Operating System: Linux yoarch 4.20.13-arch1-1-ARCH #1 SMP PREEMPT Wed Feb 27 19:10:28 UTC 2019 x86_64
[   128.928] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/lvmsysvg-system rw cryptdevice=UUID=1da26dcf-b289-4f23-b5f2-a455211d032e:lvmsystemvg quiet acpi_backlight=vendor mem_sleep_default=deep video=HDMI-A-1:1920x1080@60:D
[   128.928] Build Date: 27 February 2019  04:04:00PM
[   128.928]  
[   128.928] Current version of pixman: 0.38.0
[   128.928] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   128.928] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   128.928] (==) Log file: "/var/log/Xorg.8.log", Time: Sat Mar 16 16:19:53 2019
[   128.929] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[   128.929] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[   128.929] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   128.929] (==) ServerLayout "Layout0"
[   128.929] (==) No screen section available. Using defaults.
[   128.929] (**) |-->Screen "Default Screen Section" (0)
[   128.929] (**) |   |-->Monitor "<default monitor>"
[   128.930] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   128.930] (**) |   |-->Device "DiscreteNvidia"
[   128.930] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   128.930] (**) Option "AutoAddDevices" "false"
[   128.930] (**) Option "AutoAddGPU" "false"
[   128.930] (**) Not automatically adding devices
[   128.930] (==) Automatically enabling devices
[   128.930] (**) Not automatically adding GPU devices
[   128.930] (==) Automatically binding GPU devices
[   128.930] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   128.930] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   128.930] 	Entry deleted from font path.
[   128.930] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   128.930] 	Entry deleted from font path.
[   128.930] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   128.930] 	Entry deleted from font path.
[   128.930] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   128.930] 	Entry deleted from font path.
[   128.930] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[   128.930] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[   128.930] (==) |-->Input Device "<default pointer>"
[   128.930] (==) |-->Input Device "<default keyboard>"
[   128.930] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[   128.930] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[   128.930] (II) Module ABI versions:
[   128.930] 	X.Org ANSI C Emulation: 0.4
[   128.930] 	X.Org Video Driver: 24.0
[   128.930] 	X.Org XInput driver : 24.1
[   128.930] 	X.Org Server Extension : 10.0
[   128.930] (--) using VT number 1

[   128.930] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   128.931] (II) xfree86: Adding drm device (/dev/dri/card0)
[   128.931] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[   128.934] (--) PCI:*(1@0:0:0) 10de:1c8c:0000:0000 rev 161, Mem @ 0xec000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[   128.934] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   128.934] (II) LoadModule: "glx"
[   128.935] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   128.936] (II) Module glx: vendor="X.Org Foundation"
[   128.936] 	compiled for 1.20.4, module version = 1.0.0
[   128.936] 	ABI class: X.Org Server Extension, version 10.0
[   128.936] (II) LoadModule: "nvidia"
[   128.936] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   128.942] (II) Module nvidia: vendor="NVIDIA Corporation"
[   128.942] 	compiled for 4.0.2, module version = 1.0.0
[   128.942] 	Module class: X.Org Video Driver
[   128.943] (II) LoadModule: "mouse"
[   128.943] (WW) Warning, couldn't open module mouse
[   128.943] (EE) Failed to load module "mouse" (module does not exist, 0)
[   128.943] (II) LoadModule: "kbd"
[   128.943] (WW) Warning, couldn't open module kbd
[   128.943] (EE) Failed to load module "kbd" (module does not exist, 0)
[   128.944] (II) NVIDIA dlloader X Driver  418.43  Tue Feb 19 01:07:27 CST 2019
[   128.944] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   128.945] (II) Loading sub module "fb"
[   128.945] (II) LoadModule: "fb"
[   128.945] (II) Loading /usr/lib/xorg/modules/libfb.so
[   128.947] (II) Module fb: vendor="X.Org Foundation"
[   128.947] 	compiled for 1.20.4, module version = 1.0.0
[   128.947] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   128.947] (II) Loading sub module "wfb"
[   128.947] (II) LoadModule: "wfb"
[   128.947] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   128.948] (II) Module wfb: vendor="X.Org Foundation"
[   128.948] 	compiled for 1.20.4, module version = 1.0.0
[   128.948] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   128.948] (II) Loading sub module "ramdac"
[   128.948] (II) LoadModule: "ramdac"
[   128.948] (II) Module "ramdac" already built-in
[   128.950] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   128.950] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   128.950] (==) NVIDIA(0): RGB weight 888
[   128.950] (==) NVIDIA(0): Default visual is TrueColor
[   128.950] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   128.950] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[   128.950] (**) NVIDIA(0): Option "UseEDID" "false"
[   128.950] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[   128.950] (**) NVIDIA(0): Enabling 2D acceleration
[   128.950] (**) NVIDIA(0): Ignoring EDIDs
[   128.950] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[   128.950] (**) NVIDIA(0):     mode
[   128.950] (II) Loading sub module "glxserver_nvidia"
[   128.950] (II) LoadModule: "glxserver_nvidia"
[   128.950] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   128.984] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   128.984] 	compiled for 4.0.2, module version = 1.0.0
[   128.984] 	Module class: X.Org Server Extension
[   128.985] (II) NVIDIA GLX Module  418.43  Tue Feb 19 01:05:57 CST 2019
[   129.169] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 Ti (GP107-A) at PCI:1:0:0 (GPU-0)
[   129.169] (--) NVIDIA(0): Memory: 4194304 kBytes
[   129.169] (--) NVIDIA(0): VideoBIOS: 86.07.63.00.6d
[   129.169] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   129.169] (II) NVIDIA(0): Validated MetaModes:
[   129.169] (II) NVIDIA(0):     "NULL"
[   129.169] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   129.169] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   129.169] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   129.170] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[   129.170] (II) NVIDIA:     access.
[   129.174] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   129.174] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   129.174] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   129.174] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   129.174] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   129.174] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   129.174] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   129.174] (II) NVIDIA(0):     Config Options in the README.
[   129.190] (II) NVIDIA(0): Setting mode "NULL"
[   129.193] (==) NVIDIA(0): Disabling shared memory pixmaps
[   129.193] (==) NVIDIA(0): Backing store enabled
[   129.193] (==) NVIDIA(0): Silken mouse disabled
[   129.193] (==) NVIDIA(0): DPMS enabled
[   129.194] (WW) NVIDIA(0): Option "NoLogo" is not used
[   129.194] (II) Loading sub module "dri2"
[   129.194] (II) LoadModule: "dri2"
[   129.194] (II) Module "dri2" already built-in
[   129.194] (II) NVIDIA(0): [DRI2] Setup complete
[   129.194] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   129.194] (II) Initializing extension Generic Event Extension
[   129.194] (II) Initializing extension SHAPE
[   129.194] (II) Initializing extension MIT-SHM
[   129.194] (II) Initializing extension XInputExtension
[   129.194] (II) Initializing extension XTEST
[   129.194] (II) Initializing extension BIG-REQUESTS
[   129.194] (II) Initializing extension SYNC
[   129.194] (II) Initializing extension XKEYBOARD
[   129.194] (II) Initializing extension XC-MISC
[   129.194] (II) Initializing extension SECURITY
[   129.194] (II) Initializing extension XFIXES
[   129.194] (II) Initializing extension RENDER
[   129.194] (II) Initializing extension RANDR
[   129.195] (II) Initializing extension COMPOSITE
[   129.195] (II) Initializing extension DAMAGE
[   129.195] (II) Initializing extension MIT-SCREEN-SAVER
[   129.195] (II) Initializing extension DOUBLE-BUFFER
[   129.195] (II) Initializing extension RECORD
[   129.195] (II) Initializing extension DPMS
[   129.195] (II) Initializing extension Present
[   129.195] (II) Initializing extension DRI3
[   129.195] (II) Initializing extension X-Resource
[   129.195] (II) Initializing extension XVideo
[   129.195] (II) Initializing extension XVideo-MotionCompensation
[   129.195] (II) Initializing extension GLX
[   129.195] (II) Initializing extension GLX
[   129.195] (II) Indirect GLX disabled.
[   129.195] (II) GLX: Another vendor is already registered for screen 0
[   129.195] (II) Initializing extension XFree86-VidModeExtension
[   129.195] (II) Initializing extension XFree86-DGA
[   129.195] (II) Initializing extension XFree86-DRI
[   129.195] (II) Initializing extension DRI2
[   129.195] (II) Initializing extension NV-GLX
[   129.196] (II) Initializing extension NV-CONTROL
[   129.236] (II) LoadModule: "mouse"
[   129.236] (WW) Warning, couldn't open module mouse
[   129.236] (EE) Failed to load module "mouse" (module does not exist, 0)
[   129.236] (EE) No input driver matching `mouse'
[   129.236] (II) Falling back to input driver `libinput'
[   129.236] (II) LoadModule: "libinput"
[   129.236] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   129.237] (II) Module libinput: vendor="X.Org Foundation"
[   129.237] 	compiled for 1.20.3, module version = 0.28.2
[   129.237] 	Module class: X.Org XInput Driver
[   129.237] 	ABI class: X.Org XInput driver, version 24.1
[   129.237] (II) Using input driver 'libinput' for '<default pointer>'
[   129.237] (**) Option "CorePointer" "on"
[   129.237] (**) <default pointer>: always reports core events
[   129.237] (EE) PreInit returned 2 for "<default pointer>"
[   129.237] (II) UnloadModule: "libinput"
[   129.237] (II) LoadModule: "kbd"
[   129.237] (WW) Warning, couldn't open module kbd
[   129.237] (EE) Failed to load module "kbd" (module does not exist, 0)
[   129.237] (EE) No input driver matching `kbd'
[   129.237] (II) Falling back to input driver `libinput'
[   129.237] (II) Using input driver 'libinput' for '<default keyboard>'
[   129.237] (**) Option "CoreKeyboard" "on"
[   129.237] (**) <default keyboard>: always reports core events
[   129.237] (EE) PreInit returned 2 for "<default keyboard>"
[   129.237] (II) UnloadModule: "libinput"
[   129.243] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   129.243] (II) AutoAddDevices is off - not adding device.
[   129.243] (II) config/udev: Adding input device Video Bus (/dev/input/event14)
[   129.243] (II) AutoAddDevices is off - not adding device.
[   129.243] (II) config/udev: Adding input device Video Bus (/dev/input/event15)
[   129.243] (II) AutoAddDevices is off - not adding device.
[   129.243] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   129.243] (II) AutoAddDevices is off - not adding device.
[   129.244] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   129.244] (II) AutoAddDevices is off - not adding device.
[   129.244] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   129.244] (II) AutoAddDevices is off - not adding device.
[   129.244] (II) config/udev: Adding drm device (/dev/dri/card0)
[   129.244] (II) xfree86: Adding drm device (/dev/dri/card0)
[   129.244] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[   129.244] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event5)
[   129.244] (II) AutoAddDevices is off - not adding device.
[   129.245] (II) config/udev: Adding input device Logitech USB Receiver Mouse (/dev/input/event6)
[   129.245] (II) AutoAddDevices is off - not adding device.
[   129.245] (II) config/udev: Adding input device Logitech USB Receiver Mouse (/dev/input/mouse0)
[   129.245] (II) AutoAddDevices is off - not adding device.
[   129.245] (II) config/udev: Adding input device Logitech USB Receiver Consumer Control (/dev/input/event7)
[   129.245] (II) AutoAddDevices is off - not adding device.
[   129.245] (II) config/udev: Adding input device Logitech USB Receiver System Control (/dev/input/event8)
[   129.245] (II) AutoAddDevices is off - not adding device.
[   129.246] (II) config/udev: Adding input device SYNA2393:00 06CB:7A13 Touchpad (/dev/input/event16)
[   129.246] (II) AutoAddDevices is off - not adding device.
[   129.246] (II) config/udev: Adding input device SYNA2393:00 06CB:7A13 Touchpad (/dev/input/mouse2)
[   129.246] (II) AutoAddDevices is off - not adding device.
[   129.246] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event18)
[   129.246] (II) AutoAddDevices is off - not adding device.
[   129.246] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event19)
[   129.246] (II) AutoAddDevices is off - not adding device.
[   129.247] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event20)
[   129.247] (II) AutoAddDevices is off - not adding device.
[   129.247] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event21)
[   129.247] (II) AutoAddDevices is off - not adding device.
[   129.247] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event22)
[   129.247] (II) AutoAddDevices is off - not adding device.
[   129.247] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event23)
[   129.247] (II) AutoAddDevices is off - not adding device.
[   129.247] (II) config/udev: Adding input device Intel HID events (/dev/input/event9)
[   129.247] (II) AutoAddDevices is off - not adding device.
[   129.247] (II) config/udev: Adding input device Intel HID 5 button array (/dev/input/event10)
[   129.247] (II) AutoAddDevices is off - not adding device.
[   129.248] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event12)
[   129.248] (II) AutoAddDevices is off - not adding device.
[   129.248] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[   129.248] (II) AutoAddDevices is off - not adding device.
[   129.248] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event13)
[   129.248] (II) AutoAddDevices is off - not adding device.
[   129.248] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[   129.248] (II) AutoAddDevices is off - not adding device.
[   129.248] (II) config/udev: Adding input device PC Speaker (/dev/input/event11)
[   129.248] (II) AutoAddDevices is off - not adding device.
[   222.493] (II) NVIDIA(GPU-0): Deleting GPU-0
[   222.493] (II) Server terminated successfully (0). Closing log file.

For the DRM kernel module issues, I followed this archwiki:
https://wiki.archlinux.org/index.php/In … re_loading

I have the impression that I get less issues with DRM, but the issue is still here.


Others observations, the Xorg started process is:

/usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.tmwqehBih1

Is it normal? Are the parameters what they are supposed to be?

Also, the problem might come from the kernel, there are the parameters I pass to the kernel:

Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/lvmsysvg-system rw cryptdevice=UUID=1da26dcf-b289-4f23-b5f2-a455211d032e:lvmsystemvg quiet acpi_backlight=vendor mem_sleep_default=deep video=HDMI-A-1:1920x1080@60:D

I can test anything, please don't hesitate make me suggestions.

Thanks a lot for your time.

Last edited by Yann (2019-09-10 21:27:15)


all different - all equal

Offline

#14 2019-09-11 08:48:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Yes you are not supposed to be able to use these commands with sudo plainly like that, they will not have the dbus session of your user available, nor the X environment of your users xorg server. In case this is actually relevant, you should not try to sledgehammer problems by prepending sudo to commands willy nilly, that will often not lead to success. Are you trying to run the standard anydesk client as root despite not needing to? Then just don't and this also would explain your issues.

I'm not familiar with anydesk, but e.g. in the case of teamviewer there is a systemd service for starting the background daemon, once that is started the actual teamspeaker client has to be launched as your normal user..

FWIW from your user after logging in, what are the outputs of

printenv
anydesk #Again not familiar, what exactly are you starting here?

The DRM issues are also a known bug/misbehaviour with xf86-video-intel, removing it might help here, this will make xorg fallback to the generic modesetting driver. Xorg started process looks fine

Offline

#15 2019-09-11 12:22:24

Yann
Member
Registered: 2017-11-23
Posts: 235

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

V1del wrote:

sudo plainly like that, they will not have the dbus session of your user available, nor the X environment of your users xorg server

Ok, that makes sens, thanks.

About anydesk, I run it as my user on my normal seesion, I precise that I can connect to another device from my system but I can not in the opposit way, e.g. I can connect to my android smartphone, but not the opposit.

I retried with starting the daemon before:

● anydesk.service - AnyDesk
● anydesk.service - AnyDesk
   Loaded: loaded (/usr/lib/systemd/system/anydesk.service; disabled; vendor preset: >
   Active: active (running) since Wed 2019-09-11 14:26:13 CEST; 35s ago
 Main PID: 18954 (anydesk)
    Tasks: 12
   Memory: 9.8M
   CGroup: /system.slice/anydesk.service
           ├─18954 /usr/bin/anydesk --service
           └─18959 /usr/bin/anydesk --tray

Sep 11 14:26:13 yoxpsarch systemd[1]: Started AnyDesk

no error but the connection issue is still here.

I have the impression that the DRM issues are solved by following the archwiki, I don't see these errors anymore.

$ printenv

I3BAR_FONT_SIZE=None
SHELL=/bin/bash
WINDOWID=46137353
I3_BAR=i3bar
QT_SCREEN_SCALE_FACTORS=1
CBLUEI3=#487FF4
CGREENI3=#33ff4a
COLORTERM=rxvt
CYELLOWI3=#f8ff00
GDK_DPI_SCALE=1.1
XDG_CONFIG_DIRS=/etc/xdg
I3BAR_BACKGROUND=#00000000
I3_BAR_MD_EXT=i3bar_md_ext
HISTCONTROL=ignoreboth:erasedups
ERROR=\e[1;38;5;196m[ERROR]\033[0m
POWER_I3BAR=true
CBYELLOWSH=\033[1;33m
LENGTH_DISPLAYED_SUBHEADLINES=62
SYS_UP_F=1
EDITOR_GRAPHIC=atom
I3BAR_DEVICE_FS_EXT_M_FREQ=30
I3_PATH=/home/yo/.config/i3
HISTSIZE=100000
AMBIENT_LIGHT_EXT_MIN=36
I3SOCK=/run/user/1000/i3/ipc-socket.1052
TMP_PATH=/var/tmp
I3_STARTUP=startup
INFO=\033[1;37m[INFO]\033[0m
MEM_UP_F=20
DISPLAY_NEW_WSSID=60
I3_S_CONFIG=config.s
XDG_DATA_HOME=/home/yo/.local/share
BAT_CRITICAL=20
XDG_CONFIG_HOME=/home/yo/.config
OK=\e[1;38;5;46m[OK]\033[0m
CBGREENSH=\e[1;38;5;46m
LOW_THREAD_TEMP=47
BRIGHTNESS_COEFF_B=-4.255
BRIGHTNESS_COEFF_A=0.695
BRIGHTNESS_NORMAL=60
EDITOR=vim
XDG_SEAT=seat0
PWD=/home/yo
LOGNAME=yo
XDG_SESSION_TYPE=x11
MIDDLE_THREAD_TEMP=68
BRIGHTNESS_EXT_M_MIN=0.8
I3_FILES=workspaces variables bindsyms i3bar i3bar_md_device i3bar_md_ext startup
I3BAR_EXT_FONT_SIZE=None
XAUTHORITY=/home/yo/.Xauthority
BW_UP_F=8
DESKTOP_STARTUP_ID=i3/urxvt/1052-18-yoxpsarch_TIME948184
DISK_DATA_LEFT_LOW=13
CBORANGESH=\e[1;38;5;202m
Y=\033[1;34m[Y]\033[0m
MIDDLE_THREAD_USAGE=50
BAT_UP_F=240
TERMINAL=urxvt
DPI_DEVICE=138
WINDOWPATH=1
DISKS_UP_F=1200
HOME=/home/yo
LENGTH_DISPLAYED_HEADLINES=78
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
I3_WORKSPACES=workspaces
CUSTOM_DISPLAY=true
NCSH=\033[0m
BRIGHTNESS_EXT_M_MAX=1.1
XCLIPNOTIFY=true
MULTI_DISPLAY=false
CBWHITESH=\033[1;37m
BAT_SHUTDOWN=12
NET_UP_F=10
CBGREYSH=\e[1;38;5;244m
AMBIENT_LIGHT_DEVICE_MAX=150
BRIGHTNESS_UP_F=480
DISK_OS_LEFT_LOW=14
BAT_LOW=34
X_STANDBYTIME=0
CBLACKI3=#000000
APP_MONO_D_DEVICE_SCALE=1.1
MHOME=/home/yo
HIGHT_THREAD_TEMP=89
XDG_SESSION_CLASS=user
WARNING=\e[1;38;5;202m[WARNING]\033[0m
TERM=rxvt
CGREY=\e[0;38;5;244m
HOME_IP=192.168.0.42
CBBLUESH=\033[1;34m
USER=yo
MONITORING=true
COLORFGBG=default;0
YMD=2019_09_11
MAX_CHAR_BY_LINES_GREP=300
AMBIENT_LIGHT_DEVICE_MIN=9
DISPLAY=:0
BRIGHTNESS_LOW=0.01
MONITOR_EXT1=eDP1
SHLVL=3
I3BAR_POSITION=top
CPU_UP_F=6
ETHERNET_INTERFACE=None
I3_DMENU_FONT_SIZE=18
CORANGEI3=#ff7f00
I3_BINDSYMS=bindsyms
BW_UP_LIMIT=100000
XDG_VTNR=1
DISK_OS_LEFT_CRITIC=6
WIFI_INTERFACE=wlp59s0
WIFI_STRENGTH_VAR_CHANGE=15
XDG_SESSION_ID=1
I3BAR_DEVICE_FONT_SIZE=15
BRIGHTNESS_VAR_CHANGE=11
CUSTOM_DISPLAY_MODE=xps
AMBIENT_LIGHT_EXT_MAX=140
HIGH_THREAD_USAGE=82
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
I3_CONFIG=config
XDG_RUNTIME_DIR=/run/user/1000
USB_DRIVE=false
DISK_DATA_LEFT_CRITIC=5
MY5_UP_F=600
XDG_DOCUMENTS_DIR=/home/yo/documents
URXVT_DEVICE_FONT_SIZE=9
CBPURPLESH=\e[1;38;5;93m
POWER_VAR_CHANGE=2
BAT_FULL=88
DEVICE_MODEL=XPS 15 9570
PERSO_PATHS_LOCAL=/home/yo /etc
XDG_DATA_DIRS=/usr/local/share:/usr/share
I3_BAR_MD_DEVICE=i3bar_md_device
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDK_SCALE=1
X_OFFTIME=240
HISTFILESIZE=100000
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
CBREDSH=\e[1;38;5;196m
IOT_UP_F=1200
MAIL=/var/spool/mail/yo
POWER_UP_F=6
BRIGHTNESS_STEP=3
CREDI3=#ff0000
BW_DOWN_LIMIT=500000
BAT_WARNING_NOTIFICATIONS=28
MONITORS_NB=1
X_SUSPENDTIME=180
MONITOR_DEVICE=eDP1
I3_VARIABLES=variables

_=/usr/bin/printenv

With your answer, I am facing another issue, how can I use a udev rule that is going to act on the x server? I mean, a udev rule is called as root, so no one of my rules rocks:
one of my rules:

KERNEL=="card0", SUBSYSTEM=="drm", ACTION=="change", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/yo/.Xauthority", RUN+="/bin/sh /usr/local/bin/hdmi.sh"

the /usr/local/bin/hdmi.sh is well called and every command in it is run as root. I think there are several solutions, what do you suggest?

Also, I can not get sddm to work, I think that might be related? Why do I get this black screen?

Thanks for your time.

Last edited by Yann (2019-09-11 12:29:56)


all different - all equal

Offline

#16 2020-03-27 20:32:42

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 591

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Just got stuck with the exactly same problem: Installed anydesk on my Arch desktop and Manjaro laptop. Manjaro is preconfigured somehow, Arch starts via xinitrc somehow (at least it starts directly into the desktop without asking me for my password, also no DM is installed). My .xinitrc is rather simple

#!/bin/bash

export XDG_SESSION_TYPE=x11
exec dbus-launch startxfce4

I have added the export line just now but it didn't solve the issue in my case as well.

Actually, Teamviewer versions newer than 12 also fail to work with a DE launched with a plain startx so I suspect the issue somewhere there. I wouldn't mind to install something like lightdm on my Arch machine but to be honest, since my Arch install is - I don't know, maybe 8 or 10 years old? - I completely forgot how I configured the startup process back than and don't really know how to switch to lightdm without breaking things. big_smile I guess, I got lazy and dumb since my main machine's Arch just runs smoothly and I got too comfortable with Manjaro on other machines...

Last edited by PhotonX (2020-03-27 20:33:57)


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#17 2020-03-27 20:58:40

seth
Member
Registered: 2012-09-03
Posts: 49,980

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Your xinitrc is broken, see https://wiki.archlinux.org/index.php/Xinit#xinitrc and pay attention to the second note.
Also don't use "dbus-launch", it's unsupported since ages.

I know nothing about anydesk, but if it's somehow checking the current seat, see https://wiki.archlinux.org/index.php/Xinit#xserverrc

Online

#18 2020-03-27 21:24:23

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 591

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Oh well, I'm not surprised about what you are saying. The install is very old and as people say, never touch a running system. The dbus-launch didn't lead to any noticeable problems so far, neither did the missing if block described in the wiki, and you don't usually check on your .xinitrc daily, right? smile

I corrected the two things you mentioned, hopefully things won't break on me now. If not, I will look into the xserverrc file, thanks for the hint!

edit: So the good news is that the new .xinitrc didn't break anything. The bad news is, the .xserverrc didn't solve the problem as well. Current .xinitrc and .xserverrc:

[photon@photon-desktop ~]$ cat .xinitrc 
#!/bin/bash

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec startxfce4

[photon@photon-desktop ~]$ cat .xserverrc 
#!/bin/sh

exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR

Last edited by PhotonX (2020-03-28 14:15:44)


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#19 2020-09-11 23:17:02

pepemopap
Member
Registered: 2020-09-11
Posts: 1

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Hi! Any progress here? I have the same problem. When log system with lightdm no problem to connect using anydesk. Howerver when use startx from tty anydesk cant connect with error "Remote display server is not supported". I have cloned all diff variables in lightdm session but problem persists. I dont know what anydesk is checking when connect, but one interesting thing is that if try to connect when no user is logged and lightdm is on screen the window for confirm connection appears in login screen.

Offline

#20 2020-09-16 11:31:29

erwor
Member
Registered: 2020-09-16
Posts: 1

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Hi guys, this might help:

Add "type=x11" to /etc/pam.d/system-login:

-session optional pam_systemd.so type=x11

https://aur.archlinux.org/packages/team … ent-764213

Offline

#21 2020-10-12 06:23:05

msvtck
Member
Registered: 2020-10-12
Posts: 1

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

I can confirm that this is working.

Offline

#22 2020-11-03 15:06:23

sinatosk
Member
Registered: 2010-11-28
Posts: 107

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

erwor wrote:

Hi guys, this might help:

Add "type=x11" to /etc/pam.d/system-login:

-session optional pam_systemd.so type=x11

https://aur.archlinux.org/packages/team … ent-764213

thanks, this works for me too

Offline

#23 2020-12-24 03:24:19

SmartManoj
Member
Registered: 2020-12-23
Posts: 1

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

V1del wrote:

What does your .xinitrc look like? Make sure it follow the recommended template that should (TM) set the session type iirc.

What are you using on Manjaro? If a display manager that will likely properly set the session type for you.

exec startxfce4

After did the above changes, works after reboot not logout.

Last edited by SmartManoj (2020-12-24 04:36:59)

Offline

#24 2021-02-13 21:45:29

devalan
Member
Registered: 2021-01-09
Posts: 1

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

erwor wrote:

Hi guys, this might help:

Add "type=x11" to /etc/pam.d/system-login:

-session optional pam_systemd.so type=x11

https://aur.archlinux.org/packages/team … ent-764213


just a quick restart and it worked for me

Offline

#25 2021-04-08 20:17:26

ltmpx
Member
Registered: 2021-03-03
Posts: 2

Re: [Xorg] remote control (anydesk), xrandr, notify-send issues with sudo

Hello,

I tried everything posted here, but without success, I can't have anydesk functional; I installed and ran archlinux with enlightenment, without login manager, everything is perfect but anydesk does not work; the moment I install xfce / kde / gnome, keeping the enlightenment, under xfce / kde / gnome it works without problems, but the moment I log out and log in enlightenment, ready, anydesk no longer works it crashes.
I also tried installing the entrance, but without success.
If you have any advice on what I could try, what I could do ....

Thank you.

PS
I just installed teamviewer 15 from AUR, and it is working perfectly!, but I do need anydesk for a number of reason.

27.04.21
I noticed that if I launch anydesk with a random number, anydesk with error message is launched, recipient that does not exist, and from the keyboard I can enter a real address, it connects, but no I have no control over the computer, nothing works neither mouse nor keyboard and I am forced to restart the computer. I have no idea why it doesn't work ....

Last edited by ltmpx (2021-04-27 17:21:08)

Offline

Board footer

Powered by FluxBB