You are not logged in.
Hey,
I am new to arch and my x server broke the first time.
when doing 'startx', it says
'waiting for X server to begin accepting connections'
I could not really figure out what the problem is. most likely it is about the graphic drivers.
after I fumbled a bit with them, it once somehow worked again but after a reboot to check I had the error again.
you can see the log, here
I would appreciate it if you could point me in a direction so I can learn to answer those issues myself in the future.
thanks,
EDIT1:
I have a Thinkpad T420 with Nvidia graphics
HD3000
Nvidia N4200M
i7 2620
I think I didnt do much besides installling drivers. xf86-video-intel and nouveau. the latter I deinstalled whilst trying to fix the error.
for xinit. I added 'exec i3' to the default.
here is the pastebin
EDIT2:
After booting, logging in and typing 'startx' into the prompt,
nothing happens for about 10 seconds, then it displays
'waiting for X server to begin accepting connections .'
..
..
..
..
(those dots for quite a while)
..
..
INFO: task kworker/0:2:244 blocked for more than 120 seconds.
not tainted 4.9.6-1-ARCH #1
echo 0 > /proc /sys/kernel/hung_task-timeout_secs" diables this message
INFO: task Xorg.wrap:602 blocked for more than 120 seconds
not tainted 4.9.6-1-ARCH #1
echo 0 > /proc /sys/kernel/hung_task-timeout_secs" diables this message
..
..
..
xinit: giving up
xinit: unable to connect to X server: Connection refused
waiting for X server to shut down ........
xinit: X server slow to shut down, sending KILL signal
waiting for server to die ...
xinit: X server refuses to die
after which it resumes to the command prompt
EDIT3:
PROBLEM: it seems like that nouveau drivers are conflicting with new kernel updates
SOLUTION: remove nouveau (and mesa) and install nvidia
Last edited by rswursti (2017-02-05 23:49:36)
Offline
This is a hybrid graphics machine? Please paste details of your setup: cards, drivers, what you have done--if anyting--to configure it.
Also, according to the log, you haven't given X anything to do. What is in your .xinitrc?
Offline
thank you for the fast answer.
I edited the details into the original post.
Offline
There is no error (anymore) in your log. It exited successfully. This usually means there is nothing in the ~/.xinitrc.
You say you added "exec i3" to the default. Do you mean you copied the default to your home directory and added that line to ~/.xinitrc, or did you add it to the default in /etc? In otherwords, is the file you posted on the pastebin your ~/.xinitrc?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
is the file you posted on the pastebin your ~/.xinitrc?
yes, this one.
so there is no error with the x server? at least one good thing to hear.
I just tested to be 100% sure, it still has the same 'waiting to connect' problem when i do startx.
Offline
When/where do you see that waiting to connect message? What is the *full* output when you run startx?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
After booting, logging in and typing 'startx' into the prompt,
nothing happens for about 10 seconds, then it displays
'waiting for X server to begin accepting connections .'
..
..
..
..
(those dots for quite a while)
..
..
INFO: task kworker/0:2:244 blocked for more than 120 seconds.
not tainted 4.9.6-1-ARCH #1
echo 0 > /proc /sys/kernel/hung_task-timeout_secs" diables this message
INFO: task Xorg.wrap:602 blocked for more than 120 seconds
not tainted 4.9.6-1-ARCH #1
echo 0 > /proc /sys/kernel/hung_task-timeout_secs" diables this message
..
..
..
xinit: giving up
xinit: unable to connect to X server: Connection refused
waiting for X server to shut down ........
xinit: X server slow to shut down, sending KILL signal
waiting for server to die ...
xinit: X server refuses to die
after which it resumes to the command prompt
Offline
Does removing the xf86-video-intel package affect the issue?
Offline
Sadly, it doesn't.
I also tried with only Nouveau Nvidia Driver whilst xf86-video-intel is removed, but no results.
Offline
Hmm, this looks like a nouveau issue:
https://bbs.archlinux.org/viewtopic.php?id=222636
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
thank you very much. that solved it (shall I rename the thread in SOLVED? I will edit the solution in original post)
I removed nouveau and mesa and installed nvidia.
now everything is working fine.
Offline
Did you configure optimus as well. Without configuration X will use the modesetting driver without libgl acceleration on the intel GPU and the nvidia GPU will not be used.
It would work in this configuration because the nvidia package supplies a blacklist that prevents the loading of the nouveau module.
If you are satisfied the issue is solved please mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.
Offline