You are not logged in.

#1 2016-05-01 00:56:43

bwick29
Member
Registered: 2016-04-30
Posts: 4

System freezes solid with 'startx' or when starting gdm.service

So to start, I've a novice Linux user. The kind of guy who knows the basics (directory navigation, file copying, basic networking, package installation, etc.) and knows how to Google for myself. After much reading and consideration I decided to go with Arch to start the upward climb from novice. I found the installation to be quite easy/understandable (contrary to warning) by following the Beginner Guide along with a tutorial (http://www.muktware.io/arch-linux-guide … -tutorial/). Everything works perfectly fine in CLI but I'm running into the problem (entire system freezes solid) when I try to get into at GUI.

Some background first. I'm dual booting alongside Win10 but NOT using UEFI. Running at GTX970 with 4 screens (non-matching). Hardware has no issues with the Windows side of things if that matters at all.

Now, per instruction I installed the following with pacman:
   xorg-server
   xorg-server-utils
   xorg-xinit
-When prompted during install I select nvidia-libgl

   nvidia
   lib32-nvidia-libgl
-All nvidia packages say 364.19-1 for the version

   gnome
   gnome-extra

I restart for nvidia as instructed by output. I run nvidia-xconfig as directed by the nvidia wiki article.

Now when I try to start gdm with 'systemctl start gdm.service' or when i try startx (which I presume the latter to be the problem), I get a blank screen with a black cursor in the upper left corner. The system is now frozen solid. Can't change terminals, can't send any commands, no key combos work. I'm forced to hard restart. I'm now stuck. I've done a lot of searching and not found anything that seems to directly relate. My readings (and common sense) lead me to believe that I'm missing something due to my inexperience.

In terms of logs, when i use 'startx' none appear in the directory the few lines of screen output say they will be in.
In terms of configs (which I see asked for a lot in other posts) here is the xorg.conf:  http://imgur.com/vcmj8l1

I would LOVE any input/advice/direction/etc. I'm not against being told which direction to go read for myself (I hate the LMGTFY posts), but please don't just blindly link me to a wiki page without telling me what section to pay attention to, lol.

Offline

#2 2016-05-01 01:05:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: System freezes solid with 'startx' or when starting gdm.service

A couple of pointers (without logs, I can't offer much more than that):

1. nvidia-xconfig is a clusterfsck: don't use it. Try starting without a config first.
2. Whatever is in that tutorial is probably equally ass-backwards.
3. Remove Gnome/GDM from the equation, for now, and just focus on getting X started then you can add additional complexity.
4. Paste the .xinitrc you are using for startx.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-05-01 01:11:29

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: System freezes solid with 'startx' or when starting gdm.service

The last time I used Gnome on my PC using nvidia drivers (Gnome version 3.18, so not very long ago), I had to edit the file:

/etc/gdm/custom.conf

and uncomment line 5 so that it looks like this:

WaylandEnable=false

This is just for the GDM service. You wrote that 'startx' also doesn't work for you. Could you show the contents of "/var/log/Xorg.0.log" with regards to this? To share this file, you could install the package named "nopaste", then do this here on the command line:

nopaste < /var/log/Xorg.0.log

After a second or so, it will show you an URL to share that will show the file.

Offline

#4 2016-05-01 01:47:06

bwick29
Member
Registered: 2016-04-30
Posts: 4

Re: System freezes solid with 'startx' or when starting gdm.service

Tracking down what I presume is my first (if not only) problem shows that my .xinitrc isn't in the home directory. I go to copy it from /etc/X11/xinit/xinitrc and find that the default/template is empty. Some places I'm reading say there should be a default file, while others say you need to add your own data. The xinitrc wiki article is the former. Searching doesn't find an example default to use. Now this has become what I presume is a very noob question. My apologies. Have to start somewhere and I appreciate the help.

In regards to the gdm info. Thanks, but I'm not there yet. I'll keep that in mind for the next step in the process. Also I was unaware of nopaste. Thanks. (By the way, that log file is empty).

Last edited by bwick29 (2016-05-01 01:52:22)

Offline

#5 2016-05-01 01:50:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: System freezes solid with 'startx' or when starting gdm.service

You typed the path incorrectly, it is in /etc/..


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-05-01 01:52:11

bwick29
Member
Registered: 2016-04-30
Posts: 4

Re: System freezes solid with 'startx' or when starting gdm.service

Lol yeah that typo was only here on the forum post. Sorry about that.

Offline

#7 2016-05-01 01:58:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: System freezes solid with 'startx' or when starting gdm.service


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2016-05-01 02:18:32

bwick29
Member
Registered: 2016-04-30
Posts: 4

Re: System freezes solid with 'startx' or when starting gdm.service

Thanks. I began reading through that after your first reply, however there is no default to copy and per that wiki link, I just need to ensure the conditional is there to point to xinitrc.d. I add it and when trying startx or xinit I now don't get a crash because nothing happens. No message, no process, nothing whatsoever.

Offline

#9 2016-05-01 02:25:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: System freezes solid with 'startx' or when starting gdm.service

┌─[Centurion ~]
└─╼ pacman -Qo /etc/X11/xinit/xinitrc
/etc/X11/xinit/xinitrc is owned by xorg-xinit 1.3.4-4

You have either deleted/moved it, or you haven't installed xorg-xinit; either way, you need to tell Xorg what to run with startx...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB