LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't get gui in archlinux (https://www.linuxquestions.org/questions/linux-newbie-8/cant-get-gui-in-archlinux-4175492372/)

JJJCR 01-24-2014 03:50 AM

okay, check out this thread:

http://www.linuxquestions.org/questi...er-4175439432/

weinerwad3000 01-24-2014 03:53 AM

Here's the output of the installer.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jan 23 19:25:25 2014
installer version: 331.38

PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/core_perl

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
WARNING: Skipping the runlevel check (the utility `runlevel` failed to run).
-> License accepted.
-> Installing NVIDIA driver version 331.38.
-> Performing CC sanity check with CC="cc".
ERROR: The kernel header file '/usr/src/linux-3.12.8-1-ARCH/include/linux/kernel.h' does not exist. The most likely reason for this is that the kernel source path '/usr/src/linux-3.12.8-1-ARCH' is incorrect. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

weinerwad3000 01-24-2014 04:37 AM

Okay so I did

pacman -S linux-headers-3.12.8-1

and it installed but after doing

startx

it still didn't work. Here's the new xorg log http://pastebin.com/DEr7hsmx

btmiller 01-25-2014 10:37 AM

Given that RPM is not a native package format for Arch Linux, you're probably going to have trouble if you continue down this route. I've never had particular problems installing the .run file (Nvidia provides their own GL libraries, which will, if you give the option, overwrite the system libraries, which is perhaps what you refer to in your previous post).

Given the output of the Xorg.log you posted, though, I actually suspect that the Arch-packaged Nvidia driver is working fine. The server loads it, but then exits immediately. The only thing I see that's strange is that you're trying to load 3-4 other drivers (vesa, nv, nouveau, etc.), but only the nvidia driver actually succeeds in loading.

One of the reasons X might exit immediately is because you never installed a Window manager to give X something to actually run once it's started up. Did you follow the instructions from the guide avbout installing TWM and setting up your ~/.xinitrc file? Long term, you'll probably want something like GNOME, KDE, XFCE, Fluxbox, or the like. These must be installed via pacman if you wish to use them.

TroN-0074 01-25-2014 11:29 AM

Hi weinerwad3000.

I have a suggestion for you and that that you should find out what video card you actually have in your computer and install the right driver for it.
this command will tell you what is the manufacturer and type of video card

Code:

$ lspci | grep VGA
Check out this link https://wiki.archlinux.org/index.php...r_installation

Once you have installed the right video card I would suggest you to install a display manager and enable it using systemctl enable.

Check out this link https://wiki.archlinux.org/index.php/Display_manager

I like GDM, but that is a personal choice

weinerwad3000 01-25-2014 06:52 PM

Good news. I had xfce installed but I never tried the command

startxfce4

until today. After doing so the desktop shows up but the computer freezes or the keyboard just isn't working. I have to restart the computer to do anything. I've tried ctrl+alt+del to try to restart but it doesn't work and ctrl+alt+F1-F7 don't work either.

Making progress however.

weinerwad3000 01-26-2014 10:20 PM

Okay I got it. The problem is that my mouse and keyboard were getting disabled. In my xorg.conf I had to add under the ServerLayout

Option "AutoAddDevices" "off"

It loaded right up and now pretty much everything is working. Thank you for your help.

JJJCR 01-28-2014 04:03 AM

Quote:

Originally Posted by weinerwad3000 (Post 5105816)
Okay I got it. The problem is that my mouse and keyboard were getting disabled. In my xorg.conf I had to add under the ServerLayout

Option "AutoAddDevices" "off"

It loaded right up and now pretty much everything is working. Thank you for your help.

Option "AutoAddDevices" "off" did you set it ON or OFF

weinerwad3000 01-28-2014 04:08 AM

I set it to off and then I did

Startxfce4 and it loaded up. Been running great since.


All times are GMT -5. The time now is 11:08 AM.