You are not logged in.

#1 2012-07-07 12:31:05

Artifère
Member
Registered: 2011-11-12
Posts: 11

[Solved] X not working

Hi! I've been running Archlinux for about one year on my old laptot... which had the bad idea to stop working.
So I bought a new one, and installed Archlinux on it. But I fail to have X work on it. I've tried various tips found on the Internet for the past two days, to no avail. I got the "no screens found" problem.
Concerning my graphic cards, I have an intel one (VGA), and an Nvidia Geforce 520 for the 3D.
So I'm searching for some help to keep running on Archlinux, which suits me well.
Thanks in advance.

Last edited by Artifère (2012-07-07 14:25:33)

Offline

#2 2012-07-07 12:41:10

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Solved] X not working

Did you look at /var/log/Xorg.0.log? Are there any obvious errors in the file?

Also see the previous posts in this search: https://us2.ixquick.com/do/search?query … 20found%22

Last edited by 2ManyDogs (2012-07-07 12:48:45)

Offline

#3 2012-07-07 13:48:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,481
Website

Re: [Solved] X not working

Artifère wrote:

I've tried various tips found on the Internet for the past two days, to no avail.

Please give more detail here.  What steps have you tried, and were there any error messages?

The xorg log files as suggested above would also be helpful.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-07-07 13:48:17

Artifère
Member
Registered: 2011-11-12
Posts: 11

Re: [Solved] X not working

Thank you for your quick answer. I looked at your link, but didn't find the answer to my problem.
In fact, I got the "no screens found" after installing nvidia drivers. So I decided, not needing my nvidia card now, to reinstall Archlinux. I installed Archlinux, and then the xf86-video-intel-sna, xorg-server. After that I ran "X" in my shell, and I got a blank screen. On the /var/log/Xorg.0.log, apart from warning about fonts that don't exist, I have that:

[    65.782] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
...
[    65.960] (II) LoadModule: "vesa"
[    65.960] (WW) Warning, couldn't open module vesa
[    65.960] (II) UnloadModule: "vesa"
[    65.960] (II) Unloading vesa
[    65.960] (EE) Failed to load module "vesa" (module does not exist, 0)
[    65.960] (II) LoadModule: "fbdev"
[    65.961] (WW) Warning, couldn't open module fbdev
[    65.961] (II) UnloadModule: "fbdev"
[    65.961] (II) Unloading fbdev
[    65.961] (EE) Failed to load module "fbdev" (module does not exist, 0)

And at the end, following my ctrl+C:

[   126.791] Server terminated successfully (0). Closing log file.

Edit: here is the full log file: http://pastebin.com/1Vii8mNs

Last edited by Artifère (2012-07-07 14:07:14)

Offline

#5 2012-07-07 13:53:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,481
Website

Re: [Solved] X not working

I'm no expert at reading these logs, but it looks like X is working normally.  What's in your ~/.xinitrc?

edit: also, how do you start X?

Note: please use [ code ] ... [ / code ] tags for posting file contents or commands.  See the BBCode link for more information.

Last edited by Trilby (2012-07-07 13:55:06)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2012-07-07 13:58:11

Artifère
Member
Registered: 2011-11-12
Posts: 11

Re: [Solved] X not working

I've no .xinitrc since I haven't installed the xorg-xinit package. But as far as I remember, the bare X servor was less bare than a blank screen. For instance, I have no cursor.
I started X directly with the 'X' command.

Last edited by Artifère (2012-07-07 14:00:07)

Offline

#7 2012-07-07 14:06:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,481
Website

Re: [Solved] X not working

No, it sounds like everything is working just as expected then.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2012-07-07 14:10:09

Artifère
Member
Registered: 2011-11-12
Posts: 11

Re: [Solved] X not working

Okay, so I can install xfce. smile
There is no needto worry about the warning and errors in the X log file then? The ones about fbdev for example.

Offline

#9 2012-07-07 14:14:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,481
Website

Re: [Solved] X not working

The warnings are perfectly normal.  The errors did surprise me, though they are irrelevant as the intel driver is successfully detected and started.

Perhaps X is detecting the second video card and attempting to start a driver for that card as well.  In the absence of the nvidia drivers it tries to fallback on vesa and fbdev which both apparently fail.  If you want to get the second video card working, you'd want to look into this, most likely by installing nvidia or neaveau, but to just get up and running, the intel card and drivers are working.

Last edited by Trilby (2012-07-07 14:14:57)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2012-07-07 14:19:38

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [Solved] X not working

There was never any "bare X server". What there was is less modularization, so you got stuff by default that you now don't get anymore. So unless you install something to run in X, the server has nothing do to and shuts down - it directly told you this: "Server terminated successfully". Successfully = no error = it works.

vesa and fbdev are fallbacks, they'll give you some form of X in case the main driver fails to load. So from this perspective they kinda make sense to install them. But the problem is that they make debugging harder - it's much easier to debug a problem when the server directly errors out instead of loading with a fallback. Further, the vesa driver doesn't play well with KMS drivers.

Last edited by Gusar (2012-07-07 19:35:13)

Offline

#11 2012-07-07 14:24:40

Artifère
Member
Registered: 2011-11-12
Posts: 11

Re: [Solved] X not working

Okay. Indeed, I've just installed xfce4, and it works well. So I'm sorry for having disturbed you, but I thank you very much for your information!

Offline

Board footer

Powered by FluxBB