Wednesday, October 31, 2018

unity - No launcher or dash in Ubuntu 16.04



I have an Alienware Aurora Aurora R6 desktop computer with a NVIDIA GTX 1080 Ti graphics card and pre-installed with Windows. I want to dual boot with Ubuntu, so I installed Ubuntu 16.04.3 LTS and the NVIDIA driver. I am at the point where it will boot up in Ubuntu and I can login, but I just see the desktop background with no taskbar or icons or anything.



I first tried the solution given here (Ubuntu 14.04 top taskbar missing), but when I try unity --reset, it gives me errors like:



(process:2858): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused


and it hangs.




Additionally, whenever I enter the console through Ctrl + Alt + F1, it periodically gives me this error:



[601.02375] pcieport 0000:00:1c.2: PCIe Bus Error: serverity=Corrected, type=Physical Layer, id=00e2(Receiver ID)
[601.025902] pcieport 0000:00:1c.2: device [8086:a292] error status/mask=00000001/00002000
[601.027832] pcieport 0000:00:1c.2: [ 0] Receiver Error


I have also tried the solution here (https://itsfoss.com/how-to-fix-no-unity-no-launcher-no-dash-in-ubuntu-12-10-quick-tip/), but it didn't work.




I followed the recommendation here (Ubuntu 16.04 - Unity doesn't load - no Launcher or Dash appears), created a new user, and it worked! But absolutely no idea why the first account didn't work. I just ended up deleting the first account.


Can't use sudo commands after removing the user password


I was searching for a way to disable sudo password promot , then I found a command to remove the user password sudo passwd -d username but after I wrote it and try to make sudo commands it asks for the password, i tried to put the old password and blank password but unfortunately it says Sorry, try again


What should I type or do ?



Problem solved!


I tried to change the password again by passwd without sudo and it didn't ask me for old password then I put a new one.


networking - I have to issue "rfkill unblock wifi" at every boot

Config: Laptop, standard working wifi card, Ubuntu 14.04



At every boot, Wifi/Wlan is off/SoftBlocked, I can get it to work with the command sudo rfkill unblock wifi



but after every reboot I have to re-issue that command again (actually that's not entirely true, sometimes (5%) it seems to "stick" through a reboot).



Is there a way to tell rfkill to never block wifi, without having to tell it so explicitly every time?

Cannot access Ubuntu 18.04 in dual boot, because system boots straight to Windows 10

I have tried several method from previous answers:



  1. Changing boot order from BIOS menu. There is no option of Ubuntu in BIOS.

  2. Repairing grub menu after loading Ubuntu from USB.

  3. Changing boot order from efibootmgr Ubuntu.

  4. Using command like bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi or
    bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi in cmd.


Fast startup is disabled.

software installation - How to install latest version of tomcat on ubuntu using apt?



apt-get install will only install 7.0.26, what is the prescribed way to get the latest version which is 7.0.47.



I'm on 12.04. I am trying to avoid manual download and install.



If you want latest version,which is not available on ubuntu repos, there are following alternate ways of getting it.




  • manual download from website


  • download from unofficial repositories.

  • download and build latest source code.

  • download from other linux repository and convert using alien.



Now as you don't want to install manually,lets speak about other methods.






download from unofficial repositories.




once you find the repository you need,open a terminal and type.




sudo add-apt-repository ppa:(Your ppa here)
sudo apt-get update
sudo apt-get install tomcat




NOTE:-



you will first have to temporarily block the repo which contains older version of tomcat,or they will interfere.you can do this by





sudo add-apt-repository -r ppa:(Your ppa here)




and dont forget to add it back, once you are done.






download and build




this link provides the source code.for building and installing software read software documentation/forums and compile easy how to






download from other source



download package using website or any other place.then use alien to convert package.read alien man pagesfor help on using alien.


grub2 - Wubi, Windows 8, Truecrypt, UEFI, and a big headache



So, I have a fresh install of Windows 8... Here's the issue.



When I first installed W8, the Wubi loader would launch just fine, no issues, no fuss... At the time, I elected to avoid installing through Wubi, and just setting up a dedicated partition, and I think this is where I messed up.



I installed my drivers (no OEM bloatware*), ran truecrypt, set up a dedicated partition.. Everything appeared to be fine, was still able to run my TC bootloader, I couldn't [esc] to grub yet though, I thought to myself "okay, it's just because I haven't encrypted the system yet, but rather only installed the bootloader".




After 8 hours of encrypting, I woke up and thought "awesome, let me reboot & check Ubuntu", which, to my dismay, did not properly install.



Soooo... I booted my 12.10 liveCD to try another installation, and that's when all hell broke loose. Ubuntu refused to identify any partitions within the installer. Gparted threw an error about my hdd when I launched it, showed me 3 partitions, 2 of which were "Unknown" thanks to TrueCrypt, and the one where I attempted to install Ubuntu. The Ubuntu partition was labeled "Extended".



Being too scared to screw around with the partitions, or make any changes to the table, I booted into Windows 8 (YES! Still worked!), attempted to run Wubi, and I got the dreaded error where it refuses to run. I checked my Environment Variables, no python path.. Okay... So I checked my startup folder.. Still there... Check the temp folder for a Wubi log file.. NOPE!



Basically, I have several issues, and each one is only compounded by the next. Any help with this situation can make my day vastly better.



System Specs:
Thinkpad Edge e535,

AMD APU A4-4300m,
4GB ram,
Windows 8,
UEFI (THE DEVIL!!!)



and, well, that's about it.



*OEM BLOATWARE: I don't ever install OEM software, and seeing as it's a Thinkpad, I related it to they Python issue, but that's not the case.



**Side note: I did a side-by-side installation with Win8 from the Ubuntu installer AFTER I installed the Truecrypt bootloader, and before I encrypted my drive.




***EDIT: I have Secure Boot disabled with UEFI, and I have it set to UEFI+Legacy booting mode.



**EDIT2: I don't care about encrypting Ubuntu, I only want my windows partition encrypted. My priority is dual-boot.



Okay. I solved this. I'm going to start from the basics.



I found how to simultaneously dual boot Windows 8 (Truecrypt encrypted) & Ubuntu 12.10 (home folder encrypted) while keeping secure boot enabled!!



UEFI/BIOS:




Configuration:
Check all settings, confirm that USB is set to secure boot.



Boot settings: Enable UEFI/Legacy, with legacy booting first.



Save & Exit.



Install Windows 8, once installed, restart.




Install Ubuntu using the "Install alongside Windows 8" setting in the installer.



Install Gparted (or your favorite partition manager)



Shrink the Windows 8 partition by 250mb AFTER the data layer.



Make Ext4 filesystem on 250mb partition. (No label necessary, but I labeled mine "/boot" for the sake of memory.



Open Terminal and run "sudo grub-installer /dev/sdxX --force" (where xX is your "/boot" drive letter & partition number)




Return to windows, encrypt system partition using "dual boot" category. Drink a beer, or 12, depending on the size of your disk & wipe mode



*BE SURE TO MAKE A BACKUP OF THE REPAIR DISK. IF YOU FUTZ SOMETHING UP, YOU WILL HATE YOUR LIFE*



After encryption, reboot, and backup your MBR/TC boot loader



Run your livedisk: "sudo grub-install /dev/sdx --force" to install GRUB2 to the MBR



Using your favorite partition editor, erase your "/boot" partition, formatting it to either Ext4 or FAT32




Extract your MBR/TC backup to your "/boot" partition



Download & run grub-customizer (or edit it manually, if you prefer) to include the TC bootloader



And there you have it, dual booting Windows 8 and Ubuntu, with Windows encrypted, and chainloading the Truecrypt bootloader from Grub2, on a UEFI system.


grub2 - ubuntu will not boot from hard drive after installation

I made a live DVD with Ubuntu 14.04 for a new Toshiba laptop, Satellite C55-B5200.
First I found that ubuntu booted easily, though slowly, from DVD. Then I selected installation from the grub menu that offered no boot other than DVD.



During installation, the installer claimed there was no operating system. (It did
not see Windows/8.) It said that it was reformatting.



After installation the system would not boot at all from hard drive. It said to insert a bootable device and reboot (words not exact).




I found info online about "Boot-Repair".



I went through the Boot-Repair procedure. During the installation of boot-repair there was a message "/usr/share/boot-sav/gui-g2slaunch.sh line 29 5850 segmentation fault ..."



But boot-repair was installed, so I ran it. It said "EFI detected. Please check options." There was no clue what options or what to check. But I clicked OK. I then ran bootinfo summary. That seemed to go ok. So I re-ran boot-repair for the repair action. The commands it asked me to paste and run seemed to go ok. After the repair the URL is paste.ubuntu.com/7807769. The machine will not boot anything from the hard drive. While booted from DVD it looked as if ubuntu was on sda2 and that sda1 was vfat.



Questions re bios: (1) do I want "secure boot"? (2) do I want UEFI?



Should I try to install again? Or are there possible repairs while booted from DVD?




What should I do?



Thanks.

drivers - Nvidia low-graphics mode problem after upgrading from 15.10 to 16.04


After upgrading from 15.10 to 16.04, my Nvidia proprietary driver suddenly become not working. The "system is running in low-graphics mode" message appear every-time I boot my laptop with have Nvidia as the primary back-end driver.


I had try and spent half of my the day googling and finding solutions but none of them works for me. I had try :



  • Disabling Secure Boot (following this advise)

  • Re-installing Nvidia v364 (based on this advise)

  • Re-installing Xorg


All above solutions that works for others simply doesn't work for me, the "system is running in low-graphics mode" problem keep appearing no matter how much I have done to solve this problem.


Below is the Xorg.0.log and dmesg log after the time of "low-graphics mode" appeared.


Xorg.0.log


[    59.735]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 59.735] X Protocol Version 11, Revision 0
[ 59.735] Build Operating System: Linux 3.13.0-86-generic x86_64 Ubuntu
[ 59.735] Current Operating System: Linux shahril 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64
[ 59.735] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-28-generic root=UUID=61384bb6-6235-4c1b-a19c-0549eb518562 ro quiet splash intel_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 vt.handoff=7
[ 59.735] Build Date: 18 May 2016 01:07:07AM
[ 59.735] xorg-server 2:1.18.3-1ubuntu2.2 (For technical support please see http://www.ubuntu.com/support)
[ 59.735] Current version of pixman: 0.33.6
[ 59.735] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 59.735] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 59.735] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 9 22:57:18 2016
[ 59.735] (==) Using config file: "/etc/X11/xorg.conf"
[ 59.735] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 59.736] (==) ServerLayout "layout"
[ 59.736] (**) |-->Screen "nvidia" (0)
[ 59.736] (**) | |-->Monitor ""
[ 59.736] (**) | |-->Device "nvidia"
[ 59.736] (**) | |-->GPUDevice "nvidia"
[ 59.736] (==) No monitor specified for screen "nvidia".
Using a default monitor configuration.
[ 59.736] (**) |-->Inactive Device "intel"
[ 59.736] (==) Automatically adding devices
[ 59.736] (==) Automatically enabling devices
[ 59.736] (==) Automatically adding GPU devices
[ 59.736] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 59.736] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 59.736] Entry deleted from font path.
[ 59.736] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 59.736] Entry deleted from font path.
[ 59.736] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 59.736] Entry deleted from font path.
[ 59.736] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 59.736] Entry deleted from font path.
[ 59.736] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 59.736] Entry deleted from font path.
[ 59.736] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 59.736] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 59.736] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 59.736] (II) Loader magic: 0x55b9d858eda0
[ 59.736] (II) Module ABI versions:
[ 59.736] X.Org ANSI C Emulation: 0.4
[ 59.736] X.Org Video Driver: 20.0
[ 59.736] X.Org XInput driver : 22.1
[ 59.736] X.Org Server Extension : 9.0
[ 59.737] (++) using VT number 7
[ 59.737] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 59.737] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 59.737] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 59.738] (--) PCI:*(0:0:2:0) 8086:0166:1558:7102 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 59.738] (--) PCI: (0:1:0:0) 10de:13d7:1558:7481 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 59.739] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[ 59.739] (II) "glx" will be loaded by default.
[ 59.739] (II) LoadModule: "glx"
[ 59.739] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[ 59.741] (II) Module glx: vendor="NVIDIA Corporation"
[ 59.741] compiled for 4.0.2, module version = 1.0.0
[ 59.741] Module class: X.Org Server Extension
[ 59.741] (II) NVIDIA GLX Module 364.19 Tue Apr 19 14:10:52 PDT 2016
[ 59.741] (II) LoadModule: "nvidia"
[ 59.741] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 59.741] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 59.741] compiled for 4.0.2, module version = 1.0.0
[ 59.742] Module class: X.Org Video Driver
[ 59.742] (II) LoadModule: "modesetting"
[ 59.742] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 59.742] (II) Module modesetting: vendor="X.Org Foundation"
[ 59.742] compiled for 1.18.3, module version = 1.18.3
[ 59.742] Module class: X.Org Video Driver
[ 59.742] ABI class: X.Org Video Driver, version 20.0
[ 59.742] (II) NVIDIA dlloader X Driver 364.19 Tue Apr 19 13:48:55 PDT 2016
[ 59.742] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 59.742] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 59.742] (II) Loading sub module "fb"
[ 59.742] (II) LoadModule: "fb"
[ 59.742] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 59.742] (II) Module fb: vendor="X.Org Foundation"
[ 59.742] compiled for 1.18.3, module version = 1.0.0
[ 59.742] ABI class: X.Org ANSI C Emulation, version 0.4
[ 59.742] (II) Loading sub module "wfb"
[ 59.742] (II) LoadModule: "wfb"
[ 59.742] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 59.742] (II) Module wfb: vendor="X.Org Foundation"
[ 59.742] compiled for 1.18.3, module version = 1.0.0
[ 59.742] ABI class: X.Org ANSI C Emulation, version 0.4
[ 59.742] (II) Loading sub module "ramdac"
[ 59.742] (II) LoadModule: "ramdac"
[ 59.742] (II) Module "ramdac" already built-in
[ 59.743] (II) modeset(G0): using drv /dev/dri/card1
[ 59.743] (II) NVIDIA(0): Creating default Display subsection in Screen section
"nvidia" for depth/fbbpp 24/32
[ 59.743] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 59.743] (==) NVIDIA(0): RGB weight 888
[ 59.743] (==) NVIDIA(0): Default visual is TrueColor
[ 59.743] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 59.743] (**) NVIDIA(0): Option "ConstrainCursor" "off"
[ 59.743] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "on"
[ 59.743] (**) NVIDIA(0): Option "IgnoreDisplayDevices" "CRT"
[ 59.743] (**) NVIDIA(0): Enabling 2D acceleration
[ 59.938] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 59.938] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
[ 59.938] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
[ 59.938] (EE) NVIDIA(GPU-0): README for additional information.
[ 59.938] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 59.938] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 59.938] (II) UnloadModule: "nvidia"
[ 59.938] (II) UnloadSubModule: "wfb"
[ 59.938] (II) UnloadSubModule: "fb"
[ 59.938] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[ 59.938] (**) modeset(G0): Option "AccelMethod" "None"
[ 59.938] (==) modeset(G0): RGB weight 888
[ 59.938] (==) modeset(G0): Default visual is TrueColor
[ 59.938] (**) modeset(G0): glamor disabled
[ 59.938] (II) modeset(G0): ShadowFB: preferred YES, enabled YES
[ 59.938] (II) modeset(G0): Output LVDS-1 has no monitor section
[ 59.939] (II) modeset(G0): Output VGA-1 has no monitor section
[ 60.064] (II) modeset(G0): Output HDMI-1 has no monitor section
[ 60.064] (II) modeset(G0): Output DP-1 has no monitor section
[ 60.192] (II) modeset(G0): Output HDMI-2 has no monitor section
[ 60.320] (II) modeset(G0): Output HDMI-3 has no monitor section
[ 60.320] (II) modeset(G0): Output DP-2 has no monitor section
[ 60.320] (II) modeset(G0): Output DP-3 has no monitor section
[ 60.320] (II) modeset(G0): EDID for output LVDS-1
[ 60.320] (II) modeset(G0): Manufacturer: CMO Model: 1720 Serial#: 0
[ 60.320] (II) modeset(G0): Year: 2011 Week: 2
[ 60.320] (II) modeset(G0): EDID Version: 1.3
[ 60.320] (II) modeset(G0): Digital Display Input
[ 60.320] (II) modeset(G0): Max Image Size [cm]: horiz.: 38 vert.: 21
[ 60.320] (II) modeset(G0): Gamma: 2.20
[ 60.320] (II) modeset(G0): No DPMS capabilities specified
[ 60.320] (II) modeset(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 60.320] (II) modeset(G0): First detailed timing is preferred mode
[ 60.320] (II) modeset(G0): redX: 0.640 redY: 0.333 greenX: 0.303 greenY: 0.613
[ 60.320] (II) modeset(G0): blueX: 0.154 blueY: 0.060 whiteX: 0.313 whiteY: 0.329
[ 60.320] (II) modeset(G0): Manufacturer's mask: 0
[ 60.320] (II) modeset(G0): Supported detailed timing:
[ 60.320] (II) modeset(G0): clock: 138.7 MHz Image Size: 382 x 215 mm
[ 60.320] (II) modeset(G0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
[ 60.320] (II) modeset(G0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1111 v_border: 0
[ 60.320] (II) modeset(G0): N173HGE-L11
[ 60.320] (II) modeset(G0): CMO
[ 60.320] (II) modeset(G0): N173HGE-L11
[ 60.320] (II) modeset(G0): EDID (in hex):
[ 60.320] (II) modeset(G0): 00ffffffffffff000daf201700000000
[ 60.320] (II) modeset(G0): 02150103802615780ad895a3554d9d27
[ 60.320] (II) modeset(G0): 0f505400000001010101010101010101
[ 60.320] (II) modeset(G0): 0101010101012e3680a070381f403020
[ 60.320] (II) modeset(G0): 35007ed710000018000000fe004e3137
[ 60.321] (II) modeset(G0): 334847452d4c31310a20000000fe0043
[ 60.321] (II) modeset(G0): 4d4f0a202020202020202020000000fe
[ 60.321] (II) modeset(G0): 004e3137334847452d4c31310a20006e
[ 60.321] (II) modeset(G0): Printing probed modes for output LVDS-1
[ 60.321] (II) modeset(G0): Modeline "1920x1080"x60.0 138.70 1920 1968 2000 2080 1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)
[ 60.321] (II) modeset(G0): Modeline "1920x1080"x59.9 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1600x1024"x60.2 103.12 1600 1600 1656 1664 1024 1024 1029 1030 +hsync +vsync (62.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1360x768"x59.8 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync (47.7 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1360x768"x60.0 72.00 1360 1408 1440 1520 768 771 781 790 +hsync -vsync (47.4 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1152x864"x60.0 81.62 1152 1216 1336 1520 864 865 868 895 -hsync +vsync (53.7 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1024x768"x120.1 133.47 1024 1100 1212 1400 768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[ 60.321] (II) modeset(G0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 60.321] (II) modeset(G0): Modeline "960x720"x120.0 117.00 960 1024 1128 1300 720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "928x696"x120.1 109.15 928 976 1088 1264 696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[ 60.321] (II) modeset(G0): Modeline "896x672"x120.0 102.40 896 960 1060 1224 672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[ 60.321] (II) modeset(G0): Modeline "960x600"x120.0 77.00 960 984 1000 1040 600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "960x540"x120.0 69.25 960 984 1000 1040 540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[ 60.321] (II) modeset(G0): Modeline "800x600"x120.0 81.00 800 832 928 1080 600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 60.321] (II) modeset(G0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 60.321] (II) modeset(G0): Modeline "840x525"x120.0 73.12 840 892 980 1120 525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[ 60.321] (II) modeset(G0): Modeline "840x525"x119.8 59.50 840 864 880 920 525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[ 60.321] (II) modeset(G0): Modeline "800x512"x120.3 51.56 800 800 828 832 512 512 514 515 doublescan +hsync +vsync (62.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "700x525"x120.0 61.00 700 744 820 940 525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[ 60.321] (II) modeset(G0): Modeline "640x512"x120.0 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "720x450"x119.8 53.25 720 760 836 952 450 451 454 467 doublescan -hsync +vsync (55.9 kHz d)
[ 60.321] (II) modeset(G0): Modeline "640x480"x120.0 54.00 640 688 744 900 480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[ 60.321] (II) modeset(G0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 60.321] (II) modeset(G0): Modeline "680x384"x119.6 42.38 680 716 784 888 384 385 390 399 doublescan -hsync +vsync (47.7 kHz d)
[ 60.321] (II) modeset(G0): Modeline "680x384"x119.9 36.00 680 704 720 760 384 385 390 395 doublescan +hsync -vsync (47.4 kHz d)
[ 60.321] (II) modeset(G0): Modeline "576x432"x120.1 40.81 576 608 668 760 432 432 434 447 doublescan -hsync +vsync (53.7 kHz d)
[ 60.321] (II) modeset(G0): Modeline "512x384"x120.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[ 60.321] (II) modeset(G0): Modeline "400x300"x120.6 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[ 60.321] (II) modeset(G0): Modeline "400x300"x112.7 18.00 400 412 448 512 300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[ 60.321] (II) modeset(G0): Modeline "320x240"x120.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[ 60.322] (II) modeset(G0): EDID for output VGA-1
[ 60.448] (II) modeset(G0): EDID for output HDMI-1
[ 60.448] (II) modeset(G0): EDID for output DP-1
[ 60.580] (II) modeset(G0): EDID for output HDMI-2
[ 60.708] (II) modeset(G0): EDID for output HDMI-3
[ 60.708] (II) modeset(G0): EDID for output DP-2
[ 60.708] (II) modeset(G0): EDID for output DP-3
[ 60.708] (II) modeset(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 60.708] (==) modeset(G0): DPI set to (96, 96)
[ 60.708] (II) Loading sub module "fb"
[ 60.708] (II) LoadModule: "fb"
[ 60.708] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 60.708] (II) Module fb: vendor="X.Org Foundation"
[ 60.708] compiled for 1.18.3, module version = 1.0.0
[ 60.708] ABI class: X.Org ANSI C Emulation, version 0.4
[ 60.708] (II) Loading sub module "shadow"
[ 60.708] (II) LoadModule: "shadow"
[ 60.708] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 60.709] (II) Module shadow: vendor="X.Org Foundation"
[ 60.709] compiled for 1.18.3, module version = 1.1.0
[ 60.709] ABI class: X.Org ANSI C Emulation, version 0.4
[ 60.709] (EE) Screen(s) found, but none have a usable configuration.
[ 60.709] (EE)
Fatal server error:
[ 60.709] (EE) no screens found(EE)
[ 60.709] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 60.709] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 60.709] (EE)
[ 60.712] (EE) Server terminated with error (1). Closing log file.

dmesg (truncated) (full log is here : http://pastebin.com/RZABa15r)


[    0.000000] microcode: CPU0 microcode updated early to revision 0x1c, date = 2015-02-26
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.0-28-generic (buildd@lcy01-13) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) ) #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 (Ubuntu 4.4.0-28.47-generic 4.4.13)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-28-generic root=UUID=61384bb6-6235-4c1b-a19c-0549eb518562 ro quiet splash intel_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
...
[ 4.235108] [drm] Initialized drm 1.1.0 20060810
[ 4.235328] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 4.235333] r8169 0000:03:00.2: can't disable ASPM; OS doesn't have ASPM control
[ 4.236092] r8169 0000:03:00.2 eth0: RTL8411 at 0xffffc90001bae000, 00:90:f5:de:76:a6, XID 08800800 IRQ 28
[ 4.236094] r8169 0000:03:00.2 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 4.243933] nvidia: module license 'NVIDIA' taints kernel.
[ 4.243936] Disabling lock debugging due to kernel taint
[ 4.246824] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 4.248080] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0xe impl SATA mode
[ 4.248085] ahci 0000:00:1f.2: flags: 64bit ncq stag pm led clo pio slum part ems sxs apst
[ 4.249924] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 4.249978] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[ 4.250032] nvidia-nvlink: Nvlink Core is being initialized, major device number 247
[ 4.250041] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 364.19 Tue Apr 19 14:44:55 PDT 2016
[ 4.250719] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 364.19 Tue Apr 19 14:15:03 PDT 2016
[ 4.251167] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
...
[ 4.270300] [drm] Memory usable by graphics device = 2048M
[ 4.270303] checking generic (d0000000 7f0000) vs hw (d0000000 10000000)
[ 4.270304] fb: switching to inteldrmfb from VESA VGA
[ 4.270325] Console: switching to colour dummy device 80x25
[ 4.270378] [drm] Replacing VGA console driver
[ 4.296133] firewire_ohci 0000:05:00.0: added OHCI v1.10 device as card 0, 4 IR + 4 IT contexts, quirks 0x10
[ 4.332453] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 4.332456] [drm] Driver supports precise vblank timestamp query.
[ 4.353370] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[ 4.353422] ACPI: Video Device [PEGP] (multi-head: yes rom: yes post: no)
[ 4.353555] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:13/LNXVIDEO:00/input/input11
[ 4.353713] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 4.364921] acpi device:45: registered as cooling_device8
[ 4.364975] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input12
[ 4.365093] [drm] Initialized i915 1.6.0 20151010 for 0000:00:02.0 on minor 1
...
[ 4.613355] usb-storage 3-2:1.1: USB Mass Storage device detected
[ 4.613433] scsi host6: usb-storage 3-2:1.1
[ 4.613481] usbcore: registered new interface driver usb-storage
[ 4.614464] usbcore: registered new interface driver uas
[ 4.669552] sda: sda1 sda2 sda3 sda4 sda5 sda6
[ 4.670172] sd 1:0:0:0: [sda] Attached SCSI disk
[ 4.756470] fbcon: inteldrmfb (fb0) is primary device
[ 4.756557] Console: switching to colour frame buffer device 240x67
[ 4.756602] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 4.776005] usb 3-4: new full-speed USB device number 3 using xhci_hcd
[ 4.796127] firewire_core 0000:05:00.0: created device fw0: GUID edd4567887654321, S400
[ 4.948273] scsi 2:0:0:0: CD-ROM Slimtype DVD A DS8A8SH KX12 PQ: 0 ANSI: 5
[ 4.964813] hidraw: raw HID events driver (C) Jiri Kosina
[ 4.967994] usbcore: registered new interface driver usbhid
[ 4.967995] usbhid: USB HID core driver
[ 4.969066] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C05A.0001/input/input13
[ 4.969137] hid-generic 0003:046D:C05A.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1a.0-1.2/input0
[ 4.977232] sr 2:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 4.977238] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 4.977457] sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 4.977559] sr 2:0:0:0: Attached scsi generic sg1 type 5
[ 5.295972] ata4: SATA link down (SStatus 0 SControl 300)
[ 5.329256] psmouse serio2: synaptics: queried max coordinates: x [..5692], y [..4680]
[ 5.427096] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A
[ 5.427141] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun
[ 5.474042] psmouse serio2: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000/0x0, board id: 0, fw id: 582762
[ 5.511807] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input10
[ 5.612587] scsi 6:0:0:0: CD-ROM OnePlus Device Driver 0000 PQ: 0 ANSI: 2
[ 6.206729] random: nonblocking pool is initialized
[ 6.208200] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
...
[ 17.888461] lpc_ich: Resource conflict(s) found affecting gpio_ich
[ 19.081779] AVX version of gcm_enc/dec engaged.
[ 19.081781] AES CTR mode by8 optimization enabled
[ 20.775548] ath: phy0: ASPM enabled: 0x43
[ 20.775551] ath: EEPROM regdomain: 0x6c
[ 20.775552] ath: EEPROM indicates we should expect a direct regpair map
[ 20.775553] ath: Country alpha2 being used: 00
[ 20.775554] ath: Regpair used: 0x6c
[ 20.969350] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 20.969580] ieee80211 phy0: Atheros AR9462 Rev:2 mem=0xffffc90001f00000, irq=18
[ 21.004796] ath9k 0000:04:00.0 wlp4s0: renamed from wlan0
[ 21.099208] intel_rapl: Found RAPL domain package
[ 21.099211] intel_rapl: Found RAPL domain core
[ 21.099215] intel_rapl: Found RAPL domain uncore
[ 21.122900] nvidia-uvm: Loaded the UVM driver in lite mode, major device number 243
...

Any help is much appreciated.



I did it!! It was a problem with the driver itself!


Problem : My Card (NVIDIA GTX980M) doesn't run well with new proprietary NVIDIA Linux driver.
Solution : Use the old driver that supports my graphic card.




Basically, after lurking the internet for a while, some people said that maybe I can try to use stable nvidia-352 instead of new drivers.


However, upon looking at apt-cache search nvidia-352, I have found out that nvidia-352 is just a transition driver for nvidia-361 graphic driver.


However, based on my previous test, nvidia-361 up to newest (nvidia-370 at the time of writing) is the source of my problem.


So I need to download the exact nvidia-352 instead of transition nvidia-361.




If you're having the same problem as mine, then below are the steps on how I solved it.


Steps :



  1. Uninstall all your current problematic NVIDIA drivers.


    sudo apt-get purge nvidia-* libcuda-*

    .


  2. Create temporary folder to store nvidia-352 required files


    cd ~/Desktop
    mkdir nvidia-352
    cd nvidia-352

    .


  3. Download the required files for nvidia-352 graphic driver.


    wget https://launchpad.net/ubuntu/+archive/primary/+files/libcuda1-352_352.63-0ubuntu3_amd64.deb
    wget https://launchpad.net/ubuntu/+archive/primary/+files/nvidia-libopencl1-352_352.63-0ubuntu3_amd64.deb
    wget https://launchpad.net/ubuntu/+archive/primary/+files/nvidia-opencl-icd-352_352.63-0ubuntu3_amd64.deb
    wget https://launchpad.net/ubuntu/+archive/primary/+files/nvidia-352_352.63-0ubuntu3_amd64.deb

    Edit 1:


    If you have problem downloading nvidia-352_352.63-0ubuntu3_amd64.deb from the link above (occurred to me), you can also download it from different sources.


    Here is an alternative link for that file :


    http://mirrors.mit.edu/ubuntu/pool/restricted/n/nvidia-graphics-drivers-352/nvidia-352_352.63-0ubuntu0.15.10.1_amd64.deb

    Edit 2:


    The links above is for 64-bit NVIDIA driver, for those who are looking for 32-bit then do a look at below link :


    https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-352

    The steps are just the same, just you need to download a different files that support your 32-bit setup.


    .


  4. Install all the debs files.


    sudo dpkg -i *.deb

    .


  5. Reboot


    .





Voila! If you booted into your desktop without having a single crash, then you have successfully solved this graphic problem!


Enjoy! :D


Trisquel has replaced the Ubuntu name since software update

Since my last software update, the name Gnu/Trisquel has replaced Ubuntu at the top of the bootloader menu. Error reports now read "Sorry, Trisquel 6.0.1 has experienced an internal error."



I allowed unofficial sources during the update. Why did this happen? What should I do about it?



Output of sudo apt-get update:



sudo apt-get update
[sudo] password for j:
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease

Hit:2 http://deb.opera.com/opera-stable stable InRelease
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Hit:4 http://dl.google.com/linux/chrome/deb stable Release
Ign:5 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:6 http://repo.vivaldi.com/stable/deb stable Release
Hit:7 http://deb.bitmask.net/debian xenial InRelease
Hit:8 http://ie.archive.ubuntu.com/ubuntu xenial InRelease
Hit:9 http://ie.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:10 http://ie.archive.ubuntu.com/ubuntu xenial-security InRelease
Hit:11 http://ie.archive.ubuntu.com/ubuntu xenial-backports InRelease

Hit:12 https://deb.opera.com/opera-stable stable InRelease
Hit:13 https://repo.skype.com/deb stable InRelease
Hit:14 https://downloads.iridiumbrowser.de/ubuntu xenial InRelease
Hit:15 https://repo.windscribe.com/ubuntu xenial InRelease
Hit:16 https://downloads.iridiumbrowser.de/deb stable InRelease
Get:19 http://mirror.fsf.org/trisquel toutatis-updates InRelease [5,487 B]
Ign:19 http://mirror.fsf.org/trisquel toutatis-updates InRelease
Fetched 5,487 B in 4s (1,293 B/s)
Reading package lists... Done
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134

W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target Translations (multiverse/i18n/Translation-en_IE) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https*://downloads.iridiumbrowser.de/ubuntu xenial InRelease' doesn't support architecture 'i386'
W: GPG error: http://mirror.fsf.org/trisquel toutatis-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B4EFB9F38D8AEBF1
W: The repository 'http://mirror.fsf.org/trisquel toutatis-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target Translations (multiverse/i18n/Translation-en_IE) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:93 and /etc/apt/sources.list:134
W: Duplicate sources.list entry http://deb.opera.com/opera-stable stable Release

Tuesday, October 30, 2018

nvidia - Plasma Could Not Correctly Use OpenGL 2 after upgrading to 18.04

After I upgrade Kubuntu from 17.10 to 18.04, and restarted it, all I'm seeing is my mouse cursor, which responds to my movements, and that's pretty much it. I tried to see if I can start up sddm, but that failed.



I got to login by installing slick-greeter and use that instead.




After logging in, the message says:




Plasma is unable to start as it could not correctly use OpenGL 2. Please check that your graphics drivers are set up correctly.


I checked the environment variable $DISPLAY, but it seems to be unset.



I tried reinstalling plasma-desktop, sddm, mesa drivers, xorg, xserver-xorg*intel, kde*, kwin, and nvidia-340 drivers.




My laptop is a Lenovo Z40 with NVIDIA GT820m (currently disabled and using Intel HD Graphics).



Update: kinda fixed it



I'm not gonna mark this as a solution because I prefer to use Intel graphics (better battery life), but I uninstalled nvidia-340, and installed nvidia-384, and ran prime-select nvidia. That fixed it, but I'm hoping I can run this with Intel graphics. Another reason why I stuck with Intel Graphics for so long is because of the weird sleep bug where the laptop would wake up but the screen stays blank, but it seems to be fixed now.



I did post the bug about the problem on Launchpad and hopefully someone can let me know what was missing.

14.04 - Installing AMD & Intel dual graphics



I have amd 7670m and intel hd 4000 series graphics on my laptop. 1st I installed Ubuntu 14.04 erasing windows 8. i have installed the AMD graphics but after i install the intel graphics then reboot i got this massage that my system is running on low graphics. Also i want to know that do i need to do anything else beside installing these 2 drivers for making them working?




The Intel graphics driver is built-in in Ubuntu, so you don't need to install an additional driver for the Intel graphics. It is also OK to have the proprietary AMD graphics driver and the built-in Intel graphics driver installed at the same time.



Whatever you did to install an unnecessary additional Intel graphics driver is what caused your low-graphics mode error message. To fix the problem, uninstall the unnecessary additional Intel graphics driver. If you can't remember the name of the graphics driver to uninstall it, you can find it by checking in the History tab in the Ubuntu Software Center, and if you installed it from the terminal you can find it by checking your terminal history using the history command.


Monday, October 29, 2018

Cannot add/edit/remove Startup Applications; Ubuntu 14.04 with Unity

New to Ubuntu/Linux. In Startup Applications, changes are not saved; as soon as I close Startup Applications, settings revert to default. I've searched for answers (and tons of other questions on this site) but have yet to find a solution. Tried adding symbolic links to /etc/xdg/autostart, but it hasn't helped (though the symlinks did save there).



Specifically, I want a desktop slideshow app to start automatically. Using applications GUI's to add to autostart also has not worked. I've tried Wallch, Variety, and Slidewall. Wallch and Slidewall GUI's showed that the programs were set to start with login, but they did not (I also made sure not to run them simultaneously to prevent conflict). The setting kept in the GUI, but it had no effect. When I enable that setting on Variety, the app crashes.



Found another question here that recommended using gnome-session-properties via terminal to edit it instead of launching Startup Apps from Dash, but this is was also ineffective. Terminal provided the following:




** (gnome-session-properties:2319): WARNING **: Could not save /home/jordan/.config/autostart/variety.desktop file



Logging out/restarting also had no effect.



I have also tried adding other apps to startup just to see if the problem was the apps I was using; all attempts have been equally unsuccessful.

dual boot - Need Help Fixing Grub after Installing Ubuntu 13.04 x64 Alongside Windows 8 on a Lenovo IdeaPad Y400 with UEFI

I have a Lenovo IdeaPad Y400 that came pre-installed with Windows 8. I would like to run Ubuntu alongside it in a dual-boot configuration. I've spent the past week fiddling around, re-installing both Windows and Linux in various configurations, and I've come awfully close to success, but seem to have hit a snag with Grub.


For my most recent attempt, I took the following steps:



  • Disabled Secure Boot

  • Re-imaged Windows 8 from a hidden recovery partition, effectively restoring the machine to factory state

  • Activated an option called Legacy Support in the BIOS (or is it UEFI
    now?)

  • Booted Ubuntu 13.04 x64 from a USB stick, chose "install alongside Windows" and accepted all default options

  • After a restart, found that I could boot Ubuntu, but could not boot Windows

  • Once into Ubuntu, I ran Boot Repair with recommended settings and accepted all defaults.

  • When Boot Repair finished, I was presented with the following message:



The boot files of [The OS now in use - Ubuntu 13.04] are far from the
start of the disk. Your BIOS may not detect them. You may want to
retry after creating a /boot partition (EXT4, >200MB, start of the
disk). This can be performed via tools such as gParted. Then select
this partition via the [Separate /boot partition:] option of [Boot
Repair]. (https://help.ubuntu.com/community/BootPartition)




  • I followed the instructions at the url in the message, creating a 1GB EXT 4 partition near the start of the drive

  • when I tried to run Boot Repair again, the "Separate /boot partition" option on the "Grub Location" tab was disabled.

  • The new partition is /dev/sda11 and has the label GRUB.

  • On restart, I get the following error message:



error: file '/boot/grub/i386-pc/normal.mod' not found.
grub rescue>




  • However, if I manually choose the boot partition by hitting F12, I can boot into Windows no problems. Selecting Ubuntu from the boot device menu gives me a Grub menu with the following options:



Ubuntu


Advanced options for Ubuntu


Windows UEFI recovery bootmgfw.efi


Windows Boot UEFI recovery


Windows UEFI recovery LrsBootmgr.efi


Windows Boot UEFI recovery bkpbootx64.efi


Windows Recovery Environment (loader) (on /dev/sda3)


Windows 8 (loader) (on /dev/sda5) System setup




  • Selecting Ubuntu from this menu allows me to get to my Ubuntu desktop. I haven't tried the other options yet for fear of losing the progress that I've made.


So it looks like I have successfully dual-booted the machine, but that Grub is broken for some reason or another.


My current partition scheme can be seen at:
http://paste.ubuntu.com/5948753/


Thanks in advance - Jonathan

partitioning - Need to expand the size of /boot

I want to upgrade to the newest version of Ubuntu, but I keep getting the error "Not enough free disk space". The upgrade needs a total of 90.6M of free space.




My problem is that boot presently uses 51.6 MB of space and only has 5 MB left. I.e, the total size of boot is only 56.6 MB. The upgrade requires 90.6MB.



I have tried using gparted to resize the partition that boot is on, but I have a problem.



There's plenty of free room left on my hard drive at 435 GB free, 25 GB used.



I have 2 partitions. 1 is 255 MB, the other is 496 GB.



This is the warning message that appears in gparted
Warning message




When I click on resize/move for the main partition, the slider bar won't move.
Screenshot from gparted



I've also done the automated clean up, but it doesn't remove enough of the files to leave 90.6 MB free.



How can I expand the boot partition?

system installation - How to install Ubuntu on portable external Hard Drive?



OS: Windows 7. I want install Linux Ubuntu on portable external Hard Drive USB 2.0.
I read a variety of methods, but I'm confused by contradictory advices and methods. Actually, installing Ubuntu on anything other than clean PC looks much more complicated than installing Windows.
I need to have Ubuntu package + Python 2.7 + C compiler installed. My external hard drive is partially filled, I need to keep all files.




Will Ubuntu run entirely on external hardrive, without writing anythinhg to Windows system folders and to registry?



Can anyone post detailed guide how install Ubuntu on external hard drive?



A very detailed answer would be beyond the scope of a single question, but here's the general outline. It's very easy, but success will partly depend on the ability of your computer to boot from an external hard drive. This depends on the bios.



Before starting, make sure your bios has an option to boot from a USB HD.



If all you need is the basic install, Python 2.7, and the C compiler, you can get away with installing Ubuntu to a fairly small partition. I forget the literal minimum Ubuntu needs to install, but it's roughly 8 GB. I would recommend 10 GB as a minimum, plus another 2-4 GB if you want a swap drive.




Create space for a partition



It's best in your case to create the new partition before doing the install. You will need to shrink the existing partition on your external hard drive first.



I would recommend backing up the USB HD; but if you had a second one, you could just install to that one. Depending on how full the drive is, you may not be able to back it completely; but try at least back up any important files. This is just a general warning and precaution since your data should be safe.



You have two options to shrink the existing partition:





  1. Use the Windows partition manager in administrative tools. I believe these are available in Home Premium. If the partition won't shrink by enough, you may need to delete files to make room. If you have more than enough available but it still doesn't shrink enough, use a free defrag tool like MyDefrag to defrag and move the files to the start of the partition.


  2. Use gparted from the Ubuntu live install media. This is probably the easier way to do it.




Create a new partition



Create the Ubuntu live installation media and use it to boot your computer. Choose Try Ubuntu.



Plug in the external hard drive. Start the program gparted. If you have not already shrunk the partition on the external HD, do it now.




In most cases, the internal HD will show up as sda and the external as sdb, but this is not guaranteed. Be sure you are looking at the correct HD in gparted.



Shrinking the partition will leave unallocated space. Use this to create a new partition. Format it to ext4. Jot down the partition number. This will be used for /.



You don't need a swap partition, but if want one, shrink the new partition by the size you want (or just make it a little smaller in the first place). Format that space to linux-swap.



Note down the numbers of the new partitions.



Run the Installer




Start the installer from the icon on the desktop or on the launcher. When asked how you want to install, choose: Somethine Else.



This will start the partitioner within the installer. This is different than gparted and may look a little intimidating to a beginner.



Carefully highlight the new partition (check the number and drive carefully) and click Change.



Follow the dialogs to a. Use the partition as ext4, b. mount to /, and c. format.



Highlight the swap partition and click Change. Choose use a linux-swap and that's all for that one.




Very important: change the installation of the bootloader to the USB HD. This will most likely be /dev/sdb. This will prevent you from overwriting the master boot record on your hard drive. (If you do this by accident, it's easily fixed).



Double-check your partition choices, then click Install Now.






That's it. To run Ubuntu, boot the computer with the USB plugged in. Set your bios order or otherwise move USB HD to the first boot position. The boot menu on the usb will show you both Ubuntu (on the external drive) and Windows (on the internal drive). Choose the one you want. If you boot without the usb, you will boot into Windows normally.



Ubuntu has Python 2.7 installed by default. To install the C comiler, open the terminal, any run:




sudo apt-get install gcc


or



sudo apt-get install build-essential


(if you want some additional programs helpful for C programming).







To run Ubuntu in a virtual machine instead, install VirtualBox or VMWarePlayer in Windows. Both are free. Create a new VM and use the installer media to install to the VM. But this time, don't worry about partitions. Choose Install Ubuntu to the entire virtual drive. This doesn't affect the rest of the hard drive.



If you want to put the VM on the external hd, be sure to override the default location when creating the VM and put it on a folder on the external drive.



Creating your installation media with persistence through a Windows program like LiveUSBCreator will also work, but this option will be very slow.


LTS to LTS Upgrade

Another question with this URL:




How do I upgrade to a newer version of Ubuntu?



Has this:




If you choose to upgrade before then, you can pass the -d option to
the upgrade tool, running do-release-upgrade -d or update-manager -d,
to upgrade from vanilla 10.04 to 12.04.





Am I correct in assuming that if I am actually running 10.04.4 (not vanilla?) that the above command line instructions would NOT work? I really do not mind waiting for the GUI Update Manager to show me the availability at 12.04.1 in July. I am just curious.

Sunday, October 28, 2018

How to download Firefox 34 onto Ubuntu 14.04



I'm new to Linux in general and I have problems updating Firefox 34, every time I go to the Firefox website and hit download, the Firefox download just turns into a file. What should I do, my Ubuntu is a 64 bit.



You only need to either open the Ubuntu Software Center and look for Firefox, or run sudo apt-get install firefox in a terminal.



Most software that you'll need can be downloaded from a central repository, that you can search through the Ubuntu Software Center.


nvidia - Will any graphics card work?



I am looking into getting a cheap video card. I am currently looking at getting the EVGA NVIDIA GeForce 210 PCI-E Graphics Card - 1 GB. Would this would with Ubuntu 12.10 and then later 13.04 and if so, how would I install the driver?



Thanks




I usually check to see if the hardware is certified to work with Ubuntu before buying it: http://www.ubuntu.com/certification/catalog/


grub2 - Problem to get inside Another OS (Windows 7)

I have intalled Ubuntu and Windows 7 in my laptop. When I select Windows 7 loader, this screen appears:



BOOTMGR is missing 

Press Ctrl+Alt+Del to restart.


But my ubuntu works fine.I then update the grub there I got the message:



Generating grub.cfg
Found linux image: /boot/vmlinuz-3.5.0-17-generic
Found memtest86+ image: /boot/memtest86+.bin
grub-probe : error filesystem
Found Windows 7 (loader) on dev/sda5
done



But can't access Windows 7 yet
what to do now ?

Saturday, October 27, 2018

boot - Grub rescue after HDD partition layout change

Hi
Firstly I'd like to say am a work in progress in windows and a beginner in Linux. Ok now then let me get to my issue, basically am stuck on grub rescue after a normal shut down in on windows on a dual boot system. Here's the events leading to this problem. BTW am on windows 10.



I have a 1TB HDD on a Toshiba C660, my HDD partitions were as follows all in numeric order according to minitool partition (and this is if I remember correctly): 1.Windows system reserve 100GB 2.Windows installation C:\ 160GB 3.Backup F:\ 600GB(made by me for storing data) 4.Unallocated space (140GB). This was primarily how my HDD was after I reset it with a complete clean leaving only 130GB of data in the Backup partition. I left the remaining 140GB unallocated because I was planning to install Ubuntu Linux the way I did alongside windows 8 previously, as it turned out windows 10 had an issue of not being detected by the live CD installation of ubuntu. So I searched the web for some fixes and I came across a guide that explained how to manually set up portions to install it alongside by making the "/ 32Gb" , /home 100Gb and "swap 8Gb" partitions all went well with the system going through grub on each startup, since I had the backup part I on in mind as a sort of portal to shared files for both systems I was punched in the face the face by the unmountable partition error which usually going through windows and shutting down fixed but this time it wasn't working, I even put the laptop on shutdown ,disconnected the charger and removed the battery for 10 minutes. Seeing as I couldn't use the backup partition as a shared one I had the problem of having no space for the data I wanted to have on the Linux side so I went back in windows and used minitool part I on to resize the backup drive leaving it at 380+GB and create a ext4 200Gb leaving an unallocated 15gb, the partition went successful and since the Linux portions weren't visible from windows I thought if maybe I did a shutdown once more and when I got to the Linux side it would allow me to see and copy the data I needed for once to the new partition. And lo and behold on startup I got a black screen with an error saying.



Error: file '/boot/grub/i386-pc/normal.mod' not found.
Entering rescue mode...
grub rescue>



After the making of Linux and creating of a second backup partition, the partition list was as follows (continuing from original layout). 4.Linux Backup 200Gb 5.Unallocated space 15Gb 6. / root 32Gb 7. /home 100Gb 8.Swap 8Gb. From when I only installed Ubuntu it was 123 and 678. The was another hidden partition on the windows side but it was hidden and I don't remember were it was between the other partitions.

16.04 - Possible missing frmware /lib/firmware/i915

I upgraded my laptop to have the 4.8 kernel and during the process the following warnings came up.



update-initramfs: Generating /boot/initrd.img-4.8.0-040800-generic
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915

W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915


These seem a little odd to me as my CPU is i7-6700HQ which is a skylake and my understanding is that these are for different CPUs? I followed the instructions here prior as in the past I had warnings regarding my CPU family.



Are these warnings things I should just ignore, or should I install the guc/dmc drivers for those CPU families?

boot - How to make a bootable ISO file from a LiveOS USB?

I've been trying to convert a bootable live OS 'multiboot' USB to ISO for burning to DVD.



The USB boots fine and was made using multibootUSB - which has a bootloader with options to load various different Live OS - all work fine



Have tried to create an IMG file (which mounts fine with Ubuntu Disk Image mounter) but converting to an ISO:




mkisofs -o  


results in an ISO that reports




boot failed could not read from cdrom
boot failed could not read the boot disk
no bootable device





all this tested using QEMU and also Virtualbox



Anyone know how to create a bootable ISO file that will work...? Thanks

grub2 - An interesting case of Dual Boot Shenanigans. (dell inspiron 7000)

So, my harddrive recently went bust under warranty. As such, Dell shipped me a replacement. And a USB stick containing a full windows 8 installation and repair media. In the land of OEM installs and roms, that thing is a s good as gold. All the fun began when I decided to make a second partition to install Ubuntu on. Also, keep in mind that in order to boot the USB, I had to disable Secure boot, and run it in legacy mode (an option for my computer). Contrary to what I've read on this forum, it can boot win8 without UEFI no problem. The issue was when I installed Ubuntu 14.02 off of a live USB. At first it couldn't install grub properly, then after 3 install attempts it did so successfully but fried my windows boot loader. Using the windows repair tools I managed to get the boot loader working again, but now it ignored ubuntu. I used the live USB to switch the primary boot drive to the one containing GRUB, and updated GRUB so that it could find the windows 8 boot loader image. However, apon loading the win8 image though GRUB, I get a blank bergandy screen and have to force reboot.




My computer can't seem to run both Windows and Ubuntu, and I can't run UEFI because we'll, it literally doesn't exist on my computer anymore. Also, contrary to what I've read on the forum my PC can run 32 bit versions of ubuntu, even as a 64 bit machine. I have a 32 bit 12.04 boot disk that work perfectly fine. Infact, that. Disk. Seems to have been the only way to fix the boot partition problem I had earlier.



Currently, i've gon over with a fresh install of windows, there is still a dormant Ubuntu, swap, and win8 loader partitions.

dual boot - WinUSB error mounting Windows 10 on external hard drive

I am trying to do dual boot here and when trying to create an external hard drive with Windows 10 bootable made my WinUSB gave the following error:




Installation failed !
Exit code: 256
Log:
Formatting device...
Wait 3 seconds for block device nodes to populate...
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.0 (2016-05-06)
Mounting...
Copying...
Installing grub...

Installing for i386-pc platform.
Installation complete. No error was reported.
Installing grub.cfg...
Exiting...
Syncing...
/usr/bin/winusb: line 78: 1148 Terminating while true; do
sleep 0.05; echo 'pulse';
done
Cleaning...
/usr/bin/winusb: line 78: 1294 Terminating while true; do

sleep 0.05; echo 'pulse';
done
Unmounting and removing '/media/winusb_iso_1478797225_29588'...
Unmounting and removing '/media/winusb_target_1478797225_29588'...


I already researched different WinUSB solutions and none worked, did not show that it failed, but when I boot the system through the USB it said the system was not found. Does anyone have any idea about the problem and how to solve this?

Signature verification error running apt-get update



The following error occurs when running apt-get update:



An error occurred during the signature verification.
The repository is not updated and the previous index files will be used.
GPG error: http://za.archive.ubuntu.com precise Release.
Failed to fetch http://za.archive.ubuntu.com/precise/Release



I am running the update from a fresh install. The only configuration change I made was to change the network from DHCP to static.



Here is the error output from the apt-get update command:



W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources  Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources Hash Sum mismatch


W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/za.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages Hash Sum mismatch


E: Some index files failed to download. They have been ignored, or old ones used instead.


Here is my /etc/apt/sources.list file:



# 

# deb cdrom:[Ubuntu-Server 12.04.5 LTS _Precise Pangolin_ - Release i386 (20140806.1)]/ precise main restricted


#deb cdrom:[Ubuntu-Server 12.04.5 LTS _Precise Pangolin_ - Release i386 (20140806.1)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://za.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://za.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://za.archive.ubuntu.com/ubuntu/ precise-updates main restricted

deb-src http://za.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://za.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://za.archive.ubuntu.com/ubuntu/ precise universe
deb http://za.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://za.archive.ubuntu.com/ubuntu/ precise-updates universe


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://za.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://za.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://za.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://za.archive.ubuntu.com/ubuntu/ precise-updates multiverse


## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://za.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://za.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted

deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner

# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main



Try the following commands



$ sudo apt-get clean



$ sudo mv /var/lib/apt/lists /tmp



$ sudo mkdir -p /var/lib/apt/lists/partial



$ sudo apt-get clean




$ sudo apt-get update


live usb - error when trying to boot from usb

I used unetbootin to create a live-usb of ubuntu 12.04, but when i try to boot it only gets to a black screen with 'SYSLINUX 4.03 2010-1--22 EDD COPYRIGHT (C) 1994-2-1- ...' written on it. I use Acer A0722 netbook with amd-64 bit processor and 4gb ram.



Note that i also tried other ISOs such as android-x86 and they didn't work too.



please what could be the problem, i have checked on some other forums but couldn't find a tangible solution, and i have also tried using usb disk creator software too.

Friday, October 26, 2018

repository - Can I trust repositories




How can I trust any Repositories like



sudo add-apt-repository ppa:upubuntu-com/tor



or



sudo add-apt-repository ppa:wagungs/Kali-linux




You can trust them as much as you trust the people who put them up. Anyone can put up a PPA; a repository owned by some random user is obviously less trustworthy than the official LibreOffice PPA, for example.


apt - Why debian Packages in Archive folder get deleted Automatically in Ubuntu

I am using ubuntu 12.04 LTS. I want to save downloaded packages using aptoncd, so that I don't need to download all the packages again when I reinstall OS.



Now, the problem is last week when I checked my /var/cache/apt/archives folder, there were more than thoousand packages about 1 GB in Total. Yesterday, when I again checked the archives folder, it had only 451 packages left about 500 MB in total.



So, can anyone tell me how the packages in the Archives folder get deleted ?? 'cause I didn't delete any of them. Now, I can't take backup of those packages, 'cause I don't know which packages are missing.

Dual boot with Windows 7 & Ubuntu 16.04 LTS

I have a HP Elite book 840G3 laptop with Windows installed in the primary drive and Ubuntu installed in the second drive. What is to be done to get to pick the operating system option on starting up.



Right now I press Esc on startup and pick the needed drive from the BIOS
Boot Menu screen.

command line - Unable to install programs




So I don't know how this happened, but every time I try to install something or do an update, it won't finish and fails. I am using Ubuntu 17.04. Here's what happens when I try to run sudo apt upgrade:



into@poppistus:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-headers-4.10.0-24 linux-headers-4.10.0-24-generic
linux-image-4.10.0-24-generic linux-image-extra-4.10.0-24-generic

The following packages will be upgraded:
apport click firefox firefox-locale-en firefox-locale-fi gir1.2-click-0.4
gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0 gnome-calendar
gnome-desktop3-data gnome-settings-daemon-schemas imagemagick
imagemagick-6-common imagemagick-6.q16 irssi libc-bin libclick-0.4-0
libgnome-desktop-3-12 libgnutls30 libimage-magick-perl
libimage-magick-q16-perl libjavascriptcoregtk-4.0-18 libldap-2.4-2
libldap-common libmagick++-6.q16-7 libmagickcore-6.q16-3
libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libmirclient9
libmircommon7 libmircookie2 libmircore1 libmirplatform15 libmirprotobuf3

libmirserver43 libmwaw-0.3-3 libnl-3-200 libnl-genl-3-200 libnm-glib-vpn1
libnm-glib4 libnm-util2 libnm0 libsndfile1 libssl1.0.0 libtasn1-6
libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-37-gtk2 lintian linux-generic
linux-headers-generic linux-image-generic locales mir-client-platform-mesa5
mir-graphics-drivers-desktop mir-platform-graphics-mesa-kms12
mir-platform-graphics-mesa-x12 mir-platform-input-evdev6 multiarch-support
network-manager openssl python3-click-package python3-distupgrade sudo
ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk
65 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.

Need to get 0 B/151 MB of archives.
After this operation, 310 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 263567 files and directories currently installed.)
Preparing to unpack .../apport_2.20.4-0ubuntu4.1_all.deb ...
/var/lib/dpkg/info/apport.prerm: 19: /var/lib/dpkg/info/apport.prerm: pyclean: Permission denied
dpkg: warning: subprocess old pre-removal script returned error exit status 126
dpkg: trying script from the new package instead ...

/var/lib/dpkg/tmp.ci/prerm: 19: /var/lib/dpkg/tmp.ci/prerm: pyclean: Permission denied
dpkg: error processing archive /var/cache/apt/archives/apport_2.20.4-0ubuntu4.1_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 126
/var/lib/dpkg/info/apport.postinst: 13: /var/lib/dpkg/info/apport.postinst: pycompile: Permission denied
*** Error in `/usr/bin/dpkg': munmap_chunk(): invalid pointer: 0x0000564558183bf8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7f74655da08b]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1f8)[0x7f74655e7ed8]
/usr/bin/dpkg(+0x20cd0)[0x564555e87cd0]
/usr/bin/dpkg(+0x21119)[0x564555e88119]

/usr/bin/dpkg(+0x283cd)[0x564555e8f3cd]
/usr/bin/dpkg(+0x17737)[0x564555e7e737]
/usr/bin/dpkg(+0x17915)[0x564555e7e915]
/usr/bin/dpkg(+0x17b5d)[0x564555e7eb5d]
/usr/bin/dpkg(+0xaed7)[0x564555e71ed7]
/usr/bin/dpkg(+0x20c0b)[0x564555e87c0b]
/usr/bin/dpkg(+0x20e01)[0x564555e87e01]
/usr/bin/dpkg(+0xa962)[0x564555e71962]
/usr/bin/dpkg(+0x72fd)[0x564555e6e2fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f74655813f1]

/usr/bin/dpkg(+0x743a)[0x564555e6e43a]
======= Memory map: ========
564555e67000-564555eac000 r-xp 00000000 fd:00 11796786 /usr/bin/dpkg
5645560ac000-5645560af000 r--p 00045000 fd:00 11796786 /usr/bin/dpkg
5645560af000-5645560b0000 rw-p 00048000 fd:00 11796786 /usr/bin/dpkg
5645560b0000-5645562c4000 rw-p 00000000 00:00 0
564557bc4000-56455afd2000 rw-p 00000000 00:00 0 [heap]
7f7464069000-7f746407f000 r-xp 00000000 fd:00 25690128 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f746407f000-7f746427e000 ---p 00016000 fd:00 25690128 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f746427e000-7f746427f000 r--p 00015000 fd:00 25690128 /lib/x86_64-linux-gnu/libgcc_s.so.1

7f746427f000-7f7464280000 rw-p 00016000 fd:00 25690128 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f7464280000-7f746428b000 r-xp 00000000 fd:00 25690165 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7f746428b000-7f746448a000 ---p 0000b000 fd:00 25690165 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7f746448a000-7f746448b000 r--p 0000a000 fd:00 25690165 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7f746448b000-7f746448c000 rw-p 0000b000 fd:00 25690165 /lib/x86_64-linux-gnu/libnss_files-2.24.so
7f746448c000-7f7464492000 rw-p 00000000 00:00 0
7f7464492000-7f746449d000 r-xp 00000000 fd:00 25690167 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
7f746449d000-7f746469c000 ---p 0000b000 fd:00 25690167 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
7f746469c000-7f746469d000 r--p 0000a000 fd:00 25690167 /lib/x86_64-linux-gnu/libnss_nis-2.24.so
7f746469d000-7f746469e000 rw-p 0000b000 fd:00 25690167 /lib/x86_64-linux-gnu/libnss_nis-2.24.so

7f746469e000-7f74646b4000 r-xp 00000000 fd:00 25690159 /lib/x86_64-linux-gnu/libnsl-2.24.so
7f74646b4000-7f74648b3000 ---p 00016000 fd:00 25690159 /lib/x86_64-linux-gnu/libnsl-2.24.so
7f74648b3000-7f74648b4000 r--p 00015000 fd:00 25690159 /lib/x86_64-linux-gnu/libnsl-2.24.so
7f74648b4000-7f74648b5000 rw-p 00016000 fd:00 25690159 /lib/x86_64-linux-gnu/libnsl-2.24.so
7f74648b5000-7f74648b7000 rw-p 00000000 00:00 0
7f74648b7000-7f74648bf000 r-xp 00000000 fd:00 25690160 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
7f74648bf000-7f7464abe000 ---p 00008000 fd:00 25690160 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
7f7464abe000-7f7464abf000 r--p 00007000 fd:00 25690160 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
7f7464abf000-7f7464ac0000 rw-p 00008000 fd:00 25690160 /lib/x86_64-linux-gnu/libnss_compat-2.24.so
7f7464ac0000-7f7464ecc000 r--p 00000000 fd:00 11797986 /usr/lib/locale/locale-archive

7f7464ecc000-7f7464ee4000 r-xp 00000000 fd:00 25690314 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f7464ee4000-7f74650e4000 ---p 00018000 fd:00 25690314 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f74650e4000-7f74650e5000 r--p 00018000 fd:00 25690314 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f74650e5000-7f74650e6000 rw-p 00019000 fd:00 25690314 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f74650e6000-7f74650ea000 rw-p 00000000 00:00 0
7f74650ea000-7f74650ed000 r-xp 00000000 fd:00 25690155 /lib/x86_64-linux-gnu/libdl-2.24.so
7f74650ed000-7f74652ec000 ---p 00003000 fd:00 25690155 /lib/x86_64-linux-gnu/libdl-2.24.so
7f74652ec000-7f74652ed000 r--p 00002000 fd:00 25690155 /lib/x86_64-linux-gnu/libdl-2.24.so
7f74652ed000-7f74652ee000 rw-p 00003000 fd:00 25690155 /lib/x86_64-linux-gnu/libdl-2.24.so
7f74652ee000-7f7465360000 r-xp 00000000 fd:00 25690207 /lib/x86_64-linux-gnu/libpcre.so.3.13.3

7f7465360000-7f746555f000 ---p 00072000 fd:00 25690207 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7f746555f000-7f7465560000 r--p 00071000 fd:00 25690207 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7f7465560000-7f7465561000 rw-p 00072000 fd:00 25690207 /lib/x86_64-linux-gnu/libpcre.so.3.13.3
7f7465561000-7f746571f000 r-xp 00000000 fd:00 25690151 /lib/x86_64-linux-gnu/libc-2.24.so
7f746571f000-7f746591e000 ---p 001be000 fd:00 25690151 /lib/x86_64-linux-gnu/libc-2.24.so
7f746591e000-7f7465922000 r--p 001bd000 fd:00 25690151 /lib/x86_64-linux-gnu/libc-2.24.so
7f7465922000-7f7465924000 rw-p 001c1000 fd:00 25690151 /lib/x86_64-linux-gnu/libc-2.24.so
7f7465924000-7f7465928000 rw-p 00000000 00:00 0
7f7465928000-7f746594d000 r-xp 00000000 fd:00 25690210 /lib/x86_64-linux-gnu/libselinux.so.1
7f746594d000-7f7465b4c000 ---p 00025000 fd:00 25690210 /lib/x86_64-linux-gnu/libselinux.so.1

7f7465b4c000-7f7465b4d000 r--p 00024000 fd:00 25690210 /lib/x86_64-linux-gnu/libselinux.so.1
7f7465b4d000-7f7465b4e000 rw-p 00025000 fd:00 25690210 /lib/x86_64-linux-gnu/libselinux.so.1
7f7465b4e000-7f7465b50000 rw-p 00000000 00:00 0
7f7465b50000-7f7465b76000 r-xp 00000000 fd:00 25690116 /lib/x86_64-linux-gnu/ld-2.24.so
7f7465d4d000-7f7465d4f000 rw-p 00000000 00:00 0
7f7465d71000-7f7465d75000 rw-p 00000000 00:00 0
7f7465d75000-7f7465d76000 r--p 00025000 fd:00 25690116 /lib/x86_64-linux-gnu/ld-2.24.so
7f7465d76000-7f7465d77000 rw-p 00026000 fd:00 25690116 /lib/x86_64-linux-gnu/ld-2.24.so
7f7465d77000-7f7465d78000 rw-p 00000000 00:00 0
7ffeb6364000-7ffeb6385000 rw-p 00000000 00:00 0 [stack]

7ffeb63cd000-7ffeb63cf000 r--p 00000000 00:00 0 [vvar]
7ffeb63cf000-7ffeb63d1000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
E: Sub-process /usr/bin/dpkg exited unexpectedly


I would really like to get this fixed and I will be very thankful for even the littlest help!



I solved this by doing the next set of commands:




sudo mv /var/lib/dpkg/info/apport.* /tmp/
sudo dpkg --remove --force-remove-reinstreq apport
sudo apt remove apport
sudo apt autoremove && sudo appt autoclean


Thanks for the help everyone!


wine - Diablo 3 and Starcraft 2 fullscreen with system bar ( ubuntu 14.04 )

I'm running diablo 3 and starcraft 2 , and when my game starts, the system bar is showing up on the fullscreen but before the game open in the desktop of the wine the bar does not appear.




I want to play on fullscreen without the system bars.



System: Ubuntu 14.04
PlayOnLinux 4.2.5
Wine 1.7.22 on Starcraft II
Wine 1.7.15 on Diablo III

unity - Desktop empty after login Ubuntu 14.04

I really need someone's help. I don't know what else to do, I've read all forums trying all sort of manipulations without managing to solve my problem.




After my login my desktop is empty. I don't know exactly what happend, everything was working well but I think it was after an upate. I cannot access the terminal with Alt+Ctrl+T only with Alt+Ctrl+Fx.



I'm running under Ubuntu 14.04 LTS with Virtual Box (Windows 8 host).



I've tried (among others) :



unity --replace



and I have the following error :




compiz (core) - Error: Plugin 'opengl' not loaded


I'm not an expert with Linux but I can do some basic stuff. :)

fglrx - How do I remove the proprietary ATI drivers?


I've installed 11.10 and the proprietary ATI drivers using "additional drivers" The performance of my system is absolutely awful and it shouldn't be. I tried to remove the proprietary drivers using the Additional Drivers tool and it appears to remove them. However after I reboot I cant get back into my desktop properly (the panel and launcher go missing). This doesn't seem to be an isolated problem in 11.XX. This guide covers how to restore the desktop (panel and launcher), but the guide doesn't fix my problem though.


Whenever I do sudo unity --reset it runs through its normal processes until it hangs at setting update "run_key" and never gets past that. I must reinstall the proprietary drivers using jockey-text or jockey-gtk in order to get back to my proper desktop.


Interestingly enough the system performance seems improved while it is in its "broken" state (missing panel and launcher).


I think restoring the default drivers may solve my problems but I cant figure out how to do it.



Try to completely remove your ATI drivers from your system:


sudo apt-get purge "fglrx.*"

Remove your xorg.conf


sudo rm /etc/X11/xorg.conf

Reinstall xorg completely


sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64

Re-configure Xorg


sudo dpkg-reconfigure xserver-xorg

Reboot


sudo reboot

You should be greeted with lightdm, this will default everything x the same way a fresh install would.


upgrade - "Unable to get exclusive lock" when upgrading from 12.04 to 12.10

I have tried the suggestions to find other package managers running, but there are none. I have tried rebooting. I consistently get the same error message. Any other suggestions?

indicator - How do I set the panel whitelist back to the default?


I set this option:


gsettings set desktop.unity.panel systray-whitelist "['all']"

and now I am having all sorts of weird problems with my panel like double icons and stuff, how do I reset this setting to the default setting?



Try installing the dconf-tools from software center.


Press ALT + F2 to run a command and search for dconf-editor


enter image description here


Highlight the whitelist entry as shown in the picture and click the Set To Default button.


enter image description here


Log-off and login for the change to take effect.


Thursday, October 25, 2018

boot - Ubuntu 16.04 No GUI Video After Installing nVidia Driver



I am new to Ubuntu and Linux, but am not new to installing other operating systems and software. I have been attempting to install Ubuntu 16.04 from DVD on a machine with the following hardware:





  • ASRock Z170 OC Formula motherboard, with BIOS version P7.40

  • Intel Celeron G3900 at 2.8 GHz (NOT overclocked)

  • 8 GB DDR4-2133 SDRAM

  • TWO nVidia GTX-1070 video cards

  • Samsung 850 Pro SSD 512 GB

  • Samsung Syncmaster 305T Monitor




Onboard Video and Secure Boot are disabled in BIOS.



When booting from the CD, and when booting the installed Ubuntu, I had to edit the linux command line in Grub to add nomodeset to avoid getting a black screen after the Grub display. The nVidia driver was NOT yet installed initially.



My application requires installation of the native nVidia display drivers. Therefore, I tried installing the nVidia drivers (version 384) through Ubuntu's Additional Drivers application. The installation appeared to proceed normally as far as I could tell. However, upon rebooting, the screen now briefly changes to the Ubuntu login screen background color, then my monitor loses the video signal, and the actual login screen is never displayed.



However, I am able to toggle into terminal mode by using CTRL ALT F1. I then attempted to resolve the above problem by trying various solutions listed at the following links:



Trouble installing Ubuntu 16.04 since I got GTX 1070




My computer boots to a black screen, what options do I have to fix it?



Graphics issues after/while installing Ubuntu 16.04/16.10 with NVIDIA graphics



Blank screen after installing nvidia restricted driver



The most commonly recommended solution in these threads seems to require running the following commands from a terminal session:



sudo apt-get purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt update
sudo apt-get install nvidia-384
sudo reboot


However, following that procedure has not changed my results. I suspect that I am missing some other important step, but can't figure out what it is. Can someone help?



This problem apparently resulted from a defective monitor. While attempting some other solutions, I noted some minor defects in the monitor display (a small section of flickering pixels) that were always present, even in UEFI setup. I switched to a different monitor and reinstalled Ubuntu and the native nVidia drivers without any problems, without even needing to use nomodeset.


What's the best way to make a program update from a new PPA (when an old one is no longer maintained)?



Let's say I'd like my FreeFileSync to update from 6.9 (the last version available in the official PPA) to 6.15 (the last version available on the official site).




There's a proper Vivid package available in GetDeb Apps PPA, but should I first disable ppa:freefilesync/ffs before I add this new repository to my system? Or maybe I should ppa-purge the old PPA? Won't I then lose all my FreeFileSync settings in the process? Maybe ppu-purge is too much and what I really should do is first uninstall FFS using a plain old apt-get remove (and maybe just in case backup FFS configuration files in the home directory before that), then disable the old PPA, add the new one and finally install the up-to-date package from it?



So many options. Which one's best? Please, help me get my head around it.



As far as my experience has gone since asking the question the simplest answer is: you just add a new PPA and let it update the package(s). The program settings stay untouched as per the usual update (because it is basically the usual update - the only thing that changes is the new source of the package(s)).


Ubuntu 14.04 Intel Graphics Dual / Extended Monitors




Once Ubuntu user returned after a few years messing around with other distros. I have just installed 14.04 and I'm having an issue with my dual monitors. I've Googled this issue only to find solutions for setups with dedicated graphics (Nvidia/ATI) cards.



My laptop is using integrated Intel graphics. I have two monitors attached to my docking station, but Display is not detecting the seperate screens, and they are just being mirrored.



I have tried it with DVI x 2 and DVI + VGA, with no joy. It works fine on Windows.



Any ideas? I'd like to run an extended desktop over dual monitors (as one does).



Thanks in advance.




Edit: This is the output of xrandr:




Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
1366x768 60.1 + 40.0
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2

640x480 59.9
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 60.0*+
3840x1200 60.0
2560x1024 60.0
1920x1080 60.0
1600x1200 60.0
1680x1050 60.0
1280x1024 60.0

1280x960 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


The problem is that your connection to the external monitors is through a DisplayPort connection to the docking device. The dock is using a single DisplayPort connection to provide both monitors over a single channel. To do this, it is using Multi-Stream Transport (MST), which is not yet well supported in Linux and Xorg.




Until the Hardware Enablement Stack for 14.04 becomes available after 14.10 is released, you won't be able to use the feature with the standard kernel and Xorg packages.



Options until a kernel and Xorg are available via normal channels on 14.04 that include this support, are to use a PPA which contains the back-ports of the necessary versions (assuming that the hardware you have is supported in the newer versions already), or compile your own packages.


11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...