You are not logged in.
I made a fresh install of arch on my dell inspiron 7000 laptop.
I have used arch in past on older hardware and loved it.
When I tried to startx, I got an error informing me that it couldn't find the screen.
This is my xorglog :
[ 237.368]
X.Org X Server 1.18.2
Release Date: 2016-03-11
[ 237.368] X Protocol Version 11, Revision 0
[ 237.369] Build Operating System: Linux 4.2.5-1-ARCH x86_64
[ 237.369] Current Operating System: Linux JARVIS 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64
[ 237.369] Kernel command line: \vmlinuz-linux ro root=UUID=476285b0-dbcf-443e-8fa0-ffa783482a48 initrd=\initramfs-linux.img
[ 237.369] Build Date: 25 March 2016 08:54:41AM
[ 237.369]
[ 237.369] Current version of pixman: 0.34.0
[ 237.370] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 237.370] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 237.370] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 27 11:23:02 2016
[ 237.421] (==) Using config file: "/etc/X11/xorg.conf"
[ 237.421] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 237.454] (==) ServerLayout "Layout0"
[ 237.455] (**) |-->Screen "Screen0" (0)
[ 237.455] (**) | |-->Monitor "Monitor0"
[ 237.455] (**) | |-->Device "Device0"
[ 237.455] (**) |-->Input Device "Keyboard0"
[ 237.455] (**) |-->Input Device "Mouse0"
[ 237.455] (==) Automatically adding devices
[ 237.455] (==) Automatically enabling devices
[ 237.455] (==) Automatically adding GPU devices
[ 237.455] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 237.502] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 237.502] Entry deleted from font path.
[ 237.502] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 237.502] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 237.502] Entry deleted from font path.
[ 237.502] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 237.502] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/
[ 237.502] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 237.502] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 237.502] (WW) Disabling Keyboard0
[ 237.502] (WW) Disabling Mouse0
[ 237.510] (II) Loader magic: 0x819d20
[ 237.510] (II) Module ABI versions:
[ 237.510] X.Org ANSI C Emulation: 0.4
[ 237.510] X.Org Video Driver: 20.0
[ 237.510] X.Org XInput driver : 22.1
[ 237.510] X.Org Server Extension : 9.0
[ 237.512] (++) using VT number 1
[ 237.512] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 237.516] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 237.517] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 237.518] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[ 237.518] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 237.519] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[ 237.522] (--) PCI:*(0:0:2:0) 8086:191b:1028:0706 rev 6, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[ 237.522] (--) PCI: (0:2:0:0) 10de:139b:1028:0706 rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 237.522] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 237.522] (II) LoadModule: "glx"
[ 237.535] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 238.126] (II) Module glx: vendor="NVIDIA Corporation"
[ 238.126] compiled for 4.0.2, module version = 1.0.0
[ 238.126] Module class: X.Org Server Extension
[ 238.133] (II) NVIDIA GLX Module 361.28 Wed Feb 3 15:10:57 PST 2016
[ 238.146] (II) LoadModule: "nvidia"
[ 238.146] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 238.217] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 238.217] compiled for 4.0.2, module version = 1.0.0
[ 238.217] Module class: X.Org Video Driver
[ 238.226] (II) NVIDIA dlloader X Driver 361.28 Wed Feb 3 14:48:10 PST 2016
[ 238.226] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 238.227] (EE) No devices detected.
[ 238.227] (EE)
Fatal server error:
[ 238.227] (EE) no screens found(EE)
[ 238.227] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 238.227] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 238.227] (EE) I followed the instructions and installed
xorg-server xorg-xinit xorg-utils xorg-server-utils xorg-apps I also installed
nvidia xf86-video-inteland generated Xorg.conf with
nvidia-xconfig.
This is what my Xorg.conf looks like.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 361.28 (buildmeister@swio-display-x64-rhel04-04) Wed Feb 3 16:27:53 PST 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSectionAlso, the output of
lspci | grep -E "(VGA|3D)" 00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
02:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)Any ideas on how I can fix this?
Thanks.
Offline
Sounds like you need to start here: https://wiki.archlinux.org/index.php/NVIDIA_Optimus
Offline
Thanks. That helped.
Now I am able to startx and see the xorg-twm windows.
I installed gnome, gnome-shell, and gnome-extra and enabled it using systemctl :
systemctl enable gdm.serviceThis makes the system load a black screen.
When I disabled the gdm.service, I noticed that the symlink was removed from display-manager.service.
I checked the wiki article on GNOME but couldn't figure out what is going wrong.
Offline