You are not logged in.

#1 2012-03-02 23:38:45

Ghecko
Member
Registered: 2012-03-02
Posts: 3

Unable to login in Xdm [Solved]

Hi, as you can guess ... linux newbie here. i'v installed arch,xorg,xfce,intel drivers,xdm the xorg serv works ... startxfce4 works like a charm from any user(root;ghecko) i'v edited inittab , and in rrc.conf at daemons i have dbus 1st.It boots into the xdm gui i provide the credentials(correct ones...) and it just flashes for 2 sec with a black screen authentification failed!( i have tryed also gdm ..it does the same thing) what am i missing? i'm more than happy to provide further info about the configs , YES i have searched the wikipages for hours and no success
THis is my inittab
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
x:5:respawn:/usr/bin/xdm -nodaemon

Last edited by Ghecko (2012-03-06 15:14:20)

Offline

#2 2012-03-03 07:50:59

utsavgupta
Member
Registered: 2012-03-01
Posts: 5

Re: Unable to login in Xdm [Solved]

Try starting it as a daemon.

Modify /etc/rc.conf

Offline

#3 2012-03-03 08:28:06

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Unable to login in Xdm [Solved]

Also double check that you have the correct keymap (keyboard layout) set in your rc.conf.


Burninate!

Offline

#4 2012-03-03 08:50:20

kevinmchapman
Member
Registered: 2008-11-06
Posts: 21

Re: Unable to login in Xdm [Solved]

Something else to check - is .xsession executable?

Offline

#5 2012-03-03 10:17:40

guelfi
Member
From: /home/guelfi
Registered: 2011-07-01
Posts: 111

Re: Unable to login in Xdm [Solved]

Gcool wrote:

Also double check that you have the correct keymap (keyboard layout) set in your rc.conf.

The keymap in rc.conf is only relevant for the ttys, X doesn't look at it. So if
the issue is an incorrect keymap, you should fix in in
/etc/X11/xorg.conf.d/10-evdev.conf (see https://wiki.archlinux.org/index.php/Co … youts_in_X
for more details).

Offline

#6 2012-03-03 13:42:43

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Unable to login in Xdm [Solved]

guelfi wrote:
Gcool wrote:

Also double check that you have the correct keymap (keyboard layout) set in your rc.conf.

The keymap in rc.conf is only relevant for the ttys, X doesn't look at it. So if
the issue is an incorrect keymap, you should fix in in
/etc/X11/xorg.conf.d/10-evdev.conf (see https://wiki.archlinux.org/index.php/Co … youts_in_X
for more details).

You're completely right. I somehow got it in my head that DM's get their keymap from rc.conf. I blame early morning and insufficient caffeine levels.


Burninate!

Offline

#7 2012-03-03 13:50:19

rasertux
Member
From: Florianópolis, Brazil
Registered: 2012-03-03
Posts: 46

Re: Unable to login in Xdm [Solved]

Sorry for my English but check you .xinitrc in home of your user and uncoment "# exec startxfce4" and i think works fine.

Offline

#8 2012-03-03 15:18:38

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Unable to login in Xdm [Solved]

What if you boot into runlevel 3 instead of 5 (meaning id:3:initdefault: and you comment out the x:5... line) and you type "startx"? Can you log in from there?

Last edited by DSpider (2012-03-03 15:20:28)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-03-03 18:00:10

kevinmchapman
Member
Registered: 2008-11-06
Posts: 21

Re: Unable to login in Xdm [Solved]

rasertux wrote:

Sorry for my English but check you .xinitrc in home of your user and uncoment "# exec startxfce4" and i think works fine.

xdm uses .xsession rather than .xinitrc (although you can set up .xsession to call .xinitrc)

Offline

#10 2012-03-06 09:23:59

Warnaud
Member
From: /dev/random
Registered: 2006-03-02
Posts: 58
Website

Re: Unable to login in Xdm [Solved]

I have exactly the same problem sad
In init 3 launching X via startx works like a charm
In init 5 xdm shows up, I can login and then it comes back to xdm ...
The logs:

cat /var/log/xdm

xdm info (pid 19344): Starting
xdm info (pid 19344): Starting X server on :0

X.Org X Server 1.11.4
Release Date: 2012-01-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.2-1-ARCH x86_64
Current Operating System: Linux Baz00k4 3.2.8-1-ARCH #1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64
Kernel command line: root=/dev/disk/by-uuid/465938f8-4dd1-41b9-8c9d-f1b9dacf95a1 ro vga=775
Build Date: 29 January 2012  03:38:00PM

Current version of pixman: 0.24.4
    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: Tue Mar  6 10:10:36 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
xdm info (pid 19375): sourcing /etc/X11/xdm/Xsetup_0

Then I type my login and password:

xdm info (pid 19375): sourcing /etc/X11/xdm/GiveConsole
xdm info (pid 19390): executing session /etc/X11/xdm/Xsession
xdm info (pid 19375): sourcing /etc/X11/xdm/TakeConsole
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 103 requests (72 known processed) with 0 events remaining.
xdm info (pid 19344): Starting X server on :0
2 XSELINUXs still allocated at reset
SCREEN: 0 objects of 288 bytes = 0 total bytes 0 private allocs
COLORMAP: 0 objects of 8 bytes = 0 total bytes 0 private allocs
DEVICE: 0 objects of 96 bytes = 0 total bytes 0 private allocs
CLIENT: 0 objects of 128 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 80 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 112 bytes = 112 total bytes 0 private allocs
GC: 0 objects of 80 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0 private allocs
GLYPH: 0 objects of 24 bytes = 0 total bytes 0 private allocs
SYNC_FENCE: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 112 bytes, 0 allocs
1 SELECTIONs still allocated at reset
WINDOW: 0 objects of 80 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 112 bytes = 112 total bytes 0 private allocs
GC: 0 objects of 80 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0 private allocs
GLYPH: 0 objects of 24 bytes = 0 total bytes 0 private allocs
SYNC_FENCE: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 112 bytes, 0 allocs
1 PIXMAPs still allocated at reset
PIXMAP: 1 objects of 112 bytes = 112 total bytes 0 private allocs
GC: 0 objects of 80 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private allocs
DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0 private allocs
GLYPH: 0 objects of 24 bytes = 0 total bytes 0 private allocs
SYNC_FENCE: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 112 bytes, 0 allocs
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
xdm info (pid 19428): sourcing /etc/X11/xdm/Xsetup_0

/var/log/Xorg.0.log

[  3351.739] (II) Power Button: Close
[  3351.739] (II) UnloadModule: "evdev"
[  3351.739] (II) Unloading evdev
[  3351.833] (II) Power Button: Close
[  3351.833] (II) UnloadModule: "evdev"
[  3351.833] (II) Unloading evdev
[  3351.939] (II) Logitech Optical USB Mouse: Close
[  3351.939] (II) UnloadModule: "evdev"
[  3351.939] (II) Unloading evdev
[  3352.046] (II) AT Translated Set 2 keyboard: Close
[  3352.046] (II) UnloadModule: "evdev"
[  3352.046] (II) Unloading evdev
[  3352.166] (II) HP WMI hotkeys: Close
[  3352.166] (II) UnloadModule: "evdev"
[  3352.166] (II) Unloading evdev
[  3352.412] 1 XSELINUXs still allocated at reset
[  3352.412] SCREEN: 0 objects of 288 bytes = 0 total bytes 0 private allocs
[  3352.412] COLORMAP: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[  3352.412] DEVICE: 0 objects of 96 bytes = 0 total bytes 0 private allocs
[  3352.412] CLIENT: 0 objects of 128 bytes = 0 total bytes 0 private allocs
[  3352.412] WINDOW: 0 objects of 80 bytes = 0 total bytes 0 private allocs
[  3352.412] PIXMAP: 1 objects of 112 bytes = 112 total bytes 0 private allocs
[  3352.412] GC: 0 objects of 80 bytes = 0 total bytes 0 private allocs
[  3352.412] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[  3352.412] CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[  3352.412] DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0 private allocs
[  3352.412] GLYPH: 0 objects of 24 bytes = 0 total bytes 0 private allocs
[  3352.412] SYNC_FENCE: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[  3352.412] TOTAL: 1 objects, 112 bytes, 0 allocs
[  3352.412] 1 PIXMAPs still allocated at reset
[  3352.412] PIXMAP: 1 objects of 112 bytes = 112 total bytes 0 private allocs
[  3352.412] GC: 0 objects of 80 bytes = 0 total bytes 0 private allocs
[  3352.412] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[  3352.412] CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[  3352.412] DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0 private allocs
[  3352.412] GLYPH: 0 objects of 24 bytes = 0 total bytes 0 private allocs
[  3352.412] SYNC_FENCE: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[  3352.412] TOTAL: 1 objects, 112 bytes, 0 allocs
[  3352.417] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[  3352.417] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[  3352.417] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[  3352.417] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[  3352.417] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[  3352.417] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[  3352.417] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[  3352.417] (II) NVIDIA(0):     Config Options in the README.
[  3352.419] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[  3352.487] (==) NVIDIA(0): Disabling shared memory pixmaps
[  3352.488] (==) NVIDIA(0): DPMS enabled
[  3352.488] (II) Loading sub module "dri2"
[  3352.488] (II) LoadModule: "dri2"
[  3352.489] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  3352.489] (II) Module dri2: vendor="X.Org Foundation"
[  3352.489]     compiled for 1.11.4, module version = 1.2.0
[  3352.489]     ABI class: X.Org Server Extension, version 6.0
[  3352.489] (II) NVIDIA(0): [DRI2] Setup complete
[  3352.489] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  3352.489] (==) RandR enabled
[  3352.490] (II) Initializing extension GLX
[  3352.520] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  3352.520] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  3352.520] (II) Using input driver 'evdev' for 'Power Button'
[  3352.520] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  3352.520] (**) Power Button: always reports core events
[  3352.520] (**) Power Button: Device: "/dev/input/event3"
[  3352.520] (--) Power Button: Found keys
[  3352.520] (II) Power Button: Configuring as keyboard
[  3352.520] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[  3352.520] (**) Option "xkb_rules" "evdev"
[  3352.520] (**) Option "xkb_model" "evdev"
[  3352.520] (**) Option "xkb_layout" "us"
[  3352.520] (**) Option "xkb_variant" "intl"
[  3352.520] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[  3352.538] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  3352.538] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  3352.538] (II) Using input driver 'evdev' for 'Power Button'
[  3352.538] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  3352.538] (**) Power Button: always reports core events
[  3352.538] (**) Power Button: Device: "/dev/input/event2"
[  3352.538] (--) Power Button: Found keys
[  3352.538] (II) Power Button: Configuring as keyboard
[  3352.538] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
[  3352.538] (**) Option "xkb_rules" "evdev"
[  3352.538] (**) Option "xkb_model" "evdev"
[  3352.538] (**) Option "xkb_layout" "us"
[  3352.538] (**) Option "xkb_variant" "intl"
[  3352.538] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[  3352.538] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event6)
[  3352.538] (II) No input driver specified, ignoring this device.
[  3352.538] (II) This device may have been added with another device file.
[  3352.538] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event7)
[  3352.538] (II) No input driver specified, ignoring this device.
[  3352.538] (II) This device may have been added with another device file.
[  3352.539] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event8)
[  3352.539] (II) No input driver specified, ignoring this device.
[  3352.539] (II) This device may have been added with another device file.
[  3352.539] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event9)
[  3352.539] (II) No input driver specified, ignoring this device.
[  3352.539] (II) This device may have been added with another device file.
[  3352.539] (II) config/udev: Adding input device Logitech Optical USB Mouse (/dev/input/event1)
[  3352.539] (**) Logitech Optical USB Mouse: Applying InputClass "evdev pointer catchall"
[  3352.539] (II) Using input driver 'evdev' for 'Logitech Optical USB Mouse'
[  3352.539] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  3352.539] (**) Logitech Optical USB Mouse: always reports core events
[  3352.539] (**) Logitech Optical USB Mouse: Device: "/dev/input/event1"
[  3352.539] (--) Logitech Optical USB Mouse: Found 3 mouse buttons
[  3352.539] (--) Logitech Optical USB Mouse: Found scroll wheel(s)
[  3352.539] (--) Logitech Optical USB Mouse: Found relative axes
[  3352.539] (--) Logitech Optical USB Mouse: Found x and y relative axes
[  3352.539] (II) Logitech Optical USB Mouse: Configuring as mouse
[  3352.539] (II) Logitech Optical USB Mouse: Adding scrollwheel support
[  3352.539] (**) Logitech Optical USB Mouse: YAxisMapping: buttons 4 and 5
[  3352.539] (**) Logitech Optical USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3352.539] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input1/event1"
[  3352.540] (II) Logitech Optical USB Mouse: initialized for relative axes.
[  3352.540] (**) Logitech Optical USB Mouse: (accel) keeping acceleration scheme 1
[  3352.540] (**) Logitech Optical USB Mouse: (accel) acceleration profile 0
[  3352.540] (**) Logitech Optical USB Mouse: (accel) acceleration factor: 2.000
[  3352.540] (**) Logitech Optical USB Mouse: (accel) acceleration threshold: 4
[  3352.540] (II) config/udev: Adding input device Logitech Optical USB Mouse (/dev/input/mouse0)
[  3352.540] (II) No input driver specified, ignoring this device.
[  3352.540] (II) This device may have been added with another device file.
[  3352.540] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event5)
[  3352.540] (II) No input driver specified, ignoring this device.
[  3352.540] (II) This device may have been added with another device file.
[  3352.540] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  3352.540] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  3352.540] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  3352.540] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  3352.540] (**) AT Translated Set 2 keyboard: always reports core events
[  3352.540] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[  3352.540] (--) AT Translated Set 2 keyboard: Found keys
[  3352.540] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[  3352.540] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  3352.540] (**) Option "xkb_rules" "evdev"
[  3352.540] (**) Option "xkb_model" "evdev"
[  3352.541] (**) Option "xkb_layout" "us"
[  3352.541] (**) Option "xkb_variant" "intl"
[  3352.541] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[  3352.541] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event4)
[  3352.541] (**) HP WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[  3352.541] (II) Using input driver 'evdev' for 'HP WMI hotkeys'
[  3352.541] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  3352.541] (**) HP WMI hotkeys: always reports core events
[  3352.541] (**) HP WMI hotkeys: Device: "/dev/input/event4"
[  3352.541] (--) HP WMI hotkeys: Found keys
[  3352.541] (II) HP WMI hotkeys: Configuring as keyboard
[  3352.541] (**) Option "config_info" "udev:/sys/devices/virtual/input/input4/event4"
[  3352.541] (**) Option "xkb_rules" "evdev"
[  3352.541] (**) Option "xkb_model" "evdev"
[  3352.541] (**) Option "xkb_layout" "us"
[  3352.541] (**) Option "xkb_variant" "intl"
[  3352.541] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"

My ~/.xinitrc

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

exec ck-launch-session fluxbox

My ~/.xsession

#!/bin/sh

#
# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#

/bin/bash --login -i ~/.xinitrc

In my ~/.xsession-errors there's a weird line:

/bin/sh: /home/warnaud/.xsession: Permission denied

Here are the permissions of this file:

-rw-r--r-- 1 warnaud warnaud 100 Feb  3 18:09 /home/warnaud/.xsession

The permissions are the same as the one in /etc/skel

Any hints? (I have dbus launched in my rc.conf like it says here https://wiki.archlinux.org/index.php/XD … fter_login )


-=<>=-
Archlinux French site : http://www.archlinux.fr

Offline

#11 2012-03-06 09:31:29

Warnaud
Member
From: /dev/random
Registered: 2006-03-02
Posts: 58
Website

Re: Unable to login in Xdm [Solved]

Ok found the problem:
I have added execute right for the user on ~/.xsession and it works now:

chmod u+x ~/.xsession

Now the rights for this file are:

-rwxr--r-- 1 warnaud warnaud 100 Feb  3 18:09 /home/warnaud/.xsession

Hope this helps


-=<>=-
Archlinux French site : http://www.archlinux.fr

Offline

#12 2012-03-06 15:13:44

Ghecko
Member
Registered: 2012-03-02
Posts: 3

Re: Unable to login in Xdm [Solved]

Warnaud wrote:

Ok found the problem:
I have added execute right for the user on ~/.xsession and it works now:

chmod u+x ~/.xsession

Now the rights for this file are:

-rwxr--r-- 1 warnaud warnaud 100 Feb  3 18:09 /home/warnaud/.xsession

Hope this helps

thank you that fixed it...

Offline

Board footer

Powered by FluxBB