Author Topic: Desktop Issue After Boot (Solved)  (Read 9698 times)

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Desktop Issue After Boot (Solved)
« on: January 31, 2018, 11:26:49 am »
I
inxi -Fz
[close]

I have just built this computer and installed P8r. During installation all went as usual until it came time to restart. After clicking on the restart button the display told me to remove install media and press enter.  I did. After 20 plus minutes the computer did not restart. I ended up using a hard shutdown. I immediately restarted the computer and it started up as usual. I then went to Software & Update Settings and checked source code and both Canonical Partners and after that  I did all the update,upgrade, and dist-upgrade stuff. After the dist-upgrade I shut down completely. After about 10 minutes or so I restarted and that is when the issues started.
I always use auto log on. The first screen I see is a log in screen. (See picture) https://imgur.com/a/cFFF1
So I just rebooted and I got my normal desktop. At that point I added Thunderbird and edited my profile and added Gparted. That is it.
Over the next few days,every time after I completely shutdown, the next time I start the computer I get a weird desktop. Sometimes it is the log screen and other times is like this.
 https://imgur.com/a/z7iB5
It seems that all I have to do is reboot and I go to my normal desktop.
Does anyone know how to correct this situation?
« Last Edit: March 05, 2019, 05:51:50 am by Ralph »
A little knowledge is dangerous, I'm proof of it.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Desktop Issue After Boot
« Reply #1 on: January 31, 2018, 11:47:45 am »
According to Phoronix, Coffee Lake CPU's with the UHD 630 graphics need a kernel boot parameter (i915.alpha_support=1) adding.
https://www.phoronix.com/scan.php?page=article&item=coffee-uhd-graphics&num=1

So open a terminal and run:
Code: [Select]
gksudo xed /etc/default/grubwhen it opens, find the line that reads:-
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"and change it to read:-
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.alpha_support=1"SAVE the file and close the text editor.

Back in the terminal run:
Code: [Select]
sudo update-grubthe REBOOT to test.

Once rebooted, can you then post the output from:
Code: [Select]
inxi -Fzagain please,



The only other option is to use the 4.15 kernel which supports Coffee Lake graphics OOTB .. the problem with this is AFAIK there's no pre-compiled 4.15 kernel for Ubuntu (and derivatives) yet with all the Meltdown/Spectre patches yet .. so best to stick to the default kernel and use the boot parameter instead.
« Last Edit: January 31, 2018, 11:51:40 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #2 on: January 31, 2018, 01:24:25 pm »
I have done as you have prescribed. I shutdown for awhile and when I restarted P8r went to the log on screen.  (The first photo OP.) This time I logged in. It gave me my desktop so  I went right to this forum. I am going to test for awhile. I am going to shutdown and wait for a half hour or so. Just to see what P8 does.

inxi -Fz
[close]
A little knowledge is dangerous, I'm proof of it.

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #3 on: January 31, 2018, 02:12:31 pm »
It worked this time. Everything seemed to load like I am use to. I am going to continue to test for a few days and if all is well I will mark this solved.
A little knowledge is dangerous, I'm proof of it.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Desktop Issue After Boot
« Reply #4 on: January 31, 2018, 02:30:26 pm »
Okay please let us know how you get on :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #5 on: February 01, 2018, 04:14:48 am »
Last evening I tested and I was greeted with a desktop like  the top picture.  https://imgur.com/a/z7iB5
 :( This morning when I started up the computer I was greeted with this desktop: https://imgur.com/a/Ynras
With that desktop I had no network connection. Audio did not load. Chromium home page would not start. I could not shutdown with ctrl+alt+delete, or through the menu, and I could not even use the terminal. I used the reset button to restart and upon completion all looked like one would expect.
A little knowledge is dangerous, I'm proof of it.

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #6 on: February 01, 2018, 05:47:35 am »
After reading the link you provided I have searching around the net. All indications point to your fix. So I'm posting the grub you asked me to modify. Maybe you can see what I possibly mucked up.
grub
[close]

Also while looking around the net I found this under the Intel site: https://downloadcenter.intel.com/download/27337/Linux-Processor-Microcode-Data-File?product=126688
So I go to the file manager open the  root folder under the etc and I can't find any firmware folder. So I'll just wait for some guidance.
« Last Edit: February 01, 2018, 06:08:22 am by Ralph »
A little knowledge is dangerous, I'm proof of it.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Desktop Issue After Boot
« Reply #7 on: February 01, 2018, 06:16:47 am »
That looks fine to me, try running
Code: [Select]
sudo update-pciidsthen rebooting.



The intel microcode can be applied through:-

Menu > Preferences > Additional Drivers

Put a tick in "Using Processor microcode for Intel CPU's from intel-microcode (open-source)"

And click the "Apply Changes" button.

Once it's finished .. REBOOT to apply the microcode.
« Last Edit: February 01, 2018, 06:30:07 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #8 on: February 01, 2018, 07:57:08 am »
 :(  So I have done what you have asked yet still need to reboot after a startup to get to a normal desktop.
After doing all the above I shut down and waited about 45 minutes.
When I start I got this desktop.  https://imgur.com/a/HztrA
  The gray  box is from the network notification
   Note not all the icons in the lower left panel showed up.
Upon opening the file manager folder and moving it  I got this mess. https://imgur.com/a/Cl1sq
I then rebooted and P8r went right to the usual and customary desktop.  :'(
Do you have anymore ideas?
A little knowledge is dangerous, I'm proof of it.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Desktop Issue After Boot
« Reply #9 on: February 01, 2018, 08:17:23 am »
What happens if you boot to the screwed up desktop, then log off/on ?

Or boot to the screwed up desktop, then run:
Code: [Select]
sudo service lightdm restart?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #10 on: February 01, 2018, 09:01:16 am »
After about 15 minutes shutdown. When I restarted I got a log on screen like this one. ( Note the imperfection)   https://imgur.com/a/cFFF1   
I logged on and it went to my desired desktop. ( note the imperfections are gone)   Remember I did not install P8r to have to log on. It should go right to the desktop.
After this is posted I will have to wait for about an hour to try sudo service lightdm restart.
A little knowledge is dangerous, I'm proof of it.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Desktop Issue After Boot
« Reply #11 on: February 01, 2018, 09:15:08 am »
If you're ending up at the login screen even though you chose to autologin I can only assume the x session crashed (which will dump you back at the login screen).

Is there any clues in the logs at
Code: [Select]
xed ~/.xsession-errorsor
Code: [Select]
xed /var/log/Xorg.0.logor
Code: [Select]
xed /var/log/Xorg.1.log?



We could try the 4.15 kernel .. but this option is risky as it's not currently fully patched against Spectre.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline DAMIEN1307

  • Member
  • ***
  • Posts: 154
  • Karma: 11
  • non illigitamus carborundum est
    • View Profile
  • Peppermint version(s): Peppermint 8.5 (Respin) 64 bit
Re: Desktop Issue After Boot
« Reply #12 on: February 01, 2018, 09:24:40 am »
i have no idea if this will help you at all...[wait for PCNetSpec, pin or other moderator or trusted user to weigh in first before doing this]...i have bootup-manager installed on my system because i was having problems on previous mint installation...(im now all peppermint on my systems)...i too had login screen coming up at different times even though i wanted direct login...(also have this bootup-manager on my peppermints as well...sudo apt-get install bum...once installed i run it and unclick "lightdm" on startup...as well as other things i do not need at startup...that was the end of my problem...as a side note i also unclicked all samba entries, as well as cups, avahi daemons etc. etc. and all works fine here including printers and other peripherals... the only things i have enabled at startup are...rsyslog...uuidd...thermald...hddtemp...ntp...and...irqbalance...just those 7 items only and everything just works when i need it...again wait for others to weigh in here since my usage may be way different than yours
ORDO AB CHAO

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #13 on: February 01, 2018, 10:55:28 am »
The Other half

Spoiler (click here to view / hide)
[close]

A little knowledge is dangerous, I'm proof of it.

Offline Ralph

  • Member
  • ***
  • Posts: 131
  • Karma: 8
  • New Forum User
    • View Profile
  • Peppermint version(s): I've used 4,5,6,7,8,9
Re: Desktop Issue After Boot
« Reply #14 on: February 01, 2018, 10:55:55 am »
xed /var/log/Xorg.0.log
[close]


This is just half
A little knowledge is dangerous, I'm proof of it.