Fail at initialize lightdm

New to Debian (Or Linux in general)? Ask your questions here!

Fail at initialize lightdm

Postby Vitekk » 2018-03-22 23:33

I was having tearing on image to I runned the command:
Code: Select all
sudo apt-get install mesa-utils -y && sudo mkdir /etc/X11/xorg.conf.d/ && echo -e 'Section "Device"\n Identifier "Intel Graphics"\n Driver "Intel"\n Option "AccelMethod" "sna"\n Option "TearFree" "true"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf

after rebooting I now having this error on initialize the lightdm
https://imgur.com/a/obtMJ
I'ts my firs time on the type of thing, so please, what I have to do?
PS: I'm using a GeForce GTX 750
Vitekk
 
Posts: 6
Joined: 2018-03-16 22:15

Re: Fail at initialize lightdm

Postby Head_on_a_Stick » 2018-03-23 07:18

Vitekk wrote:I'm using a GeForce GTX 750

Then why are you forcing Xorg to use your Intel integrated card?

Remove /etc/X11/xorg.conf.d/20-intel.conf and try again.

You could also check /var/log/lightdm for more clues.

EDIT: to control tearing with NVIDIA cards see https://wiki.archlinux.org/index.php/NV ... en_tearing
Charlie don't hack
User avatar
Head_on_a_Stick
 
Posts: 7639
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Fail at initialize lightdm

Postby debiman » 2018-03-24 08:47

Vitekk wrote:
Code: Select all
sudo apt-get install mesa-utils -y && sudo mkdir /etc/X11/xorg.conf.d/ && echo -e 'Section "Device"\n Identifier "Intel Graphics"\n Driver "Intel"\n Option "AccelMethod" "sna"\n Option "TearFree" "true"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf

so you blindly copy-pasted some spaghetti code from some random blog to solve an issue -
where did you get that from?
also, i think this command will fail if the directory already exists: sudo mkdir /etc/X11/xorg.conf.d/, and the oneliner will not continue anymore.
and what has intel to do with nvidia?
it's all very questionable.
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: Fail at initialize lightdm

Postby Fernando Negro » 2018-04-06 22:53

When configuring GNU/Linux,

You should *never* do any procedure that you don't understand. (Otherwise - like you've learned - you risk breaking your system, or not knowing how to put things back as they were, before such procedure, if something goes wrong.)

Take your time to study what you're doing, in order to have at least an idea of what's happening. You'll repeatedly learn things, to the point that you'll start to be able to solve some of the (small) problems yourself.
Signed,

A longtime Ubuntu user, that has migrated to Debian.
User avatar
Fernando Negro
 
Posts: 91
Joined: 2013-11-24 01:29
Location: Portugal


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable