You are not logged in.

#1 2014-08-22 14:32:37

liofter
Member
Registered: 2014-08-22
Posts: 5

(SOLVED) startx not working after fresh installation

Hello to everybody.

I have just installed ARCH on my laptop (with separate partitions for root and home) following the Beginner's Guide.
I have installed xorg-server, xorg-server-utils, xorg-xinit as well as xorg-twm,xorg-clock and x-term.
I have also installed xf86-video-vesa and xf86-video-nouveau.

But when i have startx running it fails (reporting this: xinit: unable to connect to X server: Connection refused).

Here is Xorg.0.log           

[  1848.740] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[  1848.742] X Protocol Version 11, Revision 0
[  1848.742] Build Operating System: Linux 3.15.5-2-ARCH x86_64 
[  1848.743] Current Operating System: Linux liofter 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64
[  1848.743] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a7a4eaa2-6bce-45c8-9255-43a0dce1565c rw quiet
[  1848.744] Build Date: 31 July 2014  11:53:19AM
[  1848.745]  
[  1848.746] Current version of pixman: 0.32.6
[  1848.747] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[  1848.747] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1848.751] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 22 16:35:16 2014
[  1848.752] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1848.752] (==) No Layout section.  Using the first Screen section.
[  1848.752] (==) No screen section available. Using defaults.
[  1848.752] (**) |-->Screen "Default Screen Section" (0)
[  1848.752] (**) |   |-->Monitor "<default monitor>"
[  1848.752] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1848.752] (==) Automatically adding devices
[  1848.752] (==) Automatically enabling devices
[  1848.752] (==) Automatically adding GPU devices
[  1848.752] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  1848.752] 	Entry deleted from font path.
[  1848.752] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1848.752] 	Entry deleted from font path.
[  1848.752] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1848.752] 	Entry deleted from font path.
[  1848.752] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1848.752] 	Entry deleted from font path.
[  1848.752] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1848.752] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1848.752] 	Entry deleted from font path.
[  1848.752] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1848.752] (==) FontPath set to:
	/usr/share/fonts/misc/
[  1848.752] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1848.752] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1848.752] (II) Loader magic: 0x818d80
[  1848.752] (II) Module ABI versions:
[  1848.752] 	X.Org ANSI C Emulation: 0.4
[  1848.752] 	X.Org Video Driver: 18.0
[  1848.752] 	X.Org XInput driver : 21.0
[  1848.752] 	X.Org Server Extension : 8.0
[  1848.753] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  1848.754] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1848.754] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[  1848.754] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1848.754] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[  1848.756] (--) PCI:*(0:0:2:0) 8086:2a42:104d:9025 rev 7, Mem @ 0xe8400000/4194304, 0xd0000000/268435456, I/O @ 0x00008130/8
[  1848.756] (--) PCI: (0:1:0:0) 10de:06e5:104d:9025 rev 161, Mem @ 0xe4000000/16777216, 0xc0000000/268435456, 0xe2000000/33554432, I/O @ 0x00007000/128
[  1848.756] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1848.756] (II) LoadModule: "glx"
[  1848.756] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1848.757] (II) Module glx: vendor="X.Org Foundation"
[  1848.757] 	compiled for 1.16.0, module version = 1.0.0
[  1848.757] 	ABI class: X.Org Server Extension, version 8.0
[  1848.757] (==) AIGLX enabled
[  1848.757] (==) Matched intel as autoconfigured driver 0
[  1848.757] (==) Matched nouveau as autoconfigured driver 1
[  1848.757] (==) Matched nvidia as autoconfigured driver 2
[  1848.757] (==) Matched nv as autoconfigured driver 3
[  1848.757] (==) Matched intel as autoconfigured driver 4
[  1848.758] (==) Matched modesetting as autoconfigured driver 5
[  1848.758] (==) Matched fbdev as autoconfigured driver 6
[  1848.758] (==) Matched vesa as autoconfigured driver 7
[  1848.758] (==) Assigned the driver to the xf86ConfigLayout
[  1848.758] (II) LoadModule: "intel"
[  1848.758] (WW) Warning, couldn't open module intel
[  1848.758] (II) UnloadModule: "intel"
[  1848.758] (II) Unloading intel
[  1848.758] (EE) Failed to load module "intel" (module does not exist, 0)
[  1848.758] (II) LoadModule: "nouveau"
[  1848.758] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  1848.758] (II) Module nouveau: vendor="X.Org Foundation"
[  1848.758] 	compiled for 1.16.0, module version = 1.0.10
[  1848.758] 	Module class: X.Org Video Driver
[  1848.758] 	ABI class: X.Org Video Driver, version 18.0
[  1848.758] (II) LoadModule: "nvidia"
[  1848.758] (WW) Warning, couldn't open module nvidia
[  1848.758] (II) UnloadModule: "nvidia"
[  1848.758] (II) Unloading nvidia
[  1848.758] (EE) Failed to load module "nvidia" (module does not exist, 0)
[  1848.758] (II) LoadModule: "nv"
[  1848.758] (WW) Warning, couldn't open module nv
[  1848.758] (II) UnloadModule: "nv"
[  1848.758] (II) Unloading nv
[  1848.758] (EE) Failed to load module "nv" (module does not exist, 0)
[  1848.758] (II) LoadModule: "modesetting"
[  1848.758] (WW) Warning, couldn't open module modesetting
[  1848.758] (II) UnloadModule: "modesetting"
[  1848.758] (II) Unloading modesetting
[  1848.759] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  1848.759] (II) LoadModule: "fbdev"
[  1848.759] (WW) Warning, couldn't open module fbdev
[  1848.759] (II) UnloadModule: "fbdev"
[  1848.759] (II) Unloading fbdev
[  1848.759] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1848.759] (II) LoadModule: "vesa"
[  1848.759] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  1848.759] (II) Module vesa: vendor="X.Org Foundation"
[  1848.759] 	compiled for 1.16.0, module version = 2.3.2
[  1848.759] 	Module class: X.Org Video Driver
[  1848.759] 	ABI class: X.Org Video Driver, version 18.0
[  1848.759] (II) NOUVEAU driver 
[  1848.759] (II) NOUVEAU driver for NVIDIA chipset families :
[  1848.759] 	RIVA TNT        (NV04)
[  1848.759] 	RIVA TNT2       (NV05)
[  1848.759] 	GeForce 256     (NV10)
[  1848.759] 	GeForce 2       (NV11, NV15)
[  1848.759] 	GeForce 4MX     (NV17, NV18)
[  1848.759] 	GeForce 3       (NV20)
[  1848.759] 	GeForce 4Ti     (NV25, NV28)
[  1848.759] 	GeForce FX      (NV3x)
[  1848.759] 	GeForce 6       (NV4x)
[  1848.759] 	GeForce 7       (G7x)
[  1848.759] 	GeForce 8       (G8x)
[  1848.759] 	GeForce GTX 200 (NVA0)
[  1848.759] 	GeForce GTX 400 (NVC0)
[  1848.759] (II) VESA: driver for VESA chipsets: vesa
[  1848.759] (++) using VT number 1

[  1848.759] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  1848.759] (II) systemd-logind: releasing fd for 226:1
[  1848.760] (II) [drm] nouveau interface version: 1.1.1
[  1848.760] (WW) Falling back to old probe method for vesa
[  1848.760] (EE) No devices detected.
[  1848.760] (EE) 
Fatal server error:
[  1848.760] (EE) no screens found(EE) 
[  1848.760] (EE) 
Please consult the The X.Org Foundation support 
	 at [url]http://wiki.x.org[/url]
 for help. 
[  1848.760] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1848.760] (EE)


The output of lspci | grep VGA is this:

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce 9300M GS] (rev a1)

During the installation of ARCH I have made just one mistake. After exiting from chroot I could not unmount the partitions so I just rebooted but it didn't seem to cause any problem.
Also, I suppose this has nothing to do with the xorg problem.

Could somebody help me with this, please?

Last edited by liofter (2014-08-22 16:24:02)

Offline

#2 2014-08-22 14:46:09

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: (SOLVED) startx not working after fresh installation

Use [⁣code]output[⁣/code] tags to mark output of a command. Please edit your post. It seems there are already similar issues on the forums.

Last edited by emeres (2014-08-22 14:48:59)

Offline

#3 2014-08-22 15:31:08

liofter
Member
Registered: 2014-08-22
Posts: 5

Re: (SOLVED) startx not working after fresh installation

Ok, I  fixed the issue with the tags.

Please forgive me, I have already made  a research in the forum and there are indeed similar issues but I just could not find a solution.

Offline

#4 2014-08-22 15:31:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (SOLVED) startx not working after fresh installation

Offline

#5 2014-08-22 15:49:22

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

Re: (SOLVED) startx not working after fresh installation

I don't think this is an Optimus machine, the components are too old. Is it a Sony laptop? Because things look very similar to this thread: https://bbs.archlinux.org/viewtopic.php?id=185894

Offline

#6 2014-08-22 16:11:44

liofter
Member
Registered: 2014-08-22
Posts: 5

Re: (SOLVED) startx not working after fresh installation

Ok, I have installed xf86-video-intel driver and xorg finally works (I am posting this through ARCH).
So it seems that the problem was with the xf86-nvidia-nouveau driver.
I am just wondering why xorg didn't use the xf86-video-vesa driver as it should do.
That's right Gusar, it is a Sony laptop.

I am really sorry for the waste of your time but I am deeply respectful for your fast answers.

Many regards, Liofter.

Edit: ARCH is beautiful

Last edited by liofter (2014-08-22 16:13:08)

Offline

#7 2014-08-22 16:26:23

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

Re: (SOLVED) startx not working after fresh installation

Try what I proposed in the other thread, blacklist the 915 module and reboot, see if nouveau will work then (do not use nomodeset, it will disable nouveau as well).

Last edited by Gusar (2014-08-22 16:27:00)

Offline

#8 2014-08-22 17:12:35

liofter
Member
Registered: 2014-08-22
Posts: 5

Re: (SOLVED) startx not working after fresh installation

Gusar, sorry for my newbie question but how do I blacklist the 915 module?

(I have to leave now, I' ll be in touch tomorrow)

Offline

#9 2014-08-22 19:50:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: (SOLVED) startx not working after fresh installation

liofter wrote:

Gusar, sorry for my newbie question but how do I blacklist the 915 module?

https://wiki.archlinux.org/index.php/Ke … acklisting

Offline

#10 2014-08-23 09:33:42

liofter
Member
Registered: 2014-08-22
Posts: 5

Re: (SOLVED) startx not working after fresh installation

Well, I did as Gusar said, blacklisted the i915 module, then added the .conf file to the FILES section in /etc/mkinitcpio.conf and had the initramfs rebuilt.
I did a reboot and after the login nothing but a black screen appeared.
I don't know if I could  do something else.

I think I will just uninstall xf86-video-nouveau (hope there is no problem with that), afterall there is no special need for using it, since intel driver is working.

Offline

Board footer

Powered by FluxBB