You are not logged in.
Pages: 1
Hello,
I just freshly installed Arch Linux. Whilst in the process of setting things up I installed;
sudo pacman -S xorg-server xorg-xinit xorg-server-utilsFollowed by;
sudo pacman -S mesaThen I installed my video driver;
sudo pacman -S nvidia lib32-nvidia-utilsLastly;
pacman -S xorg-twm xorg-xclock xtermI then attempted to run
startxbut recieved error messages that look like this:
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server errorI searched for solutions and found people with the same problem that just had to reinstall zlib, however this is not the case for me. I also believe that this could be the reason that I cannot open Gnome's Terminal, which is restricting me to using Xterm, but I'll take this one step at a time.
Any ideas would be appreciated =]
Offline
You have to ensure you have .xinitrc in your home directory. You must also ensure it points to the manager you wish to use. This is covered in the wiki. Did you do so?
Last edited by ramkatral (2014-05-08 00:07:54)
Offline
Please post the output of the following command:
lspci -k | grep -A 2 -i "VGA"Offline
Is your machine an optimus laptop or have nvidia card only?
If it is an optimus laptop, you should install intel driver.
Otherwise, did you reboot your machine?
Offline
2ManyDogs: I have two Gtx 660s
[paul@localhost ~]$ lspci -k |grep -A 2 -i "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)
Subsystem: eVga.com. Corp. Device 2662
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia
--
Subsystem: eVga.com. Corp. Device 2662
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)
Subsystem: eVga.com. Corp. Device 2662
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia
--
Subsystem: eVga.com. Corp. Device 2662
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_inteljdbrown: I have Nvidia. And I did reboot.
ramkatral: This is what my .xinitrc looks like:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choiceOffline
You have to make your .xinitrc actually exec a window manager. Yours are all commented out.
Add this line.
exec twm
Tell us what happens when you startx.
Last edited by ramkatral (2014-05-08 01:04:14)
Offline
your ~/.xinitrc looks pretty generic, you're not actually calling anything in here. Post your /etc/X11/xinit/xinitrc that should have better information
Last edited by allonsy (2014-05-08 01:02:02)
Offline
ramkatral: I added the line and recieved identical error messages.
allonsy: Here is the file:
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name loginAlso, an error message said to look in /var/log/Xorg.1.log so here is that file too with all the errors:
[ 11557.298]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 11557.298] X Protocol Version 11, Revision 0
[ 11557.298] Build Operating System: Linux 3.14.0-4-ARCH x86_64
[ 11557.298] Current Operating System: Linux localhost 3.14.2-1-ARCH #1 SMP PREEMPT Sun Apr 27 11:28:44 CEST 2014 x86_64
[ 11557.298] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4a401fc0-2fab-4d2d-b247-ca7ef3d13995 rw quiet
[ 11557.298] Build Date: 14 April 2014 08:39:09AM
[ 11557.298]
[ 11557.298] Current version of pixman: 0.32.4
[ 11557.298] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 11557.298] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 11557.298] (==) Log file: "/var/log/Xorg.1.log", Time: Wed May 7 17:07:44 2014
[ 11557.299] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 11557.299] (==) No Layout section. Using the first Screen section.
[ 11557.299] (==) No screen section available. Using defaults.
[ 11557.299] (**) |-->Screen "Default Screen Section" (0)
[ 11557.299] (**) | |-->Monitor "<default monitor>"
[ 11557.299] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 11557.299] (==) Automatically adding devices
[ 11557.299] (==) Automatically enabling devices
[ 11557.299] (==) Automatically adding GPU devices
[ 11557.299] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 11557.299] Entry deleted from font path.
[ 11557.299] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 11557.299] Entry deleted from font path.
[ 11557.299] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 11557.299] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 11557.299] Entry deleted from font path.
[ 11557.299] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 11557.299] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 11557.299] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 11557.299] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 11557.299] (II) Loader magic: 0x804c80
[ 11557.299] (II) Module ABI versions:
[ 11557.299] X.Org ANSI C Emulation: 0.4
[ 11557.299] X.Org Video Driver: 15.0
[ 11557.299] X.Org XInput driver : 20.0
[ 11557.299] X.Org Server Extension : 8.0
[ 11557.299] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 11557.299] setversion 1.4 failed: Permission denied
[ 11557.299] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 11557.300] setversion 1.4 failed: Permission denied
[ 11557.301] (--) PCI:*(0:1:0:0) 10de:11c0:3842:2662 rev 161, Mem @ 0xf6000000/16777216, 0xe8000000/134217728, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 11557.301] (--) PCI: (0:2:0:0) 10de:11c0:3842:2662 rev 161, Mem @ 0xf4000000/16777216, 0xd8000000/134217728, 0xe0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[ 11557.301] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 11557.301] Initializing built-in extension Generic Event Extension
[ 11557.301] Initializing built-in extension SHAPE
[ 11557.301] Initializing built-in extension MIT-SHM
[ 11557.301] Initializing built-in extension XInputExtension
[ 11557.301] Initializing built-in extension XTEST
[ 11557.301] Initializing built-in extension BIG-REQUESTS
[ 11557.301] Initializing built-in extension SYNC
[ 11557.301] Initializing built-in extension XKEYBOARD
[ 11557.301] Initializing built-in extension XC-MISC
[ 11557.301] Initializing built-in extension SECURITY
[ 11557.301] Initializing built-in extension XINERAMA
[ 11557.301] Initializing built-in extension XFIXES
[ 11557.301] Initializing built-in extension RENDER
[ 11557.301] Initializing built-in extension RANDR
[ 11557.301] Initializing built-in extension COMPOSITE
[ 11557.301] Initializing built-in extension DAMAGE
[ 11557.301] Initializing built-in extension MIT-SCREEN-SAVER
[ 11557.301] Initializing built-in extension DOUBLE-BUFFER
[ 11557.301] Initializing built-in extension RECORD
[ 11557.301] Initializing built-in extension DPMS
[ 11557.301] Initializing built-in extension Present
[ 11557.301] Initializing built-in extension DRI3
[ 11557.301] Initializing built-in extension X-Resource
[ 11557.301] Initializing built-in extension XVideo
[ 11557.301] Initializing built-in extension XVideo-MotionCompensation
[ 11557.301] Initializing built-in extension XFree86-VidModeExtension
[ 11557.301] Initializing built-in extension XFree86-DGA
[ 11557.301] Initializing built-in extension XFree86-DRI
[ 11557.301] Initializing built-in extension DRI2
[ 11557.301] (II) LoadModule: "glx"
[ 11557.302] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 11557.314] (II) Module glx: vendor="NVIDIA Corporation"
[ 11557.314] compiled for 4.0.2, module version = 1.0.0
[ 11557.314] Module class: X.Org Server Extension
[ 11557.314] (II) NVIDIA GLX Module 337.12 Fri Apr 4 14:34:00 PDT 2014
[ 11557.314] Loading extension GLX
[ 11557.314] (==) Matched nouveau as autoconfigured driver 0
[ 11557.314] (==) Matched nvidia as autoconfigured driver 1
[ 11557.314] (==) Matched nv as autoconfigured driver 2
[ 11557.314] (==) Matched modesetting as autoconfigured driver 3
[ 11557.314] (==) Matched fbdev as autoconfigured driver 4
[ 11557.314] (==) Matched vesa as autoconfigured driver 5
[ 11557.314] (==) Assigned the driver to the xf86ConfigLayout
[ 11557.314] (II) LoadModule: "nouveau"
[ 11557.315] (WW) Warning, couldn't open module nouveau
[ 11557.315] (II) UnloadModule: "nouveau"
[ 11557.315] (II) Unloading nouveau
[ 11557.315] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 11557.315] (II) LoadModule: "nvidia"
[ 11557.315] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 11557.315] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 11557.315] compiled for 4.0.2, module version = 1.0.0
[ 11557.315] Module class: X.Org Video Driver
[ 11557.315] (II) LoadModule: "nv"
[ 11557.315] (WW) Warning, couldn't open module nv
[ 11557.315] (II) UnloadModule: "nv"
[ 11557.315] (II) Unloading nv
[ 11557.315] (EE) Failed to load module "nv" (module does not exist, 0)
[ 11557.315] (II) LoadModule: "modesetting"
[ 11557.316] (WW) Warning, couldn't open module modesetting
[ 11557.316] (II) UnloadModule: "modesetting"
[ 11557.316] (II) Unloading modesetting
[ 11557.316] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 11557.316] (II) LoadModule: "fbdev"
[ 11557.316] (WW) Warning, couldn't open module fbdev
[ 11557.316] (II) UnloadModule: "fbdev"
[ 11557.316] (II) Unloading fbdev
[ 11557.316] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 11557.316] (II) LoadModule: "vesa"
[ 11557.316] (WW) Warning, couldn't open module vesa
[ 11557.316] (II) UnloadModule: "vesa"
[ 11557.316] (II) Unloading vesa
[ 11557.316] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 11557.316] (II) NVIDIA dlloader X Driver 337.12 Fri Apr 4 14:13:45 PDT 2014
[ 11557.316] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 11557.316] (++) using VT number 1
[ 11557.316] (II) Loading sub module "fb"
[ 11557.316] (II) LoadModule: "fb"
[ 11557.316] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 11557.317] (II) Module fb: vendor="X.Org Foundation"
[ 11557.317] compiled for 1.15.1, module version = 1.0.0
[ 11557.317] ABI class: X.Org ANSI C Emulation, version 0.4
[ 11557.317] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 11557.317] (II) Loading sub module "wfb"
[ 11557.317] (II) LoadModule: "wfb"
[ 11557.317] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 11557.317] (II) Module wfb: vendor="X.Org Foundation"
[ 11557.317] compiled for 1.15.1, module version = 1.0.0
[ 11557.317] ABI class: X.Org ANSI C Emulation, version 0.4
[ 11557.317] (II) Loading sub module "ramdac"
[ 11557.317] (II) LoadModule: "ramdac"
[ 11557.317] (II) Module "ramdac" already built-in
[ 11557.317] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 11557.317] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 11557.317] (==) NVIDIA(0): RGB weight 888
[ 11557.317] (==) NVIDIA(0): Default visual is TrueColor
[ 11557.317] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 11557.318] (**) NVIDIA(0): Enabling 2D acceleration
[ 11557.334] (II) NVIDIA(0): Display (LG Electronics E2242 (DFP-3)) does not support NVIDIA
[ 11557.334] (II) NVIDIA(0): 3D Vision stereo.
[ 11557.334] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[ 11557.336] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 660 (GK106) at PCI:1:0:0 (GPU-0)
[ 11557.336] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 11557.336] (--) NVIDIA(0): VideoBIOS: 80.06.28.00.60
[ 11557.336] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 11557.341] (EE) NVIDIA(GPU-0): EVO Push buffer channel allocation failed
[ 11557.344] (EE) NVIDIA(GPU-0): Failed to allocate EVO core DMA push buffer
[ 11567.344] (WW) NVIDIA(GPU-0): Timed out detecting DP displays on DP-1
[ 11567.344] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 11567.344] (II) UnloadModule: "nvidia"
[ 11567.344] (II) UnloadSubModule: "wfb"
[ 11567.344] (II) UnloadSubModule: "fb"
[ 11567.344] (EE) Screen(s) found, but none have a usable configuration.
[ 11567.344] (EE)
Fatal server error:
[ 11567.344] (EE) no screens found(EE)
[ 11567.344] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 11567.344] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 11567.344] (EE)
[ 11567.355] (EE) Server terminated with error (1). Closing log file.Offline
Forget about xinitrc's for now - that is not the issue. The error is due to the video driver. Have you followed this page?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1