You are not logged in.
Pages: 1
One day when I booted my computer (without making any previous changes or updates that I know of) I found myself at the command line login instead of kdm. When I after loging in run:
sudo kdm
Nothing happens, and when i try:
startkde
The resulting message is:
$DISPLAY is not set or cannot connect to x server
I have tried to find a solution to this but the few things I found didn't yield any results, any ideas?
Edit: It also stays "busy" abnormaly long during the boot process (maybe half a minute) at "waiting for udev uevents to be processed" It might have something to do with but I'm not sure
Last edited by Labus (2011-05-11 19:53:50)
Offline
What output do you get with:
$ startx
Are you sure you didn't update any graphics drivers, kernel, xorg ? Looks like X fails to start, you might also want to post you Xorg.log.
github - tweets
avatar: The Oathmeal
Offline
Check your .xinitrc file. Is the exec line in there?
Offline
check that dbus is running and then start kdm:
/etc/rc.d/dbus restart
/etc/rc.d/kdm restart
check xorg log for errors:
cat /var/log/Xorg.0.log | grep EE
Last edited by broken pipe (2011-05-11 20:08:07)
Offline
Varg:
startx
gave me this:
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
That seems like it could be helpful
And this is my Xorg.0.log file:
[ 69.112]
X.Org X Server 1.10.1
Release Date: 2011-04-15
[ 69.122] X Protocol Version 11, Revision 0
[ 69.123] Build Operating System: Linux 2.6.38-ARCH x86_64
[ 69.123] Current Operating System: Linux nexus 2.6.38-ARCH #1 SMP PREEMPT Tue May 3 07:40:34 CEST 2011 x86_64
[ 69.123] Kernel command line: root=/dev/disk/by-uuid/4bb84d17-6a55-4141-a93f-cc3e9e42f9ee ro vga=789
[ 69.123] Build Date: 16 April 2011 12:02:01PM
[ 69.123]
[ 69.123] Current version of pixman: 0.20.2
[ 69.123] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 69.123] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 69.123] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 12 15:21:07 2011
[ 69.148] (==) Using config file: "/etc/X11/xorg.conf"
[ 69.148] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 69.173] (==) ServerLayout "Layout0"
[ 69.173] (**) |-->Screen "Screen0" (0)
[ 69.173] (**) | |-->Monitor "Monitor0"
[ 69.173] (**) | |-->Device "Device0"
[ 69.173] (**) |-->Input Device "Keyboard0"
[ 69.173] (**) |-->Input Device "Mouse0"
[ 69.173] (==) Automatically adding devices
[ 69.173] (==) Automatically enabling devices
[ 69.195] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 69.195] Entry deleted from font path.
[ 69.214] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 69.214] Entry deleted from font path.
[ 69.214] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 69.215] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 69.215] Entry deleted from font path.
[ 69.215] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 69.215] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 69.215] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 69.215] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 69.215] (WW) Disabling Keyboard0
[ 69.215] (WW) Disabling Mouse0
[ 69.215] (II) Loader magic: 0x7d6fa0
[ 69.215] (II) Module ABI versions:
[ 69.215] X.Org ANSI C Emulation: 0.4
[ 69.215] X.Org Video Driver: 10.0
[ 69.215] X.Org XInput driver : 12.2
[ 69.215] X.Org Server Extension : 5.0
[ 69.215] (--) PCI:*(0:2:0:0) 10de:0dc4:1458:3500 rev 161, Mem @ 0xde000000/16777216, 0xd0000000/134217728, 0xd8000000/33554432, I/O @ 0x0000ec00/128, BIOS @ 0x????????/524288
[ 69.215] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 69.215] (II) LoadModule: "extmod"
[ 69.216] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 69.225] (II) Module extmod: vendor="X.Org Foundation"
[ 69.225] compiled for 1.10.1, module version = 1.0.0
[ 69.225] Module class: X.Org Server Extension
[ 69.225] ABI class: X.Org Server Extension, version 5.0
[ 69.225] (II) Loading extension MIT-SCREEN-SAVER
[ 69.225] (II) Loading extension XFree86-VidModeExtension
[ 69.225] (II) Loading extension XFree86-DGA
[ 69.225] (II) Loading extension DPMS
[ 69.225] (II) Loading extension XVideo
[ 69.225] (II) Loading extension XVideo-MotionCompensation
[ 69.225] (II) Loading extension X-Resource
[ 69.225] (II) LoadModule: "dbe"
[ 69.225] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 69.226] (II) Module dbe: vendor="X.Org Foundation"
[ 69.226] compiled for 1.10.1, module version = 1.0.0
[ 69.226] Module class: X.Org Server Extension
[ 69.226] ABI class: X.Org Server Extension, version 5.0
[ 69.226] (II) Loading extension DOUBLE-BUFFER
[ 69.226] (II) LoadModule: "glx"
[ 69.226] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 69.527] (II) Module glx: vendor="NVIDIA Corporation"
[ 69.537] compiled for 4.0.2, module version = 1.0.0
[ 69.537] Module class: X.Org Server Extension
[ 69.537] (II) NVIDIA GLX Module 270.41.06 Mon Apr 18 15:10:15 PDT 2011
[ 69.537] (II) Loading extension GLX
[ 69.537] (II) LoadModule: "record"
[ 69.537] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 69.542] (II) Module record: vendor="X.Org Foundation"
[ 69.542] compiled for 1.10.1, module version = 1.13.0
[ 69.542] Module class: X.Org Server Extension
[ 69.542] ABI class: X.Org Server Extension, version 5.0
[ 69.542] (II) Loading extension RECORD
[ 69.542] (II) LoadModule: "dri"
[ 69.542] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 69.548] (II) Module dri: vendor="X.Org Foundation"
[ 69.548] compiled for 1.10.1, module version = 1.0.0
[ 69.548] ABI class: X.Org Server Extension, version 5.0
[ 69.548] (II) Loading extension XFree86-DRI
[ 69.548] (II) LoadModule: "dri2"
[ 69.548] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 69.548] (II) Module dri2: vendor="X.Org Foundation"
[ 69.548] compiled for 1.10.1, module version = 1.2.0
[ 69.548] ABI class: X.Org Server Extension, version 5.0
[ 69.548] (II) Loading extension DRI2
[ 69.548] (II) LoadModule: "nvidia"
[ 69.548] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 69.603] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 69.604] compiled for 4.0.2, module version = 1.0.0
[ 69.604] Module class: X.Org Video Driver
NictraSavios: The exec line is there and it looks like this:
exec xterm -geometry 80x66+0+0 -name login
Although it's not a hidden file in my home directory as I thought it was supposed to be but instead it's here: /etc/X11/xinit/xinitrc
broken pipe:
sudo /etc/rc.d./dbus restart
gave this
Stopping D-BUS system messagebus [DONE]
Starting D-BUS system messagebus [DONE]
And
sudo /etc/rc.d/kdm restart
gave this
Stopping KDE Desktop Manager [DONE]
Starting KDE Desktop Manager [FAIL]
for Xorg log look above
Hope this helps
Last edited by Labus (2011-05-12 13:51:23)
Offline
How do you launch KDE ? The inittab method or daemon method ? When you start KDE with kdm it doesn't look for the .xinitrc file.
To test kde make a .xinitrc file in your home directory, it should be a hidden file. The one you posted is the default one and you shouldn't change it unless you put it in your home directory.
Make it like this:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
exec ck-launch-session dbus-launch startkde
Then reboot to runlevel 3 ( init 3 ) and startx.
github - tweets
avatar: The Oathmeal
Offline
I use the inittab method,
and "startx" with that in a new .xinitrc file gave this:
X.Org Server 1.10.1
Release Date: 2011-04-15
X Protocol Version 11, Revision 0
Build operating system: Linux 2.6.38-ARCH x86_64
Current operating system: Linux nexus 2.6.38-ARCH #1 SMP PREEMPT Tue May 3 07:40:34 CEST 2011 x86_64
Kernel command line: root=/dev/disk/by-uuid/4bb84d17-6a55-4141-a93f-cc3e9e42f9ee ro vga=789
Build Date: 16 April 2011 12:02:01 PM
Current version of pixman: 0.20.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest vesion.
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 May 12 17:51:40 2011
(==) Using config file: "/etc/X11/xorg.conf.d
(==) Using config directory: "/etc/X11/xorg.conf.d"
Offline
No errors regarding KDE ? X seems to start just fine.
Is your system up to date ?
github - tweets
avatar: The Oathmeal
Offline
No, there's no errors regarding KDE.
It is up to date but I did an update just in case, but I still get to the console login, but now my keyboard doesn't respond. It works fine in the Grub menu and in BIOS, and a non-usb keyboard works. My eth0 connection isn't discovered either.
Last edited by Labus (2011-05-13 17:20:36)
Offline
Thank you for all the help but i think it's easier to just reinstall at this point, but I've definitely learned a lot during this experience
Offline
Pages: 1