Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]CDM + DWM setup
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
TheUltimateNewbie
n00b
n00b


Joined: 04 May 2018
Posts: 10

PostPosted: Fri May 04, 2018 3:41 pm    Post subject: [SOLVED]CDM + DWM setup Reply with quote

Hello everyone! I installed Gentoo yesterday on my computer and now i'm trying to setup CDM and DWM, i already installed Xorg (x11-base/xorg-x11, i need xrandr to fix my screen resolution), CDM (x11-misc/cdm) and DWM (x11-wm/dwm). The first thing i have done was configure CDM:
Code:

#!/bin/bash
#
# Example config file for cdm(1).
# Values set here is the default as in cdm(1).

# List of programs, commands with whitespaces should be quoted or escaped.
# If unset, all sessions in /etc/X11/Sessions or /usr/share/xsessions are
# offered as choices.
#
# (An example:)
# binlist=(
#   '~/.xsession'                    # Launch your X session,
#   '/bin/bash --login'              # or just execute your shell,
#   '/usr/bin/fbterm'                # or start a frame buffer console,
#   '/usr/bin/cdm ~/.submenu.cdmrc'  # or go to a submenu :)
# )
binlist=('~/.xinitrc' '/bin/bash --login')

# List all program display names, one-by-one matched with $binlist.
# Names with whitespaces should be quoted or escaped.
#
# (Continued example:)
# namelist=('X session' Console FBTerm 'Sub menu')
namelist=('DWM' 'Console')

# Type of the programs, one-by-one matched with $binlist.
# `C' for *C*onsole programs, which would be `exec'ed.
# `X' for *X* programs, which would be run with cdm-xlaunch(1).
#
# (Continued example:)
# flaglist=(X C C C)
flaglist=(X C)

# Style for the cdm dialog, which is printed with dialog(1).
# Default to unset, causing dialog(1) to use the system wide default.
# See /usr/share/doc/cdm/themes for some nice choices.
dialogrc=

# Index of the first item in the menu.
countfrom=0

# Set default display.
display=0

# Where should the first X tty be spawned?
# special value `keep' causes to run X in current tty.
xtty=7

# Should cdm(1) stick to the specified display?
locktty=no

# Use ConsoleKit for X session?
consolekit=no

# Timeout for waiting for X session to register with ConsoleKit.
cktimeout=30

# Additional arguments to pass to X server, which is usually called as:
#   /usr/bin/X :$display "${serverargs[@]}" vt$((xtty+display))
# Arguments with whitespaces should be quoted or escaped.
serverargs=(-nolisten tcp)

# Alternative method of calling startx(/setsid). Should only be set if cdm
# does not start X as expected (bash -x shows call to setsid startx, but for
# no apparent reason does not start X).
# Only provided in the hope it may be useful, not a guaranteed fix.
altstartx=no

# Destination for stdout and stderr output from startx.
startxlog=/var/log/cdm/startx


Then created the ~/xinitrc file for DWM:
Code:
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session dwm


Then i changed the /etc/conf.d/xdm to use CDM:
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 | kdm | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="cdm"


And to finish i added the XDM to the default init level. The result is the normal console login, after login CDM shows up, when i select DWM it backs to the console login, the console option works fine, but when i try to log as root CDM shows up.

I will leave here the CDM startx log:
Code:

xauth:  file /root/.serverauth.2887 does not exist


X.Org X Server 1.19.5
Release Date: 2017-10-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.16.5-1-ARCH x86_64 Gentoo
Current Operating System: Linux Gentoo 4.9.95-gentoo #2 SMP Thu May 3 12:27:58 -03 2018 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.95-gentoo root=/dev/sda4
Build Date: 02 May 2018  07:05:54PM
 
Current version of pixman: 0.34.0
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri May  4 10:40:37 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1024 768
xinit: Unable to run program "/root/.xinitrc": No such file or directory
Specify a program on the command line or make sure that /usr/bin
is in your path.

xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.


The Xorg log:
Code:

[    13.036]
X.Org X Server 1.19.5
Release Date: 2017-10-12
[    13.036] X Protocol Version 11, Revision 0
[    13.036] Build Operating System: Linux 4.16.5-1-ARCH x86_64 Gentoo
[    13.036] Current Operating System: Linux Gentoo 4.9.95-gentoo #2 SMP Thu May 3 12:27:58 -03 2018 x86_64
[    13.036] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.95-gentoo root=/dev/sda4
[    13.036] Build Date: 02 May 2018  07:05:54PM
[    13.036] 
[    13.036] Current version of pixman: 0.34.0
[    13.036]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    13.036] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    13.036] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May  4 10:40:37 2018
[    13.091] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    13.091] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    13.151] (==) No Layout section.  Using the first Screen section.
[    13.151] (==) No screen section available. Using defaults.
[    13.151] (**) |-->Screen "Default Screen Section" (0)
[    13.151] (**) |   |-->Monitor "<default monitor>"
[    13.151] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[    13.151] (==) Automatically adding devices
[    13.151] (==) Automatically enabling devices
[    13.151] (==) Automatically adding GPU devices
[    13.151] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    13.242] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[    13.242] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    13.242] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[    13.242] (II) Loader magic: 0x56460f103c60
[    13.242] (II) Module ABI versions:
[    13.242]    X.Org ANSI C Emulation: 0.4
[    13.242]    X.Org Video Driver: 23.0
[    13.242]    X.Org XInput driver : 24.1
[    13.242]    X.Org Server Extension : 10.0
[    13.242] (II) xfree86: Adding drm device (/dev/dri/card0)
[    13.242] (--) PCI:*(0:1:0:0) 10de:1244:0000:0000 rev 161, Mem @ 0xf4000000/33554432, 0xe0000000/134217728, 0xe8000000/67108864, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    13.242] (II) LoadModule: "glx"
[    13.243] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    13.428] (II) Module glx: vendor="X.Org Foundation"
[    13.428]    compiled for 1.19.5, module version = 1.0.0
[    13.428]    ABI class: X.Org Server Extension, version 10.0
[    13.428] (==) Matched nouveau as autoconfigured driver 0
[    13.428] (==) Matched nv as autoconfigured driver 1
[    13.428] (==) Matched nouveau as autoconfigured driver 2
[    13.428] (==) Matched nv as autoconfigured driver 3
[    13.428] (==) Matched modesetting as autoconfigured driver 4
[    13.428] (==) Matched fbdev as autoconfigured driver 5
[    13.428] (==) Matched vesa as autoconfigured driver 6
[    13.428] (==) Assigned the driver to the xf86ConfigLayout
[    13.428] (II) LoadModule: "nouveau"
[    13.436] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[    13.460] (II) Module nouveau: vendor="X.Org Foundation"
[    13.460]    compiled for 1.19.5, module version = 1.0.15
[    13.460]    Module class: X.Org Video Driver
[    13.460]    ABI class: X.Org Video Driver, version 23.0
[    13.460] (II) LoadModule: "nv"
[    13.482] (WW) Warning, couldn't open module nv
[    13.482] (II) UnloadModule: "nv"
[    13.482] (II) Unloading nv
[    13.482] (EE) Failed to load module "nv" (module does not exist, 0)
[    13.482] (II) LoadModule: "modesetting"
[    13.482] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    13.496] (II) Module modesetting: vendor="X.Org Foundation"
[    13.496]    compiled for 1.19.5, module version = 1.19.5
[    13.496]    Module class: X.Org Video Driver
[    13.496]    ABI class: X.Org Video Driver, version 23.0
[    13.496] (II) LoadModule: "fbdev"
[    13.496] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[    13.504] (II) Module fbdev: vendor="X.Org Foundation"
[    13.504]    compiled for 1.19.5, module version = 0.4.4
[    13.504]    Module class: X.Org Video Driver
[    13.504]    ABI class: X.Org Video Driver, version 23.0
[    13.504] (II) LoadModule: "vesa"
[    13.504] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[    13.515] (II) Module vesa: vendor="X.Org Foundation"
[    13.515]    compiled for 1.19.5, module version = 2.3.4
[    13.515]    Module class: X.Org Video Driver
[    13.515]    ABI class: X.Org Video Driver, version 23.0
[    13.515] (II) NOUVEAU driver
[    13.515] (II) NOUVEAU driver for NVIDIA chipset families :
[    13.515]    RIVA TNT        (NV04)
[    13.515]    RIVA TNT2       (NV05)
[    13.515]    GeForce 256     (NV10)
[    13.515]    GeForce 2       (NV11, NV15)
[    13.515]    GeForce 4MX     (NV17, NV18)
[    13.515]    GeForce 3       (NV20)
[    13.515]    GeForce 4Ti     (NV25, NV28)
[    13.515]    GeForce FX      (NV3x)
[    13.515]    GeForce 6       (NV4x)
[    13.515]    GeForce 7       (G7x)
[    13.515]    GeForce 8       (G8x)
[    13.515]    GeForce GTX 200 (NVA0)
[    13.515]    GeForce GTX 400 (NVC0)
[    13.515] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    13.515] (II) FBDEV: driver for framebuffer: fbdev
[    13.515] (II) VESA: driver for VESA chipsets: vesa
[    13.515] (++) using VT number 7

[    13.515] (II) [drm] nouveau interface version: 1.3.1
[    13.515] (WW) Falling back to old probe method for modesetting
[    13.515] (WW) Falling back to old probe method for fbdev
[    13.515] (II) Loading sub module "fbdevhw"
[    13.515] (II) LoadModule: "fbdevhw"
[    13.515] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    13.518] (II) Module fbdevhw: vendor="X.Org Foundation"
[    13.518]    compiled for 1.19.5, module version = 0.0.2
[    13.518]    ABI class: X.Org Video Driver, version 23.0
[    13.518] (WW) Falling back to old probe method for vesa
[    13.518] (II) Loading sub module "dri2"
[    13.518] (II) LoadModule: "dri2"
[    13.518] (II) Module "dri2" already built-in
[    13.518] (--) NOUVEAU(0): Chipset: "NVIDIA NVCF"
[    13.518] (II) NOUVEAU(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[    13.518] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[    13.518] (==) NOUVEAU(0): RGB weight 888
[    13.518] (==) NOUVEAU(0): Default visual is TrueColor
[    13.519] (==) NOUVEAU(0): Using HW cursor
[    13.519] (==) NOUVEAU(0): Allowed maximum DRI level 2.
[    13.519] (==) NOUVEAU(0): GLX sync to VBlank enabled.
[    13.519] (==) NOUVEAU(0): Page flipping enabled
[    13.519] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
[    13.519] (==) NOUVEAU(0): Page flipping synced to vblank by kernel.
[    13.519] (II) NOUVEAU(0): Initializing outputs ...
[    13.530] (II) NOUVEAU(0): Output DVI-I-1 has no monitor section
[    13.664] (II) NOUVEAU(0): Output DVI-I-2 has no monitor section
[    13.665] (II) NOUVEAU(0): Output HDMI-1 has no monitor section
[    13.665] (II) NOUVEAU(0): 3 crtcs needed for screen.
[    13.678] (II) NOUVEAU(0): Allocated crtc nr. 0 to this screen.
[    13.678] (II) NOUVEAU(0): Allocated crtc nr. 1 to this screen.
[    13.690] (II) NOUVEAU(0): EDID for output DVI-I-1
[    13.831] (II) NOUVEAU(0): EDID for output DVI-I-2
[    13.831] (II) NOUVEAU(0): Printing probed modes for output DVI-I-2
[    13.831] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    13.831] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    13.831] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    13.831] (II) NOUVEAU(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[    13.831] (II) NOUVEAU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    13.832] (II) NOUVEAU(0): EDID for output HDMI-1
[    13.832] (II) NOUVEAU(0): Output DVI-I-1 disconnected
[    13.832] (II) NOUVEAU(0): Output DVI-I-2 connected
[    13.832] (II) NOUVEAU(0): Output HDMI-1 disconnected
[    13.832] (II) NOUVEAU(0): Using exact sizes for initial modes
[    13.832] (II) NOUVEAU(0): Output DVI-I-2 using initial mode 1024x768 +0+0
[    13.832] (==) NOUVEAU(0): Using gamma correction (1.0, 1.0, 1.0)
[    13.832] (--) NOUVEAU(0): Virtual size is 1024x768 (pitch 0)
[    13.832] (**) NOUVEAU(0):  Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz
[    13.832] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    13.832] (**) NOUVEAU(0):  Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz
[    13.832] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    13.832] (**) NOUVEAU(0):  Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[    13.832] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    13.832] (**) NOUVEAU(0):  Driver mode "848x480": 33.8 MHz (scaled from 0.0 MHz), 31.0 kHz, 60.0 Hz
[    13.832] (II) NOUVEAU(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[    13.832] (**) NOUVEAU(0):  Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 59.9 Hz
[    13.832] (II) NOUVEAU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    13.832] (==) NOUVEAU(0): DPI set to (96, 96)
[    13.832] (II) Loading sub module "fb"
[    13.832] (II) LoadModule: "fb"
[    13.832] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    13.840] (II) Module fb: vendor="X.Org Foundation"
[    13.840]    compiled for 1.19.5, module version = 1.0.0
[    13.840]    ABI class: X.Org ANSI C Emulation, version 0.4
[    13.840] (II) Loading sub module "shadowfb"
[    13.840] (II) LoadModule: "shadowfb"
[    13.840] (II) Loading /usr/lib64/xorg/modules/libshadowfb.so
[    13.852] (II) Module shadowfb: vendor="X.Org Foundation"
[    13.852]    compiled for 1.19.5, module version = 1.0.0
[    13.852]    ABI class: X.Org ANSI C Emulation, version 0.4
[    13.852] (II) UnloadModule: "modesetting"
[    13.852] (II) Unloading modesetting
[    13.852] (II) UnloadModule: "fbdev"
[    13.852] (II) Unloading fbdev
[    13.852] (II) UnloadSubModule: "fbdevhw"
[    13.852] (II) Unloading fbdevhw
[    13.852] (II) UnloadModule: "vesa"
[    13.852] (II) Unloading vesa
[    13.852] (--) Depth 24 pixmap format is 32 bpp
[    13.874] (II) NOUVEAU(0): Channel setup complete.
[    13.895] (II) NOUVEAU(0): [COPY] async initialised.
[    13.897] (II) NOUVEAU(0): Hardware support for Present enabled
[    13.897] (II) NOUVEAU(0): [DRI2] Setup complete
[    13.897] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
[    13.897] (II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
[    13.897] (II) Loading sub module "exa"
[    13.897] (II) LoadModule: "exa"
[    13.897] (II) Loading /usr/lib64/xorg/modules/libexa.so
[    13.915] (II) Module exa: vendor="X.Org Foundation"
[    13.915]    compiled for 1.19.5, module version = 2.6.0
[    13.915]    ABI class: X.Org Video Driver, version 23.0
[    13.915] (II) EXA(0): Driver allocated offscreen pixmaps
[    13.915] (II) EXA(0): Driver registered support for the following operations:
[    13.915] (II)         Solid
[    13.915] (II)         Copy
[    13.915] (II)         Composite (RENDER acceleration)
[    13.915] (II)         UploadToScreen
[    13.915] (II)         DownloadFromScreen
[    13.915] (==) NOUVEAU(0): Backing store enabled
[    13.915] (==) NOUVEAU(0): Silken mouse enabled
[    13.916] (II) NOUVEAU(0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video.
[    13.916] (II) NOUVEAU(0): [XvMC] Extension initialized.
[    13.916] (==) NOUVEAU(0): DPMS enabled
[    13.916] (II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    13.916] (--) RandR disabled
[    15.257] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    15.257] (II) AIGLX: enabled GLX_ARB_create_context
[    15.257] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    15.257] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    15.257] (II) AIGLX: enabled GLX_INTEL_swap_event
[    15.257] (II) AIGLX: enabled GLX_SGI_swap_control
[    15.257] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    15.257] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    15.257] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    15.257] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    15.257] (II) AIGLX: Loaded and initialized nouveau
[    15.257] (II) GLX: Initialized DRI2 GL provider for screen 0
[    15.258] (II) NOUVEAU(0): NVEnterVT is called.
[    15.280] (II) NOUVEAU(0): Setting screen physical size to 270 x 203
[    15.281] resize called 1024 768
[    15.663] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    15.663] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    15.663] (II) LoadModule: "libinput"
[    15.663] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
[    15.712] (II) Module libinput: vendor="X.Org Foundation"
[    15.712]    compiled for 1.19.5, module version = 0.25.1
[    15.712]    Module class: X.Org XInput Driver
[    15.712]    ABI class: X.Org XInput driver, version 24.1
[    15.712] (II) Using input driver 'libinput' for 'Power Button'
[    15.712] (**) Power Button: always reports core events
[    15.712] (**) Option "Device" "/dev/input/event1"
[    15.712] (**) Option "_source" "server/udev"
[    15.712] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    15.712] (II) event1  - Power Button: device is a keyboard
[    15.712] (II) event1  - Power Button: device removed
[    15.726] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    15.726] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    15.726] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    15.726] (II) event1  - Power Button: device is a keyboard
[    15.726] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    15.726] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    15.726] (II) Using input driver 'libinput' for 'Power Button'
[    15.726] (**) Power Button: always reports core events
[    15.726] (**) Option "Device" "/dev/input/event0"
[    15.726] (**) Option "_source" "server/udev"
[    15.726] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    15.726] (II) event0  - Power Button: device is a keyboard
[    15.726] (II) event0  - Power Button: device removed
[    15.742] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    15.742] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    15.742] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    15.742] (II) event0  - Power Button: device is a keyboard
[    15.742] (II) config/udev: Adding input device MOSART Semi. 2.4G Keyboard Mouse (/dev/input/event2)
[    15.742] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput keyboard catchall"
[    15.742] (II) Using input driver 'libinput' for 'MOSART Semi. 2.4G Keyboard Mouse'
[    15.742] (**) MOSART Semi. 2.4G Keyboard Mouse: always reports core events
[    15.742] (**) Option "Device" "/dev/input/event2"
[    15.742] (**) Option "_source" "server/udev"
[    15.742] (II) event2  - MOSART Semi. 2.4G Keyboard Mouse: is tagged by udev as: Keyboard
[    15.742] (II) event2  - MOSART Semi. 2.4G Keyboard Mouse: device is a keyboard
[    15.742] (II) event2  - MOSART Semi. 2.4G Keyboard Mouse: device removed
[    15.758] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0/0003:062A:4101.0001/input/input2/event2"
[    15.758] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G Keyboard Mouse" (type: KEYBOARD, id 8)
[    15.758] (II) event2  - MOSART Semi. 2.4G Keyboard Mouse: is tagged by udev as: Keyboard
[    15.758] (II) event2  - MOSART Semi. 2.4G Keyboard Mouse: device is a keyboard
[    15.758] (II) config/udev: Adding input device MOSART Semi. 2.4G Keyboard Mouse (/dev/input/event3)
[    15.758] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput pointer catchall"
[    15.758] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput keyboard catchall"
[    15.758] (II) Using input driver 'libinput' for 'MOSART Semi. 2.4G Keyboard Mouse'
[    15.758] (**) MOSART Semi. 2.4G Keyboard Mouse: always reports core events
[    15.758] (**) Option "Device" "/dev/input/event3"
[    15.758] (**) Option "_source" "server/udev"
[    15.758] (II) event3  - MOSART Semi. 2.4G Keyboard Mouse: is tagged by udev as: Keyboard Mouse
[    15.758] (II) event3  - MOSART Semi. 2.4G Keyboard Mouse: device is a pointer
[    15.758] (II) event3  - MOSART Semi. 2.4G Keyboard Mouse: device is a keyboard
[    15.758] (II) event3  - MOSART Semi. 2.4G Keyboard Mouse: device removed
[    15.774] (II) libinput: MOSART Semi. 2.4G Keyboard Mouse: needs a virtual subdevice
[    15.774] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.1/0003:062A:4101.0002/input/input3/event3"
[    15.774] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G Keyboard Mouse" (type: MOUSE, id 9)
[    15.774] (**) Option "AccelerationScheme" "none"
[    15.774] (**) MOSART Semi. 2.4G Keyboard Mouse: (accel) selected scheme none/0
[    15.774] (**) MOSART Semi. 2.4G Keyboard Mouse: (accel) acceleration factor: 2.000
[    15.774] (**) MOSART Semi. 2.4G Keyboard Mouse: (accel) acceleration threshold: 4
[    15.774] (II) event3  - MOSART Semi. 2.4G Keyboard Mouse: is tagged by udev as: Keyboard Mouse
[    15.774] (II) event3  - MOSART Semi. 2.4G Keyboard Mouse: device is a pointer
[    15.774] (II) event3  - MOSART Semi. 2.4G Keyboard Mouse: device is a keyboard
[    15.774] (II) config/udev: Adding input device MOSART Semi. 2.4G Keyboard Mouse (/dev/input/mouse0)
[    15.774] (II) No input driver specified, ignoring this device.
[    15.774] (II) This device may have been added with another device file.
[    15.782] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput pointer catchall"
[    15.782] (**) MOSART Semi. 2.4G Keyboard Mouse: Applying InputClass "libinput keyboard catchall"
[    15.782] (II) Using input driver 'libinput' for 'MOSART Semi. 2.4G Keyboard Mouse'
[    15.782] (**) MOSART Semi. 2.4G Keyboard Mouse: always reports core events
[    15.782] (**) Option "Device" "/dev/input/event3"
[    15.782] (**) Option "_source" "_driver/libinput"
[    15.782] (II) libinput: MOSART Semi. 2.4G Keyboard Mouse: is a virtual subdevice
[    15.782] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.1/0003:062A:4101.0002/input/input3/event3"
[    15.782] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G Keyboard Mouse" (type: KEYBOARD, id 10)
[    15.801] (II) event1  - Power Button: device removed
[    15.819] (II) event0  - Power Button: device removed
[    15.835] (II) event2  - MOSART Semi. 2.4G Keyboard Mouse: device removed
[    15.851] (II) event3  - MOSART Semi. 2.4G Keyboard Mouse: device removed
[    15.867] (II) UnloadModule: "libinput"
[    15.867] (II) UnloadModule: "libinput"
[    15.867] (II) UnloadModule: "libinput"
[    15.867] (II) UnloadModule: "libinput"
[    15.867] (II) UnloadModule: "libinput"
[    15.897] (II) NOUVEAU(0): NVLeaveVT is called.
[    16.017] (II) Server terminated successfully (0). Closing log file.


Running both as user and root gives the same error.

Thanks and plz be patient, i have autism :( .


## EDIT ############################


Now when i boot CDM shows up as expected, but the other errors persist.


Error description:

BOOT --> CDM --> SELECT DWM --> ASK FOR LOGIN --> CDM AGAIN --> SELECT DWM --> ASK FOR LOGIN --> . . .


Last edited by TheUltimateNewbie on Sat May 05, 2018 12:01 am; edited 2 times in total
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri May 04, 2018 5:51 pm    Post subject: Reply with quote

What guide did you use to make the install?
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
TheUltimateNewbie
n00b
n00b


Joined: 04 May 2018
Posts: 10

PostPosted: Fri May 04, 2018 6:07 pm    Post subject: Reply with quote

gerard27 wrote:
What guide did you use to make the install?
Gerard.


Hello gerard27! Thanks for the reply, i used everything from the wiki:

Xorg:
https://wiki.gentoo.org/wiki/Xorg
https://wiki.gentoo.org/wiki/Xorg/Guide

CDM:
https://wiki.gentoo.org/wiki/Display_manager

DWM:
https://wiki.gentoo.org/wiki/Dwm

I also read this:
https://forums.gentoo.org/viewtopic-t-903770-start-0.html

Also, is my english understandable?
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri May 04, 2018 7:36 pm    Post subject: Reply with quote

I am not familiar with your choice of cdm or dwm.
But I noticed
Code:

# Use ConsoleKit for X session?
consolekit=no

this in your cdm config.
I think it should be yes because you'll be needing "seats".

Your English is fine,I'm not a native speaker either.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
TheUltimateNewbie
n00b
n00b


Joined: 04 May 2018
Posts: 10

PostPosted: Fri May 04, 2018 8:25 pm    Post subject: Reply with quote

gerard27 wrote:
I am not familiar with your choice of cdm or dwm.
But I noticed
Code:

# Use ConsoleKit for X session?
consolekit=no

this in your cdm config.
I think it should be yes because you'll be needing "seats".

Your English is fine,I'm not a native speaker either.
Gerard.


About the ConsoleKit, i already tried with yes, the bug was the same, according to some user in the Arch Linux forum which had problems with CDM too, disabling the ConsoleKit fixed for him. What i gonna try now is add the code on ~/xinitrc directly to startx and see what happens.

Asked about the english just because people always complain about it when i post in forums lol
Back to top
View user's profile Send private message
TheUltimateNewbie
n00b
n00b


Joined: 04 May 2018
Posts: 10

PostPosted: Fri May 04, 2018 8:57 pm    Post subject: Reply with quote

Ok, i did it! It was actually really obvious, in the CDM the binlist is the command to run corresponding to the namelist, '~/.xinitrc' --> 'DWM', but the ~/.xinitrc have ConsoleKit commands, what i did was change from '~/.xinitrc' to '/usr/bin/dwm'. I still do not understand why Xorg complied about the absence of the .xinitrc.

Now i'm thinking in write an entry for the CDM in the wiki, is it possible? I want to somehow help the community :)
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Sat May 05, 2018 10:29 am    Post subject: Reply with quote

Anybody can write on the Gentoo wiki. You just need to register an account. Thanks for sharing your knowledge with us!
Please also notice there's a nice article on the Arch Linux wiki that can be helpful to get started.
Back to top
View user's profile Send private message
TheUltimateNewbie
n00b
n00b


Joined: 04 May 2018
Posts: 10

PostPosted: Sun May 06, 2018 12:08 am    Post subject: Reply with quote

fturco wrote:
Anybody can write on the Gentoo wiki. You just need to register an account. Thanks for sharing your knowledge with us!
Please also notice there's a nice article on the Arch Linux wiki that can be helpful to get started.


Thanks, when i finish my environment i will try to write something helpful on the wiki, but now i'm trying to fix a compilation error on gaplessgrid DWM patch, i will probably make another post about it.

Also thanks to @gerard27 for the help!
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