[(Almost)FIX]Another Pangolin ‘Bug’

Two days ago, I encountered another bug. I don’t really know whether this is really a bug or just a misconfigured machine on my own. But it is somehow irritating. Not a level of bother, but rather a nuisance.
I firstly noticed that my Conky scripts don’t show up as usual. I got two scripts on my desktop. And they ended up not showing at all. The pointer movement also a bit off and sometimes it moves between virtual desktops.
I am using the most current kernel from official repo (lts-trusty, forgot the version) and the bug only occurs when I use the switchable GPU mode (which results in using on chip GPU). I got Intel Core i5 450M’s GPU and AMD ATi Mobility Radeon HD 5470 as GPU. When I use the discrete mode (only use the ATi GPU), the bug seems to non-existent. I tried to switch back to older kernel to no different result.
Just use the ATi GPU, you may say. Yeah, it works. But it also make my machine a lot hotter and noisy. I always prefer to use the Intel GPU whenever I don’t do graphic designs. Because it is much cooler and much less noisy. It’s an old machine and I can’t afford to buy a new one, yet. So I do everything to prolong its life. Including just use the Intel GPU, for you know that heat is electrical machine’s enemy.
I don’t know, man. I don’t want to switch back to Windows or upgrade to the latest LTS (Trusty Tahr, 14.04). But the Pangolin is getting annoying day by day. Should I stop updating it? Unsafe move dudes. Unsafe move.

[UPDATE]

The problem corrected itself. I don’t know. It just weird. Still few things off, though. Like the blinking pointer in Chrome.

Posted from WordPress for Android

[UPDATE FIX] Ubuntu Precise Pangolin Bug

Well, it’s always weird to encounter any bugs in Ubuntu. Even when I used the beta version of it (been doing it since 11.10 Oneiric Ocelot), I seldom if not never, apart from the annoying Apport, experienced any major bug. I did get a major bug when I tried to install KDE 4.10 on Precise using Kubuntu Backports PPA. But that was the only major bug for me, and it happened more than a year ago. And then, two days ago, I encountered similar bug.
The bug I encounter was the missing X. Pretty similar to the bug with KDE back then. The main differences are I got the bug from official main repo. Okay, I added few PPAs but I greatly suspected that the problem came from the main one. Because I used the update manager to update the HWE (Hardware Enablement) Stack.
So, for few minutes the update worked as it supposed to be. But after I left it for about fifteen minutes or so, the screen blanked. It’s my setting, so I didn’t suspect a thing at first. The problem appeared when I turned the screen on. I couldn’t type anything on the lock screen. The pointer was still move.
So I ran to TTY1 (Ctrl + Alt + F1) to reboot my machine, only to find I can no more enter TTY7 (GUI). Instead, I was sent directly to blank screen. And after some tweaks, I figured that I was in TTY1. What a weird behaviour.
The dmesg output is that LightDM returned code 1, which is an error. After checking the /etc, I found out that X is missing from my machine. So, what should I do?
Quick Googling suggested that I should reinstall the ubuntu-desktop package. A sound advice I think. I’ll try it later. For the meantime, I’d use the beloved Manjaro which asked for 1GiB updates. Sadly, no KDE 5 and still on KDE 4.14.1. I’ll wait to update it until the time of KDE 5’s arrival.
By the way (and logically), I’m so pissed off by the fact there’s (a) major bug like this on LTS version of Ubuntu. LTS supposed to be minimal on bugs. And if the bugs ever happened, they should be fixed quickly and not interfering with user experience like I did. Pretty much disappointed.

UPDATE :

Here’s the update. It turned out that the problem I encountered was really a bug. I found out on Launchpad that the bug came from HWE (Hardware Enablement) Stack as I suspected. The bug is reproducible by installing the update for the HWE Stack on Precise and then clean some configurations using Ubuntu Tweak. The bug caused the symlink to be broken. So, no X created. That’s why LightDM returned code 1 which is an error. LightDM couldn’t find any X in /etc/X11.

The workaround is to make a new symlink so the X can be created and found by LightDM. The command to execute in TTYx (x being whatever you choose, from TTY1 to TTY6) is “sudo dpkg-reconfigure -phigh xserver-xorg-lts-trusty” and it will be solved. Then, restart your machine. If you happen to experience the bounce back, the moment when you enter the right password but you’re thrown away to LightDM again, is to run another code in TTYx which is “sudo chown -R $USER:$USER $HOME”. The last step is optional. You can also remove the Xauthority folder by running “sudo rm -rf ~/.Xauthority”. And then you’re all set.

Posted from WordPress for Android