You are not logged in.
Hello!
Every problem I have encountered in Arch I have solved with the almighty google but now I face a problem that I can not find a solution for. I'm using KDE on my netbook and wanted to switch to lxde because it runs much better under lxde. I have installed lxde and I can boot into it, but I can not login via SLIM because when I try, this pops-up "Failed to Execute Login command". Some suggested that I remove slim.lock in /var/lock but that folder is empty.
My .xinitrc is executable and looks like this:
#!/bin/sh
ecex startlxdeSlim error code looks like this:
slim: waiting for X server to begin accepting connections
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.1.5-1-ARCH x86_64
Current Operating System: Linux arch 3.1.5-1-ARCH #1 SMP PREEMPT Sat Dec 10 14:43:09 CET 2011 x86_64
Kernel command line: root=/dev/disk/by-uuid/aab8f601-ac6b-4278-adfe-fbf6166004bc ro
Build Date: 17 December 2011 09:17:41AM
Current version of pixman: 0.24.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: Thu Dec 29 01:13:20 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
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
.
slim: unexpected signal 15
slim: waiting for X server to shut downServer terminated successfully (0). Closing log file.
/usr/bin/xauth: file /var/run/slim.auth does not exist
slim: waiting for X server to begin accepting connections
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.1.5-1-ARCH x86_64
Current Operating System: Linux arch 3.1.5-1-ARCH #1 SMP PREEMPT Sat Dec 10 14:43:09 CET 2011 x86_64
Kernel command line: root=/dev/disk/by-uuid/aab8f601-ac6b-4278-adfe-fbf6166004bc ro
Build Date: 17 December 2011 09:17:41AM
Current version of pixman: 0.24.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: Thu Dec 29 02:06:53 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
.
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
/usr/bin/xauth: file /home/chaz/.Xauthority does not exist
/home/chaz/.xinitrc: line 2: ecex: command not found
slim: waiting for X server to shut downServer terminated successfully (0). Closing log file.
/usr/bin/xauth: file /var/run/slim.auth does not exist
slim: waiting for X server to begin accepting connections
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.1.5-1-ARCH x86_64
Current Operating System: Linux arch 3.1.5-1-ARCH #1 SMP PREEMPT Sat Dec 10 14:43:09 CET 2011 x86_64
Kernel command line: root=/dev/disk/by-uuid/aab8f601-ac6b-4278-adfe-fbf6166004bc ro
Build Date: 17 December 2011 09:17:41AM
Current version of pixman: 0.24.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: Thu Dec 29 02:07:08 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
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
.
slim: unexpected signal 15
slim: waiting for X server to shut downServer terminated successfully (0). Closing log file.My last problem is my wireless network. On KDE a use the wpa_gui for wpa_supplicant and it works perfectly. When I switched to lxde, wpa_gui said it couldn't not load from wpa_supplicant, so I installed wicd and I scanned for all the networks, chose mine, entered my password but it couldn't connect because of bad password even though the password is correct. Wicd works when running KDE.
Anyone who can help?
Last edited by zangetsu (2011-12-31 11:40:34)
Offline
Slim error code looks like this:
... /usr/bin/xauth: file /var/run/slim.auth does not existMy last problem is my wireless network. On KDE a use the wpa_gui for wpa_supplicant and it works perfectly. When I switched to lxde, wpa_gui said it couldn't not load from wpa_supplicant, so I installed wicd and I scanned for all the networks, chose mine, entered my password but it couldn't connect because of bad password even though the password is correct. Wicd works when running KDE.
Anyone who can help?
I have never used slim, but the error message above sounds like you are missing a config bit there, maybe that is causing the troubles.
As for WICD: Check if it is asking for your root password (to modify/setup a connection entry/profile) or specifically for a WPA password there.
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
My .xinitrc is executable and looks like this:
#!/bin/sh ecex startlxde
Is that just a typo in your post or does your .xinitrc contain the typo? It should be "exec" not "ecex".
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Hi there,
You need an active ConsoleKit session to do system changes such as rebooting, changing network configuration, etc.
I read you use slim, which does not do that automatically for you (kdm and gdm does).
Open /etc/slim.conf and add ck-launch-session in the login_cmd line :
login_cmd exec ck-launch-session /bin/bash -login ~/.xinitrc %session
Log out and log in, Wicd should be working.
Offline
zangetsu wrote:Slim error code looks like this:
... /usr/bin/xauth: file /var/run/slim.auth does not existMy last problem is my wireless network. On KDE a use the wpa_gui for wpa_supplicant and it works perfectly. When I switched to lxde, wpa_gui said it couldn't not load from wpa_supplicant, so I installed wicd and I scanned for all the networks, chose mine, entered my password but it couldn't connect because of bad password even though the password is correct. Wicd works when running KDE.
Anyone who can help?
I have never used slim, but the error message above sounds like you are missing a config bit there, maybe that is causing the troubles.
As for WICD: Check if it is asking for your root password (to modify/setup a connection entry/profile) or specifically for a WPA password there.
As soon as the desktop loads, wicd asks me for a password to access my network cards, I enter it, but it doesn't connect to my router.
Hi there,
You need an active ConsoleKit session to do system changes such as rebooting, changing network configuration, etc.
I read you use slim, which does not do that automatically for you (kdm and gdm does).
Open /etc/slim.conf and add ck-launch-session in the login_cmd line :
login_cmd exec ck-launch-session /bin/bash -login ~/.xinitrc %session
Log out and log in, Wicd should be working.
Well, now I can login via slim, but wicd is not working neither is wpa_gui/wpa_supplicant. Both still work under KDE.
Last edited by zangetsu (2011-12-29 16:49:29)
Offline
Offline
Have you tried:
iw WLAN0 connect SPOTNAMECapitals should be change to your enviroment.
Didn't work ![]()
Here is the error code from wicd:
2011/12/29 20:59:30 :: ---------------------------
2011/12/29 20:59:30 :: wicd initializing...
2011/12/29 20:59:30 :: ---------------------------
2011/12/29 20:59:30 :: wicd is version 1.7.0 552
2011/12/29 20:59:30 :: setting backend to external
2011/12/29 20:59:30 :: trying to load backend external
2011/12/29 20:59:30 :: successfully loaded backend external
2011/12/29 20:59:30 :: trying to load backend external
2011/12/29 20:59:30 :: successfully loaded backend external
2011/12/29 20:59:30 :: Automatically detected wireless interface wlan0
2011/12/29 20:59:30 :: setting wireless interface wlan0
2011/12/29 20:59:30 :: automatically detected wired interface eth0
2011/12/29 20:59:30 :: setting wired interface eth0
2011/12/29 20:59:30 :: setting wpa driver wext
2011/12/29 20:59:30 :: setting use global dns to False
2011/12/29 20:59:30 :: setting global dns
2011/12/29 20:59:30 :: global dns servers are None None None
2011/12/29 20:59:30 :: domain is None
2011/12/29 20:59:30 :: search domain is None
2011/12/29 20:59:30 :: setting automatically reconnect when connection drops True
2011/12/29 20:59:30 :: Setting dhcp client to 0
2011/12/29 20:59:30 :: Wireless configuration file found...
2011/12/29 20:59:30 :: Wired configuration file found...
2011/12/29 20:59:30 :: chmoding configuration files 0600...
2011/12/29 20:59:30 :: chowning configuration files root:root...
2011/12/29 20:59:30 :: Using wireless interface...wlan0
2011/12/29 20:59:30 :: Using wired interface...eth0
2011/12/29 20:59:35 :: Autoconnecting...
2011/12/29 20:59:35 :: No wired connection present, attempting to autoconnect to wireless network
2011/12/29 20:59:36 :: trying to automatically connect to...MegaNet
2011/12/29 20:59:36 :: Connecting to wireless network MegaNet
2011/12/29 20:59:37 :: Putting interface down
2011/12/29 20:59:37 :: Releasing DHCP leases...
2011/12/29 20:59:37 :: Setting false IP...
2011/12/29 20:59:37 :: Stopping wpa_supplicant
2011/12/29 20:59:37 :: Flushing the routing table...
2011/12/29 20:59:37 :: Putting interface up...
2011/12/29 20:59:39 :: Generating psk...
2011/12/29 20:59:39 :: Attempting to authenticate...
2011/12/29 21:00:15 :: wpa_supplicant authentication may have failed.
2011/12/29 21:00:15 :: connect result is Failed
2011/12/29 21:00:15 :: exiting connection thread
2011/12/29 21:00:18 :: Sending connection attempt result bad_pass
2011/12/29 21:00:18 :: Autoconnecting...
2011/12/29 21:00:18 :: No wired connection present, attempting to autoconnect to wireless network
2011/12/29 21:00:18 :: Unable to autoconnect, you'll have to manually connect
2011/12/29 21:00:23 :: Autoconnecting...
2011/12/29 21:00:23 :: No wired connection present, attempting to autoconnect to wireless network
2011/12/29 21:00:25 :: trying to automatically connect to...MegaNet
2011/12/29 21:00:25 :: Connecting to wireless network MegaNet
2011/12/29 21:00:25 :: Putting interface down
2011/12/29 21:00:25 :: Releasing DHCP leases...
2011/12/29 21:00:25 :: Setting false IP...
2011/12/29 21:00:25 :: Stopping wpa_supplicant
2011/12/29 21:00:25 :: Flushing the routing table...
2011/12/29 21:00:25 :: Putting interface up...
2011/12/29 21:00:27 :: Generating psk...
2011/12/29 21:00:27 :: Attempting to authenticate...
2011/12/29 21:01:02 :: wpa_supplicant authentication may have failed.
2011/12/29 21:01:02 :: connect result is Failed
2011/12/29 21:01:02 :: exiting connection thread
2011/12/29 21:01:03 :: Sending connection attempt result bad_pass
2011/12/29 21:01:19 :: Autoconnecting...
2011/12/29 21:01:19 :: No wired connection present, attempting to autoconnect to wireless network
2011/12/29 21:01:20 :: trying to automatically connect to...MegaNet
2011/12/29 21:01:20 :: Connecting to wireless network MegaNet
2011/12/29 21:01:21 :: Putting interface down
2011/12/29 21:01:21 :: Releasing DHCP leases...
2011/12/29 21:01:21 :: Setting false IP...
2011/12/29 21:01:21 :: Stopping wpa_supplicant
2011/12/29 21:01:21 :: Flushing the routing table...
2011/12/29 21:01:21 :: Putting interface up...
2011/12/29 21:01:23 :: Generating psk...
2011/12/29 21:01:23 :: Attempting to authenticate...
2011/12/29 21:01:58 :: wpa_supplicant authentication may have failed.
2011/12/29 21:01:58 :: connect result is Failed
2011/12/29 21:01:58 :: exiting connection thread
2011/12/29 21:02:02 :: Sending connection attempt result bad_passIt said something about D-BUS, that it couldn't initiate or load wicd.
Offline
It said something about D-BUS, that it couldn't initiate or load wicd.
Is a session dbus instance being created when you login?
dbus-launch --sh-syntax --exit-with-sessionThat .xinitrc isn't doing it and openbox doesn't run dbus-launch from its default autostart file any more.
Offline
zangetsu wrote:It said something about D-BUS, that it couldn't initiate or load wicd.
Is a session dbus instance being created when you login?
dbus-launch --sh-syntax --exit-with-sessionThat .xinitrc isn't doing it and openbox doesn't run dbus-launch from its default autostart file any more.
This is the exact message I get "Could not connect to wicd's D-Bus interface. Check the wicd log for error messages." when I login using lxde.
Offline
Can you post the wicd log, slim.conf and your wicd config files please. You can check if you have an active consolekit session with the command "ck-list-sessions".
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
And also the output of
echo $DBUS_SESSION_BUS_ADDRESSwhich should look something like
unix:abstract=/tmp/dbus-YNtWMUvLva,guid=5fc2bd01325877f67dc088e200000130Offline
And also the output of
echo $DBUS_SESSION_BUS_ADDRESSwhich should look something like
unix:abstract=/tmp/dbus-YNtWMUvLva,guid=5fc2bd01325877f67dc088e200000130
Result:
bash: unix:abstract=/tmp/dbus-06KXNp43U2,guid=aa4d7f2bd0d69eadea659823000065fc: No such file or directory---
Can you post the wicd log, slim.conf and your wicd config files please. You can check if you have an active consolekit session with the command "ck-list-sessions".
Consolekit:
unix-user = '1000'
realname = ''
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-12-30T15:51:45.904937Z'
login-session-id = '4294967295Slim:
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path /bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
# Commands for halt, login, etc.
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
# numlock on
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
login_cmd exec ck-launch-session /bin/bash -login ~/.xinitrc %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd some command
# sessionstop_cmd some command
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions xfce4,icewm,wmaker,blackbox
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd import -window root /slim.png
# welcome message. Available variables: %host, %domain
welcome_msg Welcome to %host
# Session message. Prepended to the session name when pressing F1
# session_msg Session:
# shutdown / reboot messages
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user simone
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login no
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme default
# Lock file
lockfile /var/lock/slim.lock
# Log file
logfile /var/log/slim.logLast edited by zangetsu (2011-12-30 17:39:59)
Offline
Sigh...
Apparently I had forgotten to include wicd in the deamons(rc.conf), now everything works.
Offline
Don't forget to mark this topic [SOLVED]!
Offline