You are not logged in.

#251 2012-09-14 20:44:58

Nepherte
Member
From: Belgium
Registered: 2008-09-09
Posts: 427
Website

Re: The Console Display Manager

Latest cdm-git now uses a new configuration file. It is up to you to adjust .pacnew configuration file with your own settings and rename it to /etc/cdmrc (or ˜/.cdmrc)

Last edited by Nepherte (2012-09-14 20:45:20)

Offline

#252 2012-09-14 21:25:54

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: The Console Display Manager

Yes, cdm-git.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#253 2012-09-15 08:50:25

Lennie
Member
From: Sweden
Registered: 2011-10-12
Posts: 146

Re: The Console Display Manager

I couldn't log in with the new cdm-git. I come to login screen, enter my username and password, and immediately I'm back to login screen, screen is cleared and it said login. I tried to login again and the same thing happened again.

I merged the pacnew file, the only difference was a comment about "# special value 'keep' causes to run X in current tty".

Hm, I'm trying to remember which version I used before, I think It was the link to a PKGBUILD at pastebin, that Adlai had posted in the comments. That version worked perfectly well. What could be the cause of the problem with this version?

Edit: My cdmrc

Last edited by Lennie (2012-09-15 09:00:06)

Offline

#254 2012-10-03 14:53:19

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 453
Website

Re: The Console Display Manager

I had the issue that when logging in through CDM to xmonad using a startup script I wrote (that just spawns the things I need on my desktop), it would start to load, fail, and end up at the login screen again.  Console login worked just fine.  After some googling, I found this thread, from which I adapted the solution by exchanging nohup in cdm-xlaunch with setsid (line 80), and now it's working again. Just in case anyone has a similar issue (or if anyone wants to fix this in the git version).

Last edited by lswest (2012-10-03 14:54:30)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#255 2012-11-17 09:18:59

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: The Console Display Manager

Hello,

I must have overlooked something when setting up cdm to start cinnamon. I encounter consolekit problems and my session is not active.

[orschiro@thinkpad ~]$ loginctl show-session $XDG_SESSION_ID
Id=1
Timestamp=Sat, 2012-11-17 10:06:57 CET
TimestampMonotonic=592196695
DefaultControlGroup=name=systemd:/user/orschiro/1
VTNr=1
TTY=tty1
Remote=no
Service=login
Leader=413
Audit=1
Type=tty
Class=user
Active=no
State=closing
KillProcesses=no
IdleHint=no
IdleSinceHint=1353143217009052
IdleSinceHintMonotonic=592060035
Name=orschiro
[orschiro@thinkpad ~]$ cat .cdmrc
#!/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 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")

# 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=("X session")

# 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)

# 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="default"

# 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=yes

# 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)
[orschiro@thinkpad ~]$ cat .xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

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

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

exec gnome-session-cinnamon

At the moment the process looks like this:

1. Login to tty1
2. cdm gets started
3. It tells me that consolekit cannot be registered
4. X starts together with cinnamon.

Any ideas?

Offline

#256 2012-11-17 09:26:04

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

orschiro wrote:

Hello,

I must have overlooked something when setting up cdm to start cinnamon. I encounter consolekit problems and my session is not active.

At the moment the process looks like this:

1. Login to tty1
2. cdm gets started
3. It tells me that consolekit cannot be registered
4. X starts together with cinnamon.

Any ideas?

ConsoleKit has been replaced by logind. You are obviously using systemd, so put "consolekit=no" into cdmrc.

Offline

#257 2012-11-17 09:32:40

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: The Console Display Manager

Yes I am using systemd and changed consolekit to no. But still the same result for loginctl show-session $XDG_SESSION_ID. The session is not active.

Offline

#258 2012-11-17 09:39:12

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

orschiro wrote:

Yes I am using systemd and changed consolekit to no. But still the same result for loginctl show-session $XDG_SESSION_ID. The session is not active.

First of all you should run X session in the same tty as you log in, so try 'xtty="keep"'.
There's also this bug to which I have no solution yet...
The only thing that works for me is log in to console first and from console run cdm manually and select some X session.

Offline

#259 2012-11-18 10:56:03

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: The Console Display Manager

So in the case I am just one user using one window manager on my machine, there is no real benefit of using cdm as opposed to normal login and startx method, correct?

Offline

#260 2012-11-18 11:17:24

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

orschiro wrote:

So in the case I am just one user using one window manager on my machine, there is no real benefit of using cdm as opposed to normal login and startx method, correct?

That's basically right (until the bug is fixed anyway), but with cdm you can:
  - easily select between multiple window managers without having to specify arguments for startx
  - have menu items for system poweroff/reboot/suspend/hibernate
  - specify arguments for X server

Offline

#261 2012-12-27 14:23:35

C5OK5Y
Member
Registered: 2010-07-04
Posts: 48

Re: The Console Display Manager

I unfortunately can't get cdm to correctly start X - X crashes about a second after starting. My /etc/cdmrc:

#!/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 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=(
    '/usr/bin/awesome'
    '/bin/bash --login'
    '/usr/bin/steam -bigpicture'
    '/usr/bin/systemctl hibernate'
    '/usr/bin/systemctl poweroff'
    '/usr/bin/systemctl reboot'
    '/usr/bin/systemctl suspend'
)

# 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=(Awesome Console 'Big Picture' Suspend2disk Poweroff Reboot Suspend2ram)

# 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 X C C C 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=keep

# 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)

And my /var/log/Xorg.0.log (the 'Fatal server error' looks concerning):

[   225.369] 
X.Org X Server 1.13.1
Release Date: 2012-12-13
[   225.369] X Protocol Version 11, Revision 0
[   225.369] Build Operating System: Linux 3.7.0-1-ARCH x86_64 
[   225.369] Current Operating System: Linux claudio-desktop 3.0.56-1-lts #1 SMP Tue Dec 11 10:51:30 CET 2012 x86_64
[   225.369] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=f46872ff-2ddf-4c91-b12d-1da2f6f329fe ro nomodeset resume=/dev/sda8 block.events_dfl_poll_msecs=2000
[   225.369] Build Date: 16 December 2012  04:45:14PM
[   225.369]  
[   225.369] Current version of pixman: 0.28.2
[   225.369] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   225.369] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   225.369] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 27 14:33:23 2012
[   225.401] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   225.423] (==) No Layout section.  Using the first Screen section.
[   225.423] (==) No screen section available. Using defaults.
[   225.423] (**) |-->Screen "Default Screen Section" (0)
[   225.423] (**) |   |-->Monitor "<default monitor>"
[   225.423] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   225.423] (==) Automatically adding devices
[   225.423] (==) Automatically enabling devices
[   225.423] (==) Automatically adding GPU devices
[   225.446] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/cyrillic".
[   225.446] 	Entry deleted from font path.
[   225.446] 	(Run 'mkfontdir' on "/usr/share/fonts/cyrillic").
[   225.453] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/util".
[   225.453] 	Entry deleted from font path.
[   225.453] 	(Run 'mkfontdir' on "/usr/share/fonts/util").
[   225.457] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/encodings".
[   225.457] 	Entry deleted from font path.
[   225.457] 	(Run 'mkfontdir' on "/usr/share/fonts/encodings").
[   225.460] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/encodings/large".
[   225.460] 	Entry deleted from font path.
[   225.460] 	(Run 'mkfontdir' on "/usr/share/fonts/encodings/large").
[   225.460] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[   225.460] 	Entry deleted from font path.
[   225.460] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[   225.460] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[   225.460] 	Entry deleted from font path.
[   225.460] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[   225.486] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   225.486] 	Entry deleted from font path.
[   225.488] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   225.488] 	Entry deleted from font path.
[   225.488] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   225.488] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   225.488] 	Entry deleted from font path.
[   225.488] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   225.489] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF,
	/usr/share/fonts/local/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/
[   225.489] (**) ModulePath set to "/usr/lib/xorg/modules"
[   225.489] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   225.489] (II) Loader magic: 0x7fcc40
[   225.489] (II) Module ABI versions:
[   225.489] 	X.Org ANSI C Emulation: 0.4
[   225.489] 	X.Org Video Driver: 13.1
[   225.489] 	X.Org XInput driver : 18.0
[   225.489] 	X.Org Server Extension : 7.0
[   225.490] (--) PCI:*(0:1:0:0) 10de:0fc6:1458:3553 rev 161, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/524288
[   225.490] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   225.491] Initializing built-in extension Generic Event Extension
[   225.491] Initializing built-in extension SHAPE
[   225.491] Initializing built-in extension MIT-SHM
[   225.491] Initializing built-in extension XInputExtension
[   225.491] Initializing built-in extension XTEST
[   225.491] Initializing built-in extension BIG-REQUESTS
[   225.491] Initializing built-in extension SYNC
[   225.491] Initializing built-in extension XKEYBOARD
[   225.491] Initializing built-in extension XC-MISC
[   225.491] Initializing built-in extension SECURITY
[   225.491] Initializing built-in extension XINERAMA
[   225.491] Initializing built-in extension XFIXES
[   225.491] Initializing built-in extension RENDER
[   225.491] Initializing built-in extension RANDR
[   225.491] Initializing built-in extension COMPOSITE
[   225.491] Initializing built-in extension DAMAGE
[   225.491] Initializing built-in extension MIT-SCREEN-SAVER
[   225.491] Initializing built-in extension DOUBLE-BUFFER
[   225.491] Initializing built-in extension RECORD
[   225.491] Initializing built-in extension DPMS
[   225.491] Initializing built-in extension X-Resource
[   225.491] Initializing built-in extension XVideo
[   225.491] Initializing built-in extension XVideo-MotionCompensation
[   225.491] Initializing built-in extension XFree86-VidModeExtension
[   225.491] Initializing built-in extension XFree86-DGA
[   225.491] Initializing built-in extension XFree86-DRI
[   225.491] Initializing built-in extension DRI2
[   225.491] (II) LoadModule: "glx"
[   225.501] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   225.581] (II) Module glx: vendor="NVIDIA Corporation"
[   225.581] 	compiled for 4.0.2, module version = 1.0.0
[   225.581] 	Module class: X.Org Server Extension
[   225.581] (II) NVIDIA GLX Module  310.19  Thu Nov  8 01:12:43 PST 2012
[   225.581] Loading extension GLX
[   225.581] (==) Matched nouveau as autoconfigured driver 0
[   225.581] (==) Matched nvidia as autoconfigured driver 1
[   225.581] (==) Matched nv as autoconfigured driver 2
[   225.581] (==) Matched vesa as autoconfigured driver 3
[   225.581] (==) Matched modesetting as autoconfigured driver 4
[   225.581] (==) Matched fbdev as autoconfigured driver 5
[   225.581] (==) Assigned the driver to the xf86ConfigLayout
[   225.581] (II) LoadModule: "nouveau"
[   225.581] (WW) Warning, couldn't open module nouveau
[   225.581] (II) UnloadModule: "nouveau"
[   225.581] (II) Unloading nouveau
[   225.581] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   225.581] (II) LoadModule: "nvidia"
[   225.581] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   225.582] (II) Module nvidia: vendor="NVIDIA Corporation"
[   225.582] 	compiled for 4.0.2, module version = 1.0.0
[   225.582] 	Module class: X.Org Video Driver
[   225.582] (II) LoadModule: "nv"
[   225.582] (WW) Warning, couldn't open module nv
[   225.582] (II) UnloadModule: "nv"
[   225.582] (II) Unloading nv
[   225.582] (EE) Failed to load module "nv" (module does not exist, 0)
[   225.582] (II) LoadModule: "vesa"
[   225.582] (WW) Warning, couldn't open module vesa
[   225.582] (II) UnloadModule: "vesa"
[   225.582] (II) Unloading vesa
[   225.582] (EE) Failed to load module "vesa" (module does not exist, 0)
[   225.582] (II) LoadModule: "modesetting"
[   225.583] (WW) Warning, couldn't open module modesetting
[   225.583] (II) UnloadModule: "modesetting"
[   225.583] (II) Unloading modesetting
[   225.583] (EE) Failed to load module "modesetting" (module does not exist, 0)
[   225.583] (II) LoadModule: "fbdev"
[   225.583] (WW) Warning, couldn't open module fbdev
[   225.583] (II) UnloadModule: "fbdev"
[   225.583] (II) Unloading fbdev
[   225.583] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   225.583] (II) NVIDIA dlloader X Driver  310.19  Thu Nov  8 00:53:33 PST 2012
[   225.583] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   225.583] (++) using VT number 2

[   225.583] (II) Loading sub module "wfb"
[   225.583] (II) LoadModule: "wfb"
[   225.583] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   225.583] (II) Module wfb: vendor="X.Org Foundation"
[   225.583] 	compiled for 1.13.1, module version = 1.0.0
[   225.583] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   225.583] (II) Loading sub module "ramdac"
[   225.583] (II) LoadModule: "ramdac"
[   225.583] (II) Module "ramdac" already built-in
[   225.583] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   225.583] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   225.583] (==) NVIDIA(0): RGB weight 888
[   225.583] (==) NVIDIA(0): Default visual is TrueColor
[   225.583] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   225.584] (**) NVIDIA(0): Enabling 2D acceleration
[   226.202] (II) NVIDIA(GPU-0): Display (BenQ FP222Wa (CRT-0)) does not support NVIDIA 3D
[   226.202] (II) NVIDIA(GPU-0):     Vision stereo.
[   226.204] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 650 (GK107) at PCI:1:0:0 (GPU-0)
[   226.204] (--) NVIDIA(0): Memory: 1048576 kBytes
[   226.204] (--) NVIDIA(0): VideoBIOS: 80.07.35.00.60
[   226.204] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   226.207] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 650 at PCI:1:0:0
[   226.207] (--) NVIDIA(0):     BenQ FP222Wa (CRT-0) (connected)
[   226.207] (--) NVIDIA(0):     DFP-0
[   226.207] (--) NVIDIA(0):     DFP-1
[   226.207] (--) NVIDIA(0):     DFP-2
[   226.207] (--) NVIDIA(0): BenQ FP222Wa (CRT-0): 400.0 MHz maximum pixel clock
[   226.207] (--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
[   226.207] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[   226.207] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[   226.207] (--) NVIDIA(0): DFP-1: Internal Single Link TMDS
[   226.207] (--) NVIDIA(0): DFP-2: 330.0 MHz maximum pixel clock
[   226.207] (--) NVIDIA(0): DFP-2: Internal Single Link TMDS
[   226.207] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   226.207] (**) NVIDIA(0):     device BenQ FP222Wa (CRT-0) (Using EDID frequencies has
[   226.207] (**) NVIDIA(0):     been enabled on all display devices.)
[   226.208] (==) NVIDIA(0): 
[   226.208] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   226.208] (==) NVIDIA(0):     will be used as the requested mode.
[   226.208] (==) NVIDIA(0): 
[   226.208] (II) NVIDIA(0): Validated MetaModes:
[   226.208] (II) NVIDIA(0):     "CRT-0:nvidia-auto-select"
[   226.208] (II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
[   226.236] (--) NVIDIA(0): DPI set to (90, 88); computed from "UseEdidDpi" X config
[   226.236] (--) NVIDIA(0):     option
[   226.236] (--) Depth 24 pixmap format is 32 bpp
[   226.236] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[   226.236] (II) NVIDIA:     access.
[   226.241] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   226.241] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   226.241] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   226.241] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   226.241] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   226.241] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   226.241] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   226.241] (II) NVIDIA(0):     Config Options in the README.
[   226.244] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
[   226.285] Loading extension NV-GLX
[   226.310] (==) NVIDIA(0): Disabling shared memory pixmaps
[   226.310] (==) NVIDIA(0): Backing store disabled
[   226.310] (==) NVIDIA(0): Silken mouse enabled
[   226.310] (==) NVIDIA(0): DPMS enabled
[   226.311] Loading extension NV-CONTROL
[   226.311] Loading extension XINERAMA
[   226.311] (II) Loading sub module "dri2"
[   226.311] (II) LoadModule: "dri2"
[   226.311] (II) Module "dri2" already built-in
[   226.311] (II) NVIDIA(0): [DRI2] Setup complete
[   226.311] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   226.311] (--) RandR disabled
[   226.316] (II) Initializing extension GLX
[   226.609] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[   226.609] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   226.609] (**) Power Button: Applying InputClass "Keyboard Defaults"
[   226.609] (II) LoadModule: "evdev"
[   226.610] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   226.610] (II) Module evdev: vendor="X.Org Foundation"
[   226.610] 	compiled for 1.13.0, module version = 2.7.3
[   226.610] 	Module class: X.Org XInput Driver
[   226.610] 	ABI class: X.Org XInput driver, version 18.0
[   226.610] (II) Using input driver 'evdev' for 'Power Button'
[   226.610] (**) Power Button: always reports core events
[   226.610] (**) evdev: Power Button: Device: "/dev/input/event5"
[   226.610] (--) evdev: Power Button: Vendor 0 Product 0x1
[   226.610] (--) evdev: Power Button: Found keys
[   226.610] (II) evdev: Power Button: Configuring as keyboard
[   226.610] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event5"
[   226.610] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   226.610] (**) Option "xkb_rules" "evdev"
[   226.610] (**) Option "xkb_model" "evdev"
[   226.610] (**) Option "xkb_layout" "cz,us"
[   226.610] (**) Option "xkb_options" "grp:alt_shift_toggle"
[   226.655] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[   226.656] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   226.656] (**) Power Button: Applying InputClass "Keyboard Defaults"
[   226.656] (II) Using input driver 'evdev' for 'Power Button'
[   226.656] (**) Power Button: always reports core events
[   226.656] (**) evdev: Power Button: Device: "/dev/input/event4"
[   226.656] (--) evdev: Power Button: Vendor 0 Product 0x1
[   226.656] (--) evdev: Power Button: Found keys
[   226.656] (II) evdev: Power Button: Configuring as keyboard
[   226.656] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4/event4"
[   226.656] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   226.656] (**) Option "xkb_rules" "evdev"
[   226.656] (**) Option "xkb_model" "evdev"
[   226.656] (**) Option "xkb_layout" "cz,us"
[   226.656] (**) Option "xkb_options" "grp:alt_shift_toggle"
[   226.656] (II) config/udev: Adding input device HDA NVidia HDMI/DP (/dev/input/event10)
[   226.656] (II) No input driver specified, ignoring this device.
[   226.656] (II) This device may have been added with another device file.
[   226.656] (II) config/udev: Adding input device HDA NVidia HDMI/DP (/dev/input/event8)
[   226.656] (II) No input driver specified, ignoring this device.
[   226.656] (II) This device may have been added with another device file.
[   226.657] (II) config/udev: Adding input device HDA NVidia HDMI/DP (/dev/input/event9)
[   226.657] (II) No input driver specified, ignoring this device.
[   226.657] (II) This device may have been added with another device file.
[   226.657] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event7)
[   226.657] (II) No input driver specified, ignoring this device.
[   226.657] (II) This device may have been added with another device file.
[   226.657] (II) config/udev: Adding input device ROCCAT ROCCAT Kova[+] (/dev/input/event2)
[   226.657] (**) ROCCAT ROCCAT Kova[+]: Applying InputClass "evdev pointer catchall"
[   226.657] (**) ROCCAT ROCCAT Kova[+]: Applying InputClass "evdev keyboard catchall"
[   226.657] (**) ROCCAT ROCCAT Kova[+]: Applying InputClass "Keyboard Defaults"
[   226.657] (II) Using input driver 'evdev' for 'ROCCAT ROCCAT Kova[+]'
[   226.657] (**) ROCCAT ROCCAT Kova[+]: always reports core events
[   226.657] (**) evdev: ROCCAT ROCCAT Kova[+]: Device: "/dev/input/event2"
[   226.657] (--) evdev: ROCCAT ROCCAT Kova[+]: Vendor 0x1e7d Product 0x2d50
[   226.657] (--) evdev: ROCCAT ROCCAT Kova[+]: Found 9 mouse buttons
[   226.657] (--) evdev: ROCCAT ROCCAT Kova[+]: Found scroll wheel(s)
[   226.657] (--) evdev: ROCCAT ROCCAT Kova[+]: Found relative axes
[   226.657] (--) evdev: ROCCAT ROCCAT Kova[+]: Found x and y relative axes
[   226.657] (--) evdev: ROCCAT ROCCAT Kova[+]: Found absolute axes
[   226.657] (II) evdev: ROCCAT ROCCAT Kova[+]: Forcing absolute x/y axes to exist.
[   226.657] (--) evdev: ROCCAT ROCCAT Kova[+]: Found keys
[   226.657] (II) evdev: ROCCAT ROCCAT Kova[+]: Configuring as mouse
[   226.657] (II) evdev: ROCCAT ROCCAT Kova[+]: Configuring as keyboard
[   226.657] (II) evdev: ROCCAT ROCCAT Kova[+]: Adding scrollwheel support
[   226.657] (**) evdev: ROCCAT ROCCAT Kova[+]: YAxisMapping: buttons 4 and 5
[   226.657] (**) evdev: ROCCAT ROCCAT Kova[+]: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   226.657] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.0/input/input2/event2"
[   226.657] (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Kova[+]" (type: KEYBOARD, id 8)
[   226.657] (**) Option "xkb_rules" "evdev"
[   226.657] (**) Option "xkb_model" "evdev"
[   226.658] (**) Option "xkb_layout" "cz,us"
[   226.658] (**) Option "xkb_options" "grp:alt_shift_toggle"
[   226.658] (II) evdev: ROCCAT ROCCAT Kova[+]: initialized for relative axes.
[   226.658] (WW) evdev: ROCCAT ROCCAT Kova[+]: ignoring absolute axes.
[   226.658] (**) ROCCAT ROCCAT Kova[+]: (accel) keeping acceleration scheme 1
[   226.658] (**) ROCCAT ROCCAT Kova[+]: (accel) acceleration profile 0
[   226.658] (**) ROCCAT ROCCAT Kova[+]: (accel) acceleration factor: 2.000
[   226.658] (**) ROCCAT ROCCAT Kova[+]: (accel) acceleration threshold: 4
[   226.658] (II) config/udev: Adding input device ROCCAT ROCCAT Kova[+] (/dev/input/mouse1)
[   226.658] (**) ROCCAT ROCCAT Kova[+]: Applying InputClass "Keyboard Defaults"
[   226.658] (II) No input driver specified, ignoring this device.
[   226.658] (II) This device may have been added with another device file.
[   226.658] (II) config/udev: Adding input device ROCCAT ROCCAT Kova[+] (/dev/input/event3)
[   226.658] (**) ROCCAT ROCCAT Kova[+]: Applying InputClass "evdev keyboard catchall"
[   226.658] (**) ROCCAT ROCCAT Kova[+]: Applying InputClass "Keyboard Defaults"
[   226.658] (II) Using input driver 'evdev' for 'ROCCAT ROCCAT Kova[+]'
[   226.658] (**) ROCCAT ROCCAT Kova[+]: always reports core events
[   226.659] (**) evdev: ROCCAT ROCCAT Kova[+]: Device: "/dev/input/event3"
[   226.659] (--) evdev: ROCCAT ROCCAT Kova[+]: Vendor 0x1e7d Product 0x2d50
[   226.659] (--) evdev: ROCCAT ROCCAT Kova[+]: Found keys
[   226.659] (II) evdev: ROCCAT ROCCAT Kova[+]: Configuring as keyboard
[   226.659] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.1/input/input3/event3"
[   226.659] (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Kova[+]" (type: KEYBOARD, id 9)
[   226.659] (**) Option "xkb_rules" "evdev"
[   226.659] (**) Option "xkb_model" "evdev"
[   226.659] (**) Option "xkb_layout" "cz,us"
[   226.659] (**) Option "xkb_options" "grp:alt_shift_toggle"
[   226.659] (II) config/udev: Adding input device SONiX USB Device (/dev/input/event0)
[   226.659] (**) SONiX USB Device: Applying InputClass "evdev pointer catchall"
[   226.659] (II) Using input driver 'evdev' for 'SONiX USB Device'
[   226.659] (**) SONiX USB Device: always reports core events
[   226.659] (**) evdev: SONiX USB Device: Device: "/dev/input/event0"
[   226.659] (--) evdev: SONiX USB Device: Vendor 0x4b4 Product 0x60
[   226.659] (--) evdev: SONiX USB Device: Found 12 mouse buttons
[   226.659] (--) evdev: SONiX USB Device: Found scroll wheel(s)
[   226.659] (--) evdev: SONiX USB Device: Found relative axes
[   226.659] (--) evdev: SONiX USB Device: Found x and y relative axes
[   226.659] (II) evdev: SONiX USB Device: Configuring as mouse
[   226.659] (II) evdev: SONiX USB Device: Adding scrollwheel support
[   226.659] (**) evdev: SONiX USB Device: YAxisMapping: buttons 4 and 5
[   226.659] (**) evdev: SONiX USB Device: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   226.659] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-1/7-1:1.0/input/input0/event0"
[   226.659] (II) XINPUT: Adding extended input device "SONiX USB Device" (type: MOUSE, id 10)
[   226.659] (II) evdev: SONiX USB Device: initialized for relative axes.
[   226.660] (**) SONiX USB Device: (accel) keeping acceleration scheme 1
[   226.660] (**) SONiX USB Device: (accel) acceleration profile 0
[   226.660] (**) SONiX USB Device: (accel) acceleration factor: 2.000
[   226.660] (**) SONiX USB Device: (accel) acceleration threshold: 4
[   226.660] (II) config/udev: Adding input device SONiX USB Device (/dev/input/mouse0)
[   226.660] (II) No input driver specified, ignoring this device.
[   226.660] (II) This device may have been added with another device file.
[   226.660] (II) config/udev: Adding input device SONiX USB Device (/dev/input/event1)
[   226.660] (**) SONiX USB Device: Applying InputClass "evdev keyboard catchall"
[   226.660] (**) SONiX USB Device: Applying InputClass "Keyboard Defaults"
[   226.660] (II) Using input driver 'evdev' for 'SONiX USB Device'
[   226.660] (**) SONiX USB Device: always reports core events
[   226.660] (**) evdev: SONiX USB Device: Device: "/dev/input/event1"
[   226.660] (--) evdev: SONiX USB Device: Vendor 0x4b4 Product 0x60
[   226.660] (--) evdev: SONiX USB Device: Found 1 mouse buttons
[   226.660] (--) evdev: SONiX USB Device: Found scroll wheel(s)
[   226.660] (--) evdev: SONiX USB Device: Found relative axes
[   226.660] (II) evdev: SONiX USB Device: Forcing relative x/y axes to exist.
[   226.660] (--) evdev: SONiX USB Device: Found absolute axes
[   226.661] (II) evdev: SONiX USB Device: Forcing absolute x/y axes to exist.
[   226.661] (--) evdev: SONiX USB Device: Found keys
[   226.661] (II) evdev: SONiX USB Device: Configuring as mouse
[   226.661] (II) evdev: SONiX USB Device: Configuring as keyboard
[   226.661] (II) evdev: SONiX USB Device: Adding scrollwheel support
[   226.661] (**) evdev: SONiX USB Device: YAxisMapping: buttons 4 and 5
[   226.661] (**) evdev: SONiX USB Device: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   226.661] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-1/7-1:1.1/input/input1/event1"
[   226.661] (II) XINPUT: Adding extended input device "SONiX USB Device" (type: KEYBOARD, id 11)
[   226.661] (**) Option "xkb_rules" "evdev"
[   226.661] (**) Option "xkb_model" "evdev"
[   226.661] (**) Option "xkb_layout" "cz,us"
[   226.661] (**) Option "xkb_options" "grp:alt_shift_toggle"
[   226.661] (II) evdev: SONiX USB Device: initialized for relative axes.
[   226.661] (WW) evdev: SONiX USB Device: ignoring absolute axes.
[   226.661] (**) SONiX USB Device: (accel) keeping acceleration scheme 1
[   226.661] (**) SONiX USB Device: (accel) acceleration profile 0
[   226.661] (**) SONiX USB Device: (accel) acceleration factor: 2.000
[   226.661] (**) SONiX USB Device: (accel) acceleration threshold: 4
[   226.661] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[   226.661] (II) No input driver specified, ignoring this device.
[   226.661] (II) This device may have been added with another device file.
[   228.331] (II) NVIDIA(GPU-0): Display (BenQ FP222Wa (CRT-0)) does not support NVIDIA 3D
[   228.331] (II) NVIDIA(GPU-0):     Vision stereo.
[   228.331] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   228.331] (**) NVIDIA(0):     device BenQ FP222Wa (CRT-0) (Using EDID frequencies has
[   228.331] (**) NVIDIA(0):     been enabled on all display devices.)
[   228.343] (II) NVIDIA(GPU-0): Display (BenQ FP222Wa (CRT-0)) does not support NVIDIA 3D
[   228.343] (II) NVIDIA(GPU-0):     Vision stereo.
[   228.343] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   228.343] (**) NVIDIA(0):     device BenQ FP222Wa (CRT-0) (Using EDID frequencies has
[   228.343] (**) NVIDIA(0):     been enabled on all display devices.)
[   230.861] (II) evdev: SONiX USB Device: Close
[   230.861] (II) UnloadModule: "evdev"
[   230.861] (II) evdev: SONiX USB Device: Close
[   230.861] (II) UnloadModule: "evdev"
[   230.861] (II) evdev: ROCCAT ROCCAT Kova[+]: Close
[   230.861] (II) UnloadModule: "evdev"
[   230.861] (II) evdev: ROCCAT ROCCAT Kova[+]: Close
[   230.861] (II) UnloadModule: "evdev"
[   230.861] (II) evdev: Power Button: Close
[   230.861] (II) UnloadModule: "evdev"
[   230.861] (II) evdev: Power Button: Close
[   230.861] (II) UnloadModule: "evdev"
[   231.288] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[   231.288] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[   231.288] 
Fatal server error:
[   231.288] xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[   231.288] 
[   231.288] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   231.288] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   231.288] (EE) 
[   231.288] (EE) 
[   231.288] (EE) Backtrace:

I use systemd. Does anyone know why this is happening?

Last edited by C5OK5Y (2012-12-27 14:24:22)

Offline

#262 2012-12-27 14:36:02

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,699
Website

Re: The Console Display Manager

EDIT: nevermind, sorry, I misread.

Last edited by Trilby (2012-12-27 14:36:46)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#263 2012-12-27 14:56:49

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

This looks like a bug in X, look at https://bugzilla.redhat.com/show_bug.cgi?id=688658#c8

Offline

#264 2012-12-27 15:40:25

C5OK5Y
Member
Registered: 2010-07-04
Posts: 48

Re: The Console Display Manager

@lahwaacz: Thanks for the link. You haven't got such an issue, have you (I assume you're using cdm)? Is there something very different between our configuration files? It seems that I'm the only one having such an issue.

Last edited by C5OK5Y (2012-12-27 15:41:00)

Offline

#265 2012-12-27 16:01:15

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

C5OK5Y wrote:

@lahwaacz: Thanks for the link. You haven't got such an issue, have you (I assume you're using cdm)? Is there something very different between our configuration files? It seems that I'm the only one having such an issue.

I'm using CDM, my configuration is practically identical, but I use hibernation and haven't logged out for at least a week, so no issue so far, I think I'll wait for a while longer...

Offline

#266 2012-12-29 12:19:59

C5OK5Y
Member
Registered: 2010-07-04
Posts: 48

Re: The Console Display Manager

I've looked through the code to find out what is the command that starts X. If I'd want to start Awesome (like in my configuration file, which I posted previously), the command would by:

setsid startx /usr/bin/awesome -- :1 -nolisten -tcp vt1

Am I correct?

Offline

#267 2012-12-29 12:43:33

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

C5OK5Y wrote:

I've looked through the code to find out what is the command that starts X. If I'd want to start Awesome (like in my configuration file, which I posted previously), the command would by:

setsid startx /usr/bin/awesome -- :1 -nolisten -tcp vt1

Am I correct?

That's right, only the DISPLAY variable ":1" might be ":0" depending on whether you already have other X server running or not, but generally it isn't important...
Also note that for testing is more useful running startx without setsid from tty2 (or anything different from tty1 where you'll run the X):

startx /usr/bin/awesome -- :0 -nolisten -tcp vt1

Offline

#268 2012-12-29 13:03:36

C5OK5Y
Member
Registered: 2010-07-04
Posts: 48

Re: The Console Display Manager

lahwaacz wrote:

That's right, only the DISPLAY variable ":1" might be ":0" depending on whether you already have other X server running or not, but generally it isn't important...
Also note that for testing is more useful running startx without setsid from tty2 (or anything different from tty1 where you'll run the X):

startx /usr/bin/awesome -- :0 -nolisten -tcp vt1

Yes.

@lahwaacz: Then I really don't understand the source of the error because running X manually from the console (with or without setsid) works without problems. I'm tempted to file a bug report but I'm not sure, if against CDM or Xorg. To me it seems like Xorg isn't the culprit and that CDM is just doing something wrong. What do you think?

Offline

#269 2012-12-29 13:24:36

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

@C5OK5Y: Have you tried running cdm manually from console or only automatically after logging in?

Offline

#270 2012-12-29 18:22:24

C5OK5Y
Member
Registered: 2010-07-04
Posts: 48

Re: The Console Display Manager

@lahwaacz: I have only tried autostarting, but thanks for the tip because by starting CDM manually I have managed to narrow down the source of the issue. After launching X for the first time, launching another instance of X results in the previously mentioned error only when the following X session is started by exec cdm (i.e. the way it gets autostarted from /etc/profile.d/zzz-cdm.sh) - starting (or autostarting) CDM without exec doesn't result in the X crash. But removing exec isn't probably the best way of solving the issue because the user doesn't get logged out of the tty session (I don't know how to call it) after X gets started.

Offline

#271 2012-12-29 21:42:04

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

@C5OK5Y: I also don't know how to replace exec, but still doubt it's the real problem. Today I checked my CDM configuration and can't reproduce the problem.

Your /var/log/Xorg.0.log is also full of messages concerning loading and immediate unloading of several modules: nouveau, nv, vesa, modesetting, fbdev, and finally evdev. Maybe you should check your xorg.conf, but I won't be much of help there because I have Radeon.

Offline

#272 2012-12-30 15:50:28

C5OK5Y
Member
Registered: 2010-07-04
Posts: 48

Re: The Console Display Manager

@lahwaacz: I also doubt that the exec is the source of the problem - launching X manually with exec works without problems. I've also fixed the X module loading errors but that unfortunately didn't get rid of the X crash.

I think that I've run out of ideas about how to try and fix this - maybe unless anyone manages to reproduce this problem.

Last edited by C5OK5Y (2012-12-30 15:51:06)

Offline

#273 2013-01-01 18:10:30

geekmiki
Member
Registered: 2011-10-10
Posts: 44

Re: The Console Display Manager

Hi,

I've just started using CDM, everything is working as expected and my X session is correctly launched. The only problem I encounter is that I need to login twice to get CDM started. So basically the system botts to login prompt, I login and get another login prompt and then my X session is launched... Any solution for this?

Thank you in advance!

Offline

#274 2013-01-01 18:16:48

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 445

Re: The Console Display Manager

geekmiki wrote:

Hi,

I've just started using CDM, everything is working as expected and my X session is correctly launched. The only problem I encounter is that I need to login twice to get CDM started. So basically the system botts to login prompt, I login and get another login prompt and then my X session is launched... Any solution for this?

Thank you in advance!

That's very strange, does this double-login problem occur only on tty1 or also on other ttys (when logging into console)? Could you post your /etc/profile (and ~/.profile if existing)? Also /etc/cdmrc might be helpful...

Offline

#275 2013-01-01 23:10:10

geekmiki
Member
Registered: 2011-10-10
Posts: 44

Re: The Console Display Manager

Hi,

Thanks for your help!
I've only tried with tty1, so I don't know if it occurs on other ttys.

Here are my config files:

-profile

# /etc/profile

#Set our umask
umask 022

# Set our default path
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
export PATH

# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
        for profile in /etc/profile.d/*.sh; do
                test -r "$profile" && . "$profile"
        done
        unset profile
fi

# Source global bash config
if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
        . /etc/bash.bashrc
fi

# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP

# Man is much better than us at figuring this out
unset MANPATH

-cdmrc

#!/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 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 :)
'startxfce'
)

# 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=(XFCE)

# 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)

# 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=keep

# 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)

Thanks again!

Offline

Board footer

Powered by FluxBB