You are not logged in.
Pages: 1
This started some time while I was setting up X: When I try to log into tty1 (tty2 to tty6 works), it gives some error message and logs out immediately. Since it clears the screen after logging out, I can't make out any more of the error message than "/etc/X11". How do I figure out what's happening, or if someone knows what's wrong, how do I fix it?
Last edited by howardh (2012-11-13 06:03:02)
Offline
Check your Xorg log...
Offline
There seems to be a seg fault in there, but I have no idea what it means.
[ 41.304] (**) ThinkPad Extra Buttons: always reports core events
[ 41.304] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event5"
[ 41.304] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[ 41.304] (--) evdev: ThinkPad Extra Buttons: Found keys
[ 41.304] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[ 41.304] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event5"
[ 41.304] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 12)
[ 41.304] (**) Option "xkb_rules" "evdev"
[ 41.304] (**) Option "xkb_model" "evdev"
[ 41.304] (**) Option "xkb_layout" "us"
[ 520.244] (EE)
[ 520.244] (EE) Backtrace:
[ 520.247] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x58a006]
[ 520.247] (EE) 1: /usr/bin/X (0x400000+0x18de59) [0x58de59]
[ 520.247] (EE) 2: /usr/lib/libpthread.so.0 (0x7fa9ea419000+0xf1a0) [0x7fa9ea4281a0]
[ 520.248] (EE) 3: /usr/bin/X (0x400000+0x4d7d0) [0x44d7d0]
[ 520.248] (EE) 4: /usr/bin/X (0x400000+0x142ef8) [0x542ef8]
[ 520.248] (EE) 5: /usr/bin/X (0x400000+0x13d474) [0x53d474]
[ 520.248] (EE) 6: /usr/bin/X (mieqProcessDeviceEvent+0x1b5) [0x56b795]
[ 520.248] (EE) 7: /usr/bin/X (0x400000+0x2f4bc) [0x42f4bc]
[ 520.248] (EE) 8: /usr/bin/X (DisableDevice+0xbc) [0x430c6c]
[ 520.248] (EE) 9: /usr/bin/X (0x400000+0x31152) [0x431152]
[ 520.248] (EE) 10: /usr/bin/X (0x400000+0x26935) [0x426935]
[ 520.248] (EE) 11: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fa9e90b8725]
[ 520.248] (EE) 12: /usr/bin/X (0x400000+0x26c6d) [0x426c6d]
[ 520.248] (EE)
[ 520.248] (EE) Segmentation fault at address 0xd0
[ 520.248]
Fatal server error:
[ 520.248] Caught signal 11 (Segmentation fault). Server aborting
[ 520.248]
[ 520.248] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 520.248] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 520.249] (EE)
[ 520.266] (II) evdev: TPPS/2 IBM TrackPoint: Close
[ 520.266] (II) UnloadModule: "evdev"
[ 520.280] (II) evdev: ThinkPad Extra Buttons: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.280] (II) UnloadModule: "synaptics"
[ 520.280] (II) evdev: AT Translated Set 2 keyboard: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.280] (II) evdev: Integrated Camera: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.280] (II) evdev: Power Button: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.280] (II) evdev: Power Button: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.748] Server terminated with error (1). Closing log file.Offline
My first thought was that there could be something problematic in your xinitrc - and that would still be good to check to be sure - but that error is very early in the starting of X, so I am less inclined to think xinitrc is relevant. A video driver or other optional extension seems the more likely suspect.
What video driver do you use? Do you add anything to xorg.conf? Can you remove all 'extras' from xorg.conf (and things like the Thinkpad Buttons) to try a 'vanilla' x start.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I don't seem to have an xorg.conf file (Checked all the directories listed in the xorg.conf man page), but I do have an /etc/X11/xorg.conf.d folder, to which I added something so that I can use my middle button. I removed the file and rebooted, but it didn't change anything.
I think I caught a glimpse of "session" somewhere in that error message.
The problem isn't with starting X though. X runs fine, I just can't log into the first virtual terminal. The seg fault doesn't appear in the current log, so possibly irrelevant to the problem?
My .xinitrc file consists of one line: "exec awesome".
Video driver: xf86-video-intel (or vesa? I don't know how to determine which is used)
I followed the Wiki's Beginner's Guide and installed the following in this order:
xorg-server
xorg-xinit
xorg-server-utils
xf86-video-vesa
xf86-video-intel
Offline
How do you start X?
Offline
Using "startx", is that what you meant?
Offline
Wait, so X is running and you are switching to tty1 to log in there to the console?
Do you, by chance, have a conditional in your bashrc to start x when logging in to tty1? This is a common way to start X at boot, if you then implemented a different way of starting X (and put it on tty7) but you didn't remove this from your bashrc, this could be a likely result.
Edit: now I'm more confused - you start x with `startx`? Where do you run startx from? TTY1 right?
Last edited by Trilby (2012-11-11 16:19:29)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I boot into tty1's login screen. Unless one of the packages I installed changed my bashrc file (I will verify later when I have access to my laptop), X should not start when I boot up as I never touched the file.
I run startx from any of the other virtual terminals (tty2 to tty6), since I can't log in on tty1.
Last edited by howardh (2012-11-11 17:22:53)
Offline
Given you start X from tty1 you may force it to run in another VT using startx like this:
startx -- vt02Then you'll be able to switch back to tty1 from within the running X.
To know or not to know ...
... the questions remain forever.
Offline
My .bashrc file contains nothing for starting X.
Given you start X from tty1 you may force it to run in another VT using startx like this:
startx -- vt02Then you'll be able to switch back to tty1 from within the running X.
I followed your instructions, and it seems the seg fault happens when I try to switch into a virtual terminal after I've started X. I don't know if it's related to the original issue, but it is something that needs to be fixed too.
What I did:
Boot up
switch to tty2 and log in
Run "startx -- vt2"
ctrl+alt+fn+f1 (because I need to press fn to get to f1 on this laptop)
seg fault (All I see is the background colour)
Rebooted with ctrl+alt+delete
I'm going to try uninstalling some of the packages to see if I can revert whatever caused the problem.
[edit]
And that does solve the problem (the original problem, at least)! cdm-git was the issue (forgot I had installed it), and after I removed the package, I can now log into tty1.
The problem of X seg faulting when I try switching to a vitual terminal remains.
Should I be keeping everything to this thread or start a new one for this problem?
Last edited by howardh (2012-11-12 06:24:46)
Offline
Pages: 1