You are not logged in.

#1 2017-04-24 20:11:46

darlac
Member
Registered: 2017-04-22
Posts: 12

[SOLVED]Fail to start X

[UPDATE]
I was able to resolve the problem by using gdm instead of lightdm - not sure why, but with no other changes all work fine!

[quickupdate]
trying to 'startx' gives the following error:

[  1258.889] (==) Using config file: "/etc/X11/xorg.conf"
[  1258.889] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1258.890] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1258.890] Data incomplete in file /etc/X11/xorg.conf
	Undefined Screen "nvidia" referenced by ServerLayout "layout".
[  1258.890] (EE) Problem parsing the config file
[  1258.890] (EE) Error parsing the config file
[  1258.890] (EE) 
Fatal server error:
[  1258.891] (EE) no screens found(EE) 
[  1258.892] (EE) 

Hi all,
I am new arch user; I got a new pc and wanted to test arch.
I installed arch last week, the system worked great. my pc has nvidia optimus and wanted to use dual monitor, I followed all the instruction in the arch wiki, with no succes. I updated the files based on this discussion (https://bbs.archlinux.org/viewtopic.php?id=221790), again no success
earlier today I tried the small modifications presented here (https://unix.stackexchange.com/question … 276#321276), and since then I cannot log in;
boot hangs, and I could not even log in without gui (multi-user.target)
with a live cd I deleted all the new files, but again the same problem
then I added an xorg.conf file (generic) and I can boot w/o gui (use ctrl+alt+2 when boot hangs)
any suggestions on how to restore settings?
cheers,
Dimitris

Last edited by darlac (2017-04-24 23:43:43)

Offline

#2 2017-04-24 20:52:01

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

Re: [SOLVED]Fail to start X

Please edit your post and a) choose a title that actually reflects your issue (starting X) https://wiki.archlinux.org/index.php/Co … ow_to_post and b) use code tags when pasting to the boards:
https://wiki.archlinux.org/index.php/Co … s_and_code



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-04-24 21:42:27

Lemongrass
Member
From: Central Europe
Registered: 2017-03-03
Posts: 59

Re: [SOLVED]Fail to start X

Hi,

1. to restore every setting, you can undo everything you have done. If you have a file in which you log changes you have made to Arch, that can guide you. I advise you to use such a thing.

2. a clean reinstall surely restores the default settings. After that you should set up X.

3. Why do you need to edit anything to use that 2nd monitor?

I made my 2nd monitor work like this:
https://hacklog.mu/arch-linux-dualscreen/
No config file editing was needed. After you set up these:
Xfce has a Displays setting. You can use that to switch the 2nd monitor on and off.

Edit: you have a screen called 'nvidia'. That sounds like wrong configuration. If you type xrandr in a terminal, you'll see how your screens are called.

Last edited by Lemongrass (2017-04-24 21:49:05)

Offline

#4 2017-04-24 23:42:09

darlac
Member
Registered: 2017-04-22
Posts: 12

Re: [SOLVED]Fail to start X

Thanks, the problem is that my laptop has dual graphic card (Nvidia Optimus); basically there is an intel integrated one, for general use, and a high performance Nvidia - this makes it tricky!

Last edited by darlac (2017-04-24 23:42:32)

Offline

#5 2017-04-25 12:31:06

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED]Fail to start X

@darlac: And you read this page, right? https://wiki.archlinux.org/index.php/NVIDIA_Optimus


Matt

"It is very difficult to educate the educated."

Offline

#6 2017-04-25 20:26:04

darlac
Member
Registered: 2017-04-22
Posts: 12

Re: [SOLVED]Fail to start X

@mrunion: yes, I did -the archwiki is pretty detailed for the Optimus and bumblebee [which I am currently using]; but minor differences might lead to one system working one not!

Offline

Board footer

Powered by FluxBB