LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-07-2017, 10:05 AM   #1
lyndhurst
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Rep: Reputation: Disabled
Debian 9 XFCE fresh install, nothing but wallpaper after login


Hi,
I am not completely new to debian, I played around with it for almost a year on VMs, and started using it a lot for the last three months.
It is my first install on real hardware though.

I successfully installed debian 9 as a dual boot with windows 10.
I chose automatic partitioning of a free space of 37 gb next to the windows partition.
A swap and ext4 partition were created, efi recognized, everything was ok.
I know it is a small partition, but I checked on debian sites, and it should be more than enough to start customizing the system, and installing/setting basic applications I think.
The only thing that surprised me was the swap created was quite big; almost half the space, but I should trust that the installer knows better )

Everything went fine, grub was installed correctly.
The computer is an asus laptop, one year old, intel i7, 16gb ram, 500gb ssd.
The PC boots as expected, I get to the login where I can login with the user account as well as the root account.

The problem is that after logging in, there is nothing but the wallpaper and the cursor..

Absolutely nothing else.. No default shortcut / hotkey works, all I could notice is that ctrl + alt + f2 makes the cursor disappear.
Nothing else seems to happen whatever I try; I have to press the shutdown key to get out..

In recovery mode, at the end of what looks like a slow booting process, I am prompted for a root password for maintenance, and, given the alternative of pressing ctrl+shift+D to "continue".

At that point, entering root password logs me in a full screen terminal as root, and, only pressing 'enter' gets me to a full screen terminal like login.
There everything looks fine, all the folders I am used to see are there, I can run commands, update apt repository..

But, once in a while (I cannot reproduce every time), Ctrl+Shift+D brings me to the graphical usual login page, and logging from there starts a normal xfce session.
Within this session, everything works as expected, I can even log out and back into the session, but a restart brings me back to the options described above.

For information, windows boot is offered by Grub, and works perfectly.

Things I have tried:

I tried of course going through the install process again, I did it 4 times for the same results exactly every time. I used two different ISO images (1 downloaded today from the official site), on a cd, and, a usb once created with rufus, another time with windisk imager. The only thing I did not try yet is using a different repo source during installation..

I tried a solution I saw on various xfce threads to remove ~/.config/xfce4 , and/or, ~/.cache to no effect.
I also tried installing ldm package as it was suggested on an ubuntu forum, but no luck.
I ran

Code:
apt install --reinstall xfce4
apt install --reinstall xfce4-goodies
I tried with boot secure enabled, disabled, with fast boot enabled, disabled as well.

I am sorry for such a lengthy question, especially for my first post, but I am desperate, I love debian and xfce, I practiced a bunch on VMs before taking the leap and finally giving up windows, so I am disappointed ...)
I would really appreciate any help as there is very little I could find by myself related to this issue.
Thanks a lot..
 
Old 09-09-2017, 09:16 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,618

Rep: Reputation: 104Reputation: 104
Try fresh install again this time manual partitioning with about a 1GB swap at most. Now I see no mention of you having got to the screen where you get to select the tasks to install among the options there is desktop environment among others like ssh, web server. These options may only be available from the expert install option when the installer first starts as that is the only one I do so give this one a try cannot get any worse than what is happening now.
 
Old 09-09-2017, 10:27 PM   #3
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,349
Blog Entries: 8

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Sounds like 3d accelerated graphics is messed up, and the XFCE4 GUI is set (as is default) to try to use window compositing (a setting in Window Manager tweaks). This would not have affected your VM installs since the VM does not get to directly control the video card.

The solution quick fix is to:

1) Press ctrl-alt-F1 to switch to a text console log in

2) log in as regular user

Code:
vi .config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
Find the line:
Code:
<property name="use_compositing" type="bool" value="true"/>
Change "true" to "false".

3) use crtl-alt-F7 to return to graphical log in screen. Log in to XFCE4

This will get you to a working XFCE4 desktop, but your 3D graphics card will still not be properly supported yet.

What graphics chip does your system have? If it is AMD (formerly ATI), then the way to get 3d graphics working correctly would normally be:

1) Add "contrib non-free" to lines in /etc/apt/sources.list so it looks something like:
Code:
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-
free
deb-src http://security.debian.org/debian-security stretch/updates main contrib 
non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
2) then:

Code:
apt-get update
apt-get dist-upgrade
apt-get install firmware-linux-nonfree
That usually does the trick for getting AMD/ATI cards working properly. But in your case, the graphics chip might be too new to be entirely properly supported. Maybe.
 
Old 09-15-2017, 11:14 AM   #4
lyndhurst
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks a lot for your input, and sorry for the late reply.
You are totally right most of the problem was about the graphic card. Well, still is actually.
I have an asus zenbook ux501, the issue is well documented here, and the solution given to change acpi settings in the grub partition sloves the problem of booting reliably and consistently into the xfce session.
There is still some issues that I am trying to solve with the nvidia card, bumblebee, and this whole new world of trouble I got myself in ))
I have a few links I tried to follow with poor level of success, and I was thinking of opening a new topic more specific to nvidia drivers.
I will do so on Sunday unless someone instructs me otherwise.
Thanks again for all the help...
 
Old 09-15-2017, 03:09 PM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,349
Blog Entries: 8

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Yes, open a new thread specific to nVidia driver installation. It will get more attention as a new, "zero reply" post. And will have a subject line which will bring attention from people who are familiar with nVidia driver installation.

I only have older nVidia cards which work okay with the open source driver (not the official nVidia driver). You'll need advice from someone familiar with getting more modern nVidia cards up and running.
 
Old 09-16-2017, 01:20 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,277
Blog Entries: 8

Rep: Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898
Quote:
Originally Posted by lyndhurst View Post
You are totally right most of the problem was about the graphic card. Well, still is actually.
please post output of
Code:
lspci -k | grep -iEA5 'vga|3d|display'
 
Old 09-19-2017, 07:57 AM   #7
lyndhurst
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for your help, and sorry for the delay, I started a new topic with more details about the issue I am trying to solve.
@ondoho the output you asked for can be found over there..
Thanks again.
 
Old 09-19-2017, 01:41 PM   #8
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,349
Blog Entries: 8

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
I'm replying here instead of the other thread for now, because I don't want to kick it off the "zero reply thread" list yet:

I notice you've got two graphics chips - Intel Corporation HD Graphics 530 (rev 06) and NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)

I think that means that your laptop has "hybrid graphics", which is more complicated to get working properly. Since you explain you've tried stuff with "vga_switcheroo", I'm guessing you're already down the right track on that.

I can't help very much on it, since I don't have any laptop with hybrid graphics.
 
Old 09-20-2017, 05:37 AM   #9
lyndhurst
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you for the info, it gives me new directions to keep looking, I could not make that deduction myself about the hybrid graphic card...

I went straight to the VGA switcheroo page on the linux kernel documentation site to try and understand what is this thing, I can only understand a little bit from a quick read, but the "Driver power control" section seems to describe my configuration, switcheroo being in charge of switching between graphic cards. Sorry for being approximative, it is a lot of new concepts for me

I cannot make sense of all that yet, but I will keep looking into this..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can login after fresh install but got only mouse and desktop wallpaper (no icon, no rightclick) Nexius74 Linux Deepin 3 06-26-2017 10:59 AM
Manjaro 64 XFCE cannot login into fresh install siawash Arch 3 05-25-2013 08:09 PM
Fresh install - xfce freeze dante65 Slackware 2 05-28-2011 06:36 AM
Problems installing mplayer on fresh Debian XFCE install " displacedtexan Linux - Software 3 09-16-2009 03:42 PM
login problem on fresh install mobouser Mandriva 4 01-29-2005 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration