Thursday, January 31, 2019

12.04 - How do I get OpenGL working on an Nvidia GeForce GT 750M?

So, what do I have:




  • Acer Aspire V30772G laptop with an Intel video-chipset and an Nvidia Geforce GT 750M video-card

  • Ubuntu 12.04 installed and updated, with the proprietary driver selected (nvidia-319-updates)



What's the problem?





  1. OpenGL doesn't seem to be working properly. glxinfo | grep OpenGL sais OpenGL is enabled, but it's software-rendered, so it does not allow the unity 3D features to activate.



    OpenGL vendor string: VMware, Inc.
    OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.3, 256 bits)
    OpenGL version string: 2.1 Mesa 9.2.0
    OpenGL shading language version string: 1.30
    OpenGL extensions:


  2. Thus Compiz is not working properly, especially when I try to configure the virtual workspaces or navigate between them (it only shows an icon of the topmost application instead of a full view).





What I have already tried.




  1. I have tried installing bumblebee, did not help.

  2. I have tried installing the nvidia 331 driver from source. Nothing.

  3. Tried installing the same nvidia-331 driver from xorg-edgers, it did not change the problem, but after I ran apt-get upgrade I was unable to log in after reboot (the xorg got broken).

  4. Tried the answer below with purging and reinstalling the nvidia drivers. It brought me to the output mentioned above, but still does not work as I need.




Unity 3D test



OpenGL vendor string:   VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.3, 256 bits)
OpenGL version string: 2.1 Mesa 9.2.0

Not software rendered: no
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes

GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes

Unity 3D supported: no

Which nvidia to install? Latest from Nvidia.com or from additional drivers?



A very simple question




Which Nvidia driver is best to install?



The latest Nvidia driver from nvidia website which is 346.47



or



Nvidia-331.113 from Additional Drivers tool?



I have updated my kernel version to 3.18.3-031803-generic




Which drivers to install depends entirely on how you use your system. The 331.113 drivers are generally more stable as they have been extensively tested for the current version of Ubuntu and are much less likely to malfunction than the latest drivers, the 346.47 drivers on the other hand use bleeding-edge technologies that may improve performance of video games and in some cases add additional features not seen in the older drivers, One example of this is that the 331.113 drivers do not support resolutions above 1920x1080 through HDMI while the 346.47 drivers can support additional resolutions but are generally less stable than the 331.113 drivers.



In summary, If you require stability then it is better to use the 331.113 drivers but if you require improved performance for video games or need any additional features provided by the newer drivers then it may be better to go for the 346.47 drivers instead.



Additionally, if you do decide to use the 346.47 drivers then it may to easier to install them using the xorg-edgers ppa which will allow you to install the latest 346 drivers using apt-get install:



sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get install nvidia-346
sudo reboot


networking - No internet in WINE 1.6.2 under Ubuntu 15.10


I am trying to install Metatrader under Wine. The program setup continually requests proxy settings. My broker tells me this shouldn't happen, and is a problem on my end. Here is what I have tried to attempt to solve this error:



  • I have gone into Network settings and proxy is set to none.

  • I have looked in Wine Regedit and proxy_enable is set to 0.

  • I have checked the firewall settings on my modem.

  • I have tried reinstalling wine.

  • I have installed lib32nss-mdns

  • I can log on to my modem in iexplore using the gateway ip but thats it
    I've set my DNS to 10.0.0.138 to reflect the gateway
    I've set up a 32 bit Wine prefix


How should I proceed in solving this?



Turned out to be a real newbie problem, a little embarrassing. I hadn't added the correct repo and was installing from an old repo. (Ubuntu 12.04 I think). Added the winehq repo and reinstalled. All working fine now. Was wondering why I was only getting 1.6.2.


Regarding configuration of Nvidia GeForce GT 740M graphics driver for Toshiba Satellite P50-AX3110 in Ubuntu 13.10

I have a Toshiba Satellite P50-AX3110 laptop which comes with preinstalled Windows 8 operating system having the following configuration: 4GB RAM, 3rd generation Intel Core i5 processor, 2GB Nvidia GeForce GT 740M with Optimus graphics card.




I have recently installed Ubuntu 13.10 alongside Windows 8 in my laptop. Everything is working fine in Ubuntu 13.10 except the 2GB Nvidia GeForce GT 740M with Optimus graphics card. In the device information in Ubuntu 13.10, when I select
graphics it shows Intel Ivy Bridge, whereas it should show the Nvidia graphics card.



I have tried searching for a solution on many websites on the internet, but nothing worked. Please provide me the steps on how to configure 2GB Nvidia GeForce GT 740M with Optimus graphics card in Ubuntu 13.10 or suggest me any other version of Ubuntu which would support 2GB Nvidia GeForce GT 740M with Optimus graphics card.



One of the solutions I have tried (after searching on the internet) is that I had installed nvidia-331 package along with the bumblebee package from the Synaptic Package Manager, but still the problem persists. Kindly provide me with a solution to the above.

drivers - HDMI audio to Samsung TV not working Ubuntu 14.04

I have seen many people have had problems with this topic and have tried pretty much every solution I can find (google is an ubuntu users friend) but still have not been able to get audio working through HDMI on my laptop with Ubuntu 14.04 (I also had the same problem with 13.10 and 13.04). Hence why I am writing this ask ubuntu question (my last hope). When I was running Windows 7 this was not an issue.



Laptop Information: 
3.13.0-24-generic
Graphics: Hybrid Graphics System
GPU/VPU: Intel HD Graphics 3000 and NVIDIA GeForce GT 555M



I am currently running the NVIDIA binary driver - version 331.38 (from additional drivers)
I also tried using the X.org Xserver - Nouveau display driver
Additionally I installed the oem-audio-hda-daily-dkms (alsa daily builds)



Information:
The option for HDMI audio does not show up under sound settings so I installed the pulseaudio manager. However the option for HDMI output is always showing up as (unplugged). I also tried the gnome alsamixer with no luck.



With the alsamixer I can see the option for S/PDIF and even when I unmute it no option appears in the sound settings.



I added the GRUB_CMDLINE_LINUX="radeon.audio=1" option to the /etc/default/grub just for fun...




I checked all the settings on the TV just to make sure I wasn't missing anything.



I even tried the Bumblebee Project.



Let me know if I need to provide any additional information.

Wednesday, January 30, 2019

apt - ttf-mscorefonts-installer Download Failure



I know there's already a lot of duplicates for this, but for some reason, I just can't get ttf-mscorefonts-installer to stop bugging me with the error message.



I've followed the steps from here: "Failure to download extra data files" after installing ttf-mscorefonts-installer



apt-get says something about the hash sum not being the same for one of the files. When I manually download the files and run sudo dpkg-reconfigure ttf-mscorefonts-installer, nothing happens! The command runs without any output!



So, since dpkg-reconfigure doesn't do anything, how do I fix this? I only need Wine for 1 program, and it works just fine. Is there a way to simply turn off the popup?




@carnendil, thanks for linking that other question. When I installed the 3.6 version of the package, everything worked fine. The download script looks a lot different compared to the 3.4 package, and it didn't have any issues with invalid content headers or hash sum mismatches.


low-graphics mode after update to 13.10 and reinstallation of nvidia drivers

I recently updated to 13.10 and it broke all my opencv stuff (impossible to compile or run previous programs that were ok on 13.04).



Cuda wasn't installed anymore, nor were the nvidia drivers.



So I tried to install them again (did it in 13.04). I tried all the suggestions here: Has anyone successfully installed CUDA 5.5 on Ubuntu 13.10 64-bit?
That is, trying to install from:



sudo ./NVIDIA-Linux-x86_64-331.20.run



It didn't work but I could recover from the low graphics mode issue. After enabling the proper repository I tried:



sudo apt-get install nvidia-331


It didn't work either. Finally



sudo apt-get install nvidia-current-updates-dev



This got me totally stuck; I now can't get out of low-graphic mode.



I've checked and tried:



NVIDIA driver problem after updating to 12.04



How can I get out of low graphics mode on 12.04?



What else can I try?

unity - Ubuntu 16.04 Menu Bar and Application/Side Bar Missing

Here's what I've tried with no luck-



Unity --reset

The --reset option is deprecated, You should run with no options instead.
unity-panel-service stop/waiting
unity7 stop/waiting
unity-panel-service start/running, process 5248
unity7 start/running, process 5307


unity --replace
WARNING: This is for compatibility with other desktop interfaces please use unity without --replace
unity-panel-service stop/waiting

unity7 stop/waiting
unity-panel-service start/running, process 5092
unity7 start/running, process 5151

export DISPLAY=:0 sudo dconf reset -f /org/compiz/ setsid unity

unity-panel-service stop/waiting
unity7 stop/waiting
unity-panel-service start/running, process 5598
unity7 start/running, process 5709



Have done the whole ccsm, enable Ubuntu unity plugin (along with all the rest of the things that need to be enabled with it). Does not show the menu/side bars once I enable it, nor on reboot, and seems to not stay enabled after reboot.



Additionally, I've seen suggested creating a new administrator account. I've done that.. THAT account does have the menu/side bar. I don't know what that means or how that helps fix this account.



I've tried screen resolutions. No luck fixing it.



I've tried installing/reinstalling indicators. No luck fixing it.




What else could possibly be the problem?

apt - Uninstall OpenShot

Ubuntu says that OpenShot is not installed. It clearly is, as you can see in this screenshot. I've tried a number of variants, including apt remove openshot*, OpenShot, and so on. All the info I can find says this should have worked. I'd like to remove it because it is unstable on my system.


Commands such as sudo apt-get purge --auto-remove openshot return "openshot is not installed" As you can see it is installed and running. enter image description here


[EDIT] Here is the output of apt-cache:


lawrence@DianneFosseyT5500:~$ apt-cache search openshot*
gpsshogi - Shogi playing program based on OpenShogiLib
gpsshogi-data - data files for gpsshogi
gpsshogi-dbg - Shogi playing program based on OpenShogiLib
libosl-dev - library for Shogi playing programs
libosl-doc - library for Shogi playing programs
libosl1v5 - library for Shogi playing programs
libosl1v5-dbg - library for Shogi playing programs
openshot-doc - Help manual for OpenShot Video Editor
libopenshot-audio5 - Audio library used by OpenShot
libopenshot-audio-dev - Development files for libopenshot-audio
libopenshot12 - Library for creating and editing videos
libopenshot-dev - Development files for libopenshot
python-libopenshot - Python bindings for libopenshot
openshot-qt - Create and edit videos and movies.
openshot - Create and edit videos and movies.
lawrence@DianneFosseyT5500:~$

[Edit] sudo apt list --installed does not produce any output that lists anything like openshot.


Attempting to install openshot again results in this:


The following packages have unmet dependencies:

openshot : Depends: melt but it is not going to be installed
Depends: python-mlt but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

nvidia - Installing Ubuntu On Dell Precision 5510

Has anyone had any success installing Ubuntu 14.04, 15.10, or any variety on the new Dell Precision 5510?



I have been trying for 3 days with very little success.



Issues I'm Facing





  1. The Intel 8260 wireless network card is not recognized.




    • Fixed in by installing 14.04 and updating to kernel 4.2, which causes the thunderbolt 3 Ethernet dongle to not work.


  2. Can't hibernate or shut down.




    • Tried Many things including:



      • +acpi=off. Works for shutdown, but won't hibernate.

      • I can't remember what else I've tried, but they were numerous.



  3. When installing Ubuntu 15.10:




    • +First: get Missing Parameter in configuration file. Keyword Path

      *fixed: tab -> live.

    • I get a bunch of error messages about nouveau then the system hangs.




System Information




  • Precision 5510 with a core i5, and the touch screen 4k display.

Can't login to Ubuntu 14.04 after upgrade


I have a problem that i never seen before. I upgraded my Ubuntu 12.04 64bit to 14.04 using the following command:


$ sudo update-manager -d

After that I can't login to my user account, when I log it just flashes and then it goes back to the login screen, but the odd thing is that I can log in with the guest account.


I tried to create another account but couldn't log to that account either.


FYI I don't have any graphic cards like NVIDIA or AMD.



What worked for the original poster was: recursively correcting the permissions of their home directory.


sudo chmod -R ug+rwx /home/[username]

To be more specific, the problem is with the .Xauthority in your home folder. You simply need to change its permissions to yourself or, as it was in my case, it was owned by root, so I needed to change the owner to my user. This way you don't need to change the permissions for every file in your home folder.


Tuesday, January 29, 2019

apt - "Repository not signed" after uninstall

Iam a severe beginner, so please bear with me ...


I un-installed playonlinux from my machine*. Now, whenever running sudo apt-get update, the system still prints these warnings:



W: GPG error: http://deb.playonlinux.com precise InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 73F0D6E88E3D6C3A


W: The repository 'http://deb.playonlinux.com precise InRelease' is not signed.


N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.



When I look at sources.list, it does not contain any reference to playonlinux that I can identify. I also ran apt-key update. When I try to purge playonlinux, it says that Package 'playonlinux' is not installed.


How can I fix this? Thanks!


*I am running Elementary OS 0.4.1. (Built on "Ubuntu 16.04.2 LTS").

software recommendation - What are the Alternatives For RemasterSys?



I need an alternative software of Remastersys since it's not working in my system (Ubuntu 12.04.)




I want software just like remastersys. I don't want to install any new packages, I just want a piece of software that makes an ISO of my current system without any added packages.



Relinux is the best software to use instead of Remastersys.
Here is a great tutorial how to use.
Download the latest version from launchpad


12.10 - How do I disable the upgrade to new version warning?

After I allowed Ubuntu on my notebook to upgrade to 13.4, it lost Wi-Fi connection. Network menu does not show wireless access points, but according to syslog it establishes connection. Also, the wireless router provides IP address to the host. I don't want to spend time on debugging and solving the problem that most probably will reappear with new update, so I decided to reinstall 12.10 version.
It recognized Broadcom Wi-Fi modem right after the boot, and everything went great, until today I powered it on and suddenly found that it is running 13.4 and all my problems are back!



Is it possible to instruct it to stay with 12.10 until I decide to upgrade?

laptop - Display brightness cannot be adjusted 18.04


I have recently installed Ubuntu mate 18.04 on my XPS 15 9560. I cannot adjust the display brightness through any means. I have tried the following:



  1. Set the acpi_backlight=vendor in boot parameters

  2. used xbacklight, which gives the following results


.


xypnox@xypnox-xps:~$ xbacklight -set 50
No outputs have backlight property

also I followed another question at xbacklight: No outputs have backlight property - No /sys/class/backlight folder, and the output for sudo find /sys/ -type f -iname '*brightness*' is


xypnox@xypnox-xps:~$ sudo find /sys/ -type f -iname '*brightness*'
/sys/devices/platform/dell-laptop/leds/dell::kbd_backlight/brightness_hw_changed
/sys/devices/platform/dell-laptop/leds/dell::kbd_backlight/max_brightness
/sys/devices/platform/dell-laptop/leds/dell::kbd_backlight/brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::capslock/max_brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::capslock/brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::numlock/max_brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::numlock/brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::scrolllock/max_brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::scrolllock/brightness
/sys/module/video/parameters/brightness_switch_enabled
/sys/module/i915/parameters/invert_brightness


I have finally found the solution to the problem. There display drivers for Ubuntu did not work out of the box for me. I started fresh from a 18.04.1 release and used nomodeset to boot into the live USB. Obviously, I could not set the brightness. I installed regularly and rebooted.


I installed the latest nvidia drivers from the ppa: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa


Then I restarted the system and also added the boot parameters acpi_rev_override=5 nouveau.runpm=0.


After the restart the desktop worked fine and I could change between the nvidia and intel graphics and could set my brightness.


Also, updating the kernel did not solve the problem for me.


How to install Nvidia Geforce GTX 960 Driver

Im new to Ubuntu, eveything is working great so far, except i can't seem to install the right driver for my Nvidia Geforce GTX 960 SSC. I'm trying to play steam games and can't get the right driver. Any help would be appreciated.

How can I add new autostart programs in Lubuntu?



In Lubuntu, there's no 'Add New Program...' button in Desktop Session Settings. Is there an easy way to add new autostart programs in Lubuntu?



For Lubuntu 11.10 / 12.04 / 12.10 / 13.04 / 14.04 / 14.10 / 16.04



Open the file manager (by default PCManFM), go to /usr/share/applications. Right-click on the program you want to be added to your autostart programs, and click Copy. Now, go to ~/.config/autostart in PCManFM, right-click and click Paste. The program should be added to your autostart programs now, but double-check by clicking the LXMenu down left, click Settings, and then Desktop Session Settings.



You may have to create the autostart folder. For an application that doesn't have a *.desktop file in /usr/share/applications you may also copy-paste any other *.desktop then update it with content suitable for your app.


apt - "Your current Hardware Enablement Stack (HWE) is going out of support"



My ubuntu system now says;




Your current Hardware Enablement Stack (HWE) is going out of support
on 07. aug. 2014. After this date security updates for critical parts
(kernel and graphics stack) of your system will no longer be
available.





and suggests to fix it by doing:




sudo apt-get install linux-generic-lts-trusty
linux-image-generic-lts-trusty




However, on this website:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack




they state the following:




Those running virtual or cloud images should not need these newer
enablement stacks and are thus recommended to remain on the original
Precise stack




and I do run on a VM. So I'm a little confused.

Should I update the HWE with apt-get or not? It seems to me that I really should, as it seems I might miss important security updates if I don't...but the website also seems to state that I don't need to do so if I run virtual?



If you did a fresh install of Ubuntu 12.04.4 it means you are using the Saucy kernel, since Ubuntu Saucy ended support two days ago that means your current kernel will drop security support and you will not recieve security updates so you need to do as suggested by the system update.


software installation - How do I install WordPress.org?


I learnt recently that the WordPress software in the Software Centre is WordPress.com, I want WordPress.org as it's more feature-full. I have downloaded the zip file and extracted its contents but it's all in PHP format. I looked at the readme file and it said to open the php install file in my web browser (which for me is Google Chrome) but whenever I do this it just re-downloads this file in the /home/fusion809/Downloads folder.


It says in the readme:


If for some reason this doesn’t work, don’t worry. It doesn’t work on all web hosts.
Open up wp-config-sample.php with a text editor like WordPad or similar and fill in your database connection details.
Save the file as wp-config.php and upload it.
Open wp-admin/install.php in your browser.

I have no idea how to fill in the database connection details.



I can't comment at the moment, but in simple terms, the main focus here should be to fix the mysql password, sudo service mysql stop,
run the command nano password to invoke the nano editor, paste the following text substituting with the new password


    UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
FLUSH PRIVILEGES;

Then save the file (CTRL-X, save the file), now start mysqld with the created file


    sudo mysqld --initfile=`pwd`/password

this will reset the mysql password, you may want to run sudo killall mysqld; sudo service mysql start


I'd then suggest using https://help.ubuntu.com/community/WordPress in order to install wordpress. It isn't a production ready environment, but will suffice for testing.


carry on if you actually want a "proper" install;
We are now going to start the installing process. I'm going to assume that you're running ubuntu 14.04, and that you have nothing else on your webserver. (earlier versions will probably be the exact same, however replace /var/www/html with /var/www)


sudo -s This will run all commands as root, be wary of what you type!


okay, first we need mod_rewrite, apache2 comes bundled with it, however it is disabled by default!


a2enmod rewrite; service apache2 restart;


next,
cd into the web root folder
cd /var/www/html


wget http://wordpress.org/latest.tar.gz
tar -vxaf latest.tar.gz
mv wordpress/* ./
rmdir wordpress


We've just downloaded all of the relevant files required, and moved them into the correct place, next let's allow www-data (the user account for the web-server to modify files)


chown -R www-data:www-data ./


Next, let's allow .htaccess files,
nano /etc/apache2/sites-enabled/000-default.conf
and change the AllowOverride line to read Allowoverride All.


you should then be able to login to your webserver and setup the wordpress install.


permissions - What are the types of user group in Ubuntu?

I want to know how groups work in Linux. In windows users that belong to admin group can have access to everything. So I want to know how to create a user and add that user in Root group or whichever group has access to everything in Linux.

package management - Why is the "Software" application not showing the same results as "Software Updates" or even apt?

I open the "Software" application, go to "Updates" and click the refresh button. The GUI shows this:


Software GUI


I open "Software Updater", let it refresh, and it shows:


Software Updates


On the command line:


~ • apt list --upgradable
Listing... Done
fsearch-trunk/artful 0.1+355+9~ubuntu17.10.1 amd64 [upgradable from: 0.1+354+9~ubuntu17.10.1]
google-chrome-stable/stable 65.0.3325.162-1 amd64 [upgradable from: 65.0.3325.146-1]

So... there are updates available. Searching for "FSearch" in the Software application shows no option to update:


enter image description here


The Software app also seems to be unable to find newer versions of repository software in PPAs or internal repositories. For example, even with the Virtualbox repository in my sources.list.d/, searching for "virtualbox" in Software only returns the package in the official repository, whereas:


~ • apt list virtualbox*
Listing... Done
virtualbox/artful 5.1.30-dfsg-1 amd64
virtualbox-5.1/unknown 5.1.34-121010~Ubuntu~zesty amd64
virtualbox-5.2/unknown 5.2.8-121009~Ubuntu~zesty amd64
virtualbox-dkms/artful,artful 5.1.30-dfsg-1 all
virtualbox-ext-pack/artful,artful 5.1.30-2 all
virtualbox-guest-additions-iso/artful,artful 5.1.30-1 all
virtualbox-guest-dkms/artful,artful 5.1.30-dfsg-1 all
virtualbox-guest-source/artful,artful 5.1.30-dfsg-1 all
virtualbox-guest-utils/artful 5.1.30-dfsg-1 amd64
virtualbox-guest-x11/artful 5.1.30-dfsg-1 amd64
virtualbox-qt/artful 5.1.30-dfsg-1 amd64
virtualbox-source/artful,artful 5.1.30-dfsg-1 all

Why? What is this app meant to do?

14.04 - Low graphics mode Hybrid Graphics

My Ubuntu version is 14.04 4.4.0-81-generic, laptop is Dell Inspiron 3558 with Nvidia video card GeForce-920M and integrated Intel HDGraphics. I have spent a huge amount of time trying to find a way to switch between graphic cards.


I tried installing Bumblebee and different (suggested by ppa:graphics repository (390, 384 and 387 versions)) Nvidia drivers and everytime it ends up with "low graphics mode" screen when I switch to Nvidia card.


By the way, binary Nvidia drivers gave black screen while installing drivers from *.run source files from Nvidia website Ubuntu gets stuck in a login loop (i.e. when I log in, then it logs out immediately). I haven't found an appropriate solution of my issue on the Internet.


What else can I do?

Monday, January 28, 2019

system installation - Install 32 bit from USB, not a COM32R, then no PAE, 64 bit doesn't work either

I hope someone can help me install a linux system of some sort please, have gotten a bit stuck. I have an old laptop (DEll Latitude D500, currently running Windows XP professional version 20012, Intel(R) Pentium(R) M processor 1300MHz 1.30GHz, 512 MB RAM, 18.5 GB hard drive). I am trying to install a nice light operating system on it, like Lubuntu or Xubuntu and have been trying to get rid of Windows and install the new system using a bootable USB which I am creating on my PC running Ubuntu 14.04.


When I try to boot the 32 bit version of either Lubuntu or Xubuntu, I first get the message:


Missing parameter in configuration file. Keyword: path
gfxboot.c32:not a COM32R image


I tried a solution I found on these forums of hitting tab, then typing 'live' then enter. At which point it starts to complain that PAE is disabled and says I should 'use parameter 'forcepae'. However I can't actually type anything after this, the laptop just beeps if I try to.


When I tried to install 64 bit versions of either operating system it came up with this:


This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot – please use a kernel appropriate for your CPU


Starting to feel that no kernel is appropriate for my CPU! Sorry I'm still a beginner, it is a crappy old laptop but would be really handy to be able to use it for a few things. Any help appreciated. Thanks!

permissions - Unable to Write to Mount Applied by fstab

I'm having some problems mounting samba shares through fstab. The problem I'm having is that I cannot write to the share unless I am root. I've tried changing the permissions to 777 and changed ownership to myself. However, every time it's re-mounted, the permissions get reset to 755 and root ownership.



There is no writing problems when writing from another Windows-based PC, so I'm led to believe this is something I'm doing wrong. For record, here is my fstab entry:



//192.168.1.105/G       /media/downloads        cifs    username=Administrator,password=PASS,iocharset=utf8,sec=ntlm   0       0
//192.168.1.105/M /media/media cifs username=Administrator,password=PASS,iocharset=utf8,sec=ntlm 0 0


The two drives in question are NTFS. I have tried adding dir_mode=0777 and umask=000 beside the iocharset, still with no avail.




Is there something I am missing here?



Thanks!

How to install wine on Ubuntu 14.04?

I am a windows user, and I don't know nothing about Ubuntu and how does it works. I don't know how to access my computer, I don't know how to access command prompt nothing.



Just now I installed Ubuntu 14.04 LTS, due to wifi problem I reinstalled Ubuntu and now the wifi is working fine.




Now I am not able to install any of the exe file. I am trying to install file zilla,internet download manager, 7zip, and as a blogger I would like to install some other blogging related tools which install on Adobe Air.



Can any one please help me and instruct me in detail step by step on how to install wine on Ubuntu 14.04.



Or are there any other programs which makes to install windows related applications.

sync - Dropbox won't start on ubuntu 14.04; overwrites autostart entry


I noticed recently that my dropbox was no longer running on startup (the icon no longer appeared in the tray at top right, and nothing was syncing.)


In Startup Applications, dropbox is selected, with command dropbox start -i. Based on Dropbox doesn't autostart in 12.04 I changed the command to sh -c ~/.dropbox-dist/dropboxd. This works: if I restart my machine, the dropbox daemon starts running, the usual icon appears up in the tray, and files sync correctly.


However, when I go look at Startup Applications (after the change and restart described above), the command has reverted to dropbox start -i! That means dropbox will not work next time I restart. Why does it do that and how can I fix it?


I'm on Ubuntu 14.04 LTS, with dropbox version 3.6.7.


Edit, was too long as a comment:


@Jacob I haven't been able to get this to work. I'm having trouble with "In Startup Applications (Dash > Startup Applications) remove the Dropbox entry (but not the newly created start_dropbox.desktop)." The newly created start_dropbox.desktop does not appear in Startup Applications, but there's a Dropbox entry with the dropbox logo, whose command is /bin/bash -c "sleep 10&&dropbox start -i" -- seems to be reading the newly created start_dropbox.desktop. The original dropbox.desktop no longer present in ~/.config/autostart. Dropox does not start on reboot: it does ask for my password, but it doesn't actually start running.


Edit, got this to work by following @Jakob's suggestion, with a twist:


$ ls .config/autostart/
start_dropbox.desktop start_dropbox.desktop~
$ cat .config/autostart/start_dropbox.desktop
[Desktop Entry]
Name=Dropbox
GenericName=File Synchronizer
Comment=Sync your files across computers and to the web
Exec=sh -c ~/.dropbox-dist/dropboxd
Terminal=false
Type=Application
Icon=dropbox
Categories=Network;FileTransfer;
StartupNotify=false
X-GNOME-Autostart-enabled=true
$

Note the Exec=sh -c ~/.dropbox-dist/dropboxd line. This is similar to the setup I had when I asked the question, but now the Exec line doesn't get overwritten on reboot.



Although the cause is most likely the same as here, I posted an almost similar answer, since both the question and the symptoms are different:


Dropbox timing issues in 14.04


In some cases, in 14.04 Dropbox has some timing issues, and the command to startup Dropbox syncing starts too early and breaks for some reason. It seems to be a bug, because starting Dropbox manually fixes it temporarily, but only until the next restart. To fix it permanently, we need to edit and rename the dropbox.desktop file in ~/.config/autostart/


The fix:



  • rename the file ~/.config/autostart/dropbox.desktop into: start_dropbox.desktop


    [You need to rename it because Dropbox overwrites the file dropbox.desktop on every startup]


  • Open the (renamed) file with gedit (drag it over an open gedit window).

  • Replace the line, starting with Exec=, change it into:


    Exec=/bin/bash -c "sleep 10&&dropbox start -i"

    This delays the startup of Dropbox with 10 seconds after log-in, which does the trick.


  • in Dropbox preferences, untick "Start Dropbox on startup" (else we would have two .desktop files representing Dropbox in the autostart folder):


    enter image description here


  • In Startup Applications (Dash > Startup Applications) remove the Dropbox entry (but not the newly created start_dropbox.desktop).


    enter image description here


  • In the folder ~/.config/autostart, remove the original dropbox.desktop if it is still there.


Now on restart, it should run fine.


Explanation


The bug seems to be related to the timing of the Dropbox startup. The workaround above replaces the "real" Dropbox starter with one that delays the startup 10 seconds, until the desktop is ready.


Asus ROG Nvidia driver not loaded

I can't get my laptop to use the Nvidia videocard. (Ubuntu 18.04)


Running sudo lshw -C video shows:


  *-display UNCLAIMED
description: 3D controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:26 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

Secure boot has been disabled already. I have the graphics-drivers ppa setup and tried nvidia-390, nvidia-396 and some others.
In the software and updates screen, the drivers tab only lists


NVIDIA Corporation: GP107M [GeForce GTX 1050 Mobile]
[x] NVIDIA driver metapackage van nvidia-driver-390 gebruiken
[ ] X.Org X server - Nouveau driver van xserver-xorg-video-nouveau gebruiken

So it doesn't list Intel integrated graphics.


The following file exists:


/etc/modprobe.d/nvidia-graphics-drivers.conf

Are there any things left to try? I've seen a lot of "Driver not loaded" threads already and none of the solutions worked for me.

How do I install kernel header files?



i want to write a device driver but not able to find the header file can someone please help me find them?Also if someone can point out some important site links that would be really appreciated



You should be able to install the kernel header files for the currently running kernel by running the following in a terminal:



sudo apt-get install linux-headers-$(uname -r)



In general, the kernel header packages are named linux-header-* where "*" indicates the version & variant (generic, server, etc.).


Broadcom 4365 wireless driver with 3.4 / 3.5 kernel


Possible Duplicate:
How to Install Broadcom / STA Wireless card (BCM43XX)







I used this package to install the driver on 3.2 Kernel and it was working perfectly.



Unfortunately the system used to freeze randomly with 3.2 kernel so I installed 3.4 kernel, now there is no freezing, the only problem is that my wifi card is not working, I tried to re-install the package, but didn't work.



I can see the driver in the "additional drivers" and it say that it is active, but when I execute iwconfig it doesn't show up. I've even tried ndiswraper and that didn't work either.



my lspci:




01:00.0 Network controller: Broadcom Corporation Device 4365 (rev 01)

Sunday, January 27, 2019

14.04 - nvidia dual screen

I can't use dual screen with my Nvidia card proprietary drivers (I've tried them all!), and if I'm using the open source driver it says I'm switched to an Intel graphics card. When the proprietary drivers are used, and I plug in the hdmi, the screen goes black and flickers from time to time. Is there any way to get the dual screen working with the Nvidia card?



Here's the System Info.



Here's the Additional Drivers Info




Graphics info from running lspci | grep VGA in the terminal:



00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)



01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 755M] (rev a1)



EDIT: the following is in regards to a different lenovo laptop than the one i have, and an older version of ubuntu, but still..




Some versions of this system come with two different graphics processors: an Intel UMA on-board adapter and an additional GPU from either nVidia or ATI. On this system, only the Intel graphics chip has been tested and certified. The use of the additional GPU is not supported for this release.





May just find a new distro that will support it if I cant figure it out soon

segmentation fault - Ubuntu 14.04 freezes after kernel update

I have Ubuntu 14.04. After having updated the system to kernel 3.13.0-49-generic, I re-booted and now everything freezes! I cannot log in. (Keyboard and mouse do not work as well)



I found this line in my kern.log when I first rebooted after kernel update:



segfault at 0 ip 00007f2d1fabd0c8 sp 00007f2d02ef7500 error 6 in libcontent.so[7f2d1f178000+141f000]


This error appeared once in the first time I wanted to reboot after updating the kernel.



I came across Google Chrome crashes the whole system - Ubuntu 14.04.




And I uninstalled my chrome browser and rebooted again. But no luck.



Anything else that I need to check?

Microsoft Office 2013 installation via PlayOnLinux crashes

I am having a problem with online installation of MS Office 2013 through Playonlinux on Ubuntu 18.04. I didn't get an ISO, but only a link to Microsoft servers. I tried to install it, but during the installation progress at 58% it suddenly crashes and doesn't progress any further.



I found out that this error, 30175, has something to do with security. On theMicrosoft website it was suggested to disable firewall and antivirus for the duration of the installation process. However, I couldn't find anything related on WineHQ, Playonlinux or Ubuntu Forums. I disabled my firewall but without any success. Probably I have to force Playonlinux to grant privileges for Microsoft to modify my computer. But this is beyond me, I am just an end-user. Could somone please help me?

lightdm - How to change lock screen background Ubuntu Mate

I would like to change the lock screen background in Ubuntu Mate 16.04. I have found out how to change the background for unity by changing the com.canonical.unity-greeter setting but I can not find the corresponding setting for Mate 16.04. I'm not sure if this is a problem in 15.10 as well but I could find no reference to it. I spent some time going through different settings through gsettings to no avail.

Second drive is read only when booting with Ubuntu (Dual OS)

I have dual OS (Ubuntu and Windows 10) on SSD and have one additional HDD.
If I boot first with Ubuntu, the HDD is read only.
If I boot with Windows first, then reboot with Ubuntu, Ubuntu can write to the HDD.
How can I make the HDD writable, when I first boot with Ubuntu ?

Saturday, January 26, 2019

Should I do a direct upgrade from 16.04 to 19.04?

I have a laptop running 16.04 and plan to upgrade to 19.04 in a few weeks and I was wondering if it matters if I directly upgrade to it, if I should first upgrade to 18.04 in preparation, or just do a complete clean install. Yes, I know a complete clean install is often recommended, but it is necessary because of the 3 year jump?


Options:



  • Directly to 19.04

  • 18.04, then upgrade to 19.04

  • Clean Install

backup - Back up the home directory

I use Ubuntu 17.10 with i3 as window manager. I would like to backup my home directory to an external HDD. How could I do such a thing? With the terminal?

software recommendation - Comparison of noise reduction tools for raw images

There are some editors for raw images running on Linux (Dark Table, Raw Therapee, Bibble, ...).
What about their skills at reducing digital noise? I'm interested in quality of the result and also in the CPU time required for the operation.

Friday, January 25, 2019

12.04 - Problem with broken package system

Yesterday I found that the Code::Blocks 13.12 on my Ubuntu 12.04 LTS is broken, when I clicked the icon, it reacted nothing, so I tried to reinstall.



I tried to use the instructions from codeblocks' official website to install codeblocks
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Ubuntu

but it failed



yuyue@ThinkPad:~/Downloads/debian-stable/amd64$ sudo dpkg -i *.deb
dpkg-deb: error: `amd64.deb' is not a debian format archive
dpkg: error processing amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Selecting previously unselected package codeblocks.
(Reading database ... 299683 files and directories currently installed.)
Unpacking codeblocks (from codeblocks_13.12-1_amd64.deb) ...
Preparing to replace codeblocks-common 13.12-1 (using codeblocks-common_13.12-1_all.deb) ...

Unpacking replacement codeblocks-common ...
Selecting previously unselected package codeblocks-contrib.
Unpacking codeblocks-contrib (from codeblocks-contrib_13.12-1_amd64.deb) ...
Preparing to replace codeblocks-contrib-common 13.12-1 (using codeblocks-contrib-common_13.12-1_all.deb) ...
Unpacking replacement codeblocks-contrib-common ...
Selecting previously unselected package codeblocks-contrib-dbg.
Unpacking codeblocks-contrib-dbg (from codeblocks-contrib-dbg_13.12-1_amd64.deb) ...
Selecting previously unselected package codeblocks-dbg.
Unpacking codeblocks-dbg (from codeblocks-dbg_13.12-1_amd64.deb) ...
Preparing to replace codeblocks-dev 13.12-1 (using codeblocks-dev_13.12-1_amd64.deb) ...

Unpacking replacement codeblocks-dev ...
Preparing to replace codeblocks-headers 13.12-1 (using codeblocks-headers_13.12-1_all.deb) ...
Unpacking replacement codeblocks-headers ...
Preparing to replace codeblocks-libwxcontrib0 13.12-1 (using codeblocks-libwxcontrib0_13.12-1_amd64.deb) ...
Unpacking replacement codeblocks-libwxcontrib0 ...
Preparing to replace codeblocks-wxcontrib-dev 13.12-1 (using codeblocks-wxcontrib-dev_13.12-1_amd64.deb) ...
Unpacking replacement codeblocks-wxcontrib-dev ...
Preparing to replace codeblocks-wxcontrib-headers 13.12-1 (using codeblocks-wxcontrib-headers_13.12-1_all.deb) ...
Unpacking replacement codeblocks-wxcontrib-headers ...
Preparing to replace libcodeblocks0 13.12-1 (using libcodeblocks0_13.12-1_amd64.deb) ...

Unpacking replacement libcodeblocks0 ...
Preparing to replace libwxsmithlib0 13.12-1 (using libwxsmithlib0_13.12-1_amd64.deb) ...
Unpacking replacement libwxsmithlib0 ...
Preparing to replace libwxsmithlib0-dev 13.12-1 (using libwxsmithlib0-dev_13.12-1_amd64.deb) ...
Unpacking replacement libwxsmithlib0-dev ...
Preparing to replace wxsmith-dev 13.12-1 (using wxsmith-dev_13.12-1_amd64.deb) ...
Unpacking replacement wxsmith-dev ...
Preparing to replace wxsmith-headers 13.12-1 (using wxsmith-headers_13.12-1_all.deb) ...
Unpacking replacement wxsmith-headers ...
dpkg: dependency problems prevent configuration of codeblocks:

codeblocks depends on libfontconfig1 (>= 2.9.0); however:
Version of libfontconfig1 on system is 2.8.0-3ubuntu9.1.
dpkg: error processing codeblocks (--install):
dependency problems - leaving unconfigured
Setting up codeblocks-common (13.12-1) ...
dpkg: dependency problems prevent configuration of codeblocks-contrib:
codeblocks-contrib depends on libfontconfig1 (>= 2.9.0); however:
Version of libfontconfig1 on system is 2.8.0-3ubuntu9.1.
codeblocks-contrib depends on libgamin0; however:
Package libgamin0 is not installed.

codeblocks-contrib depends on codeblocks (= 13.12-1); however:
Package codeblocks is not configured yet.
dpkg: error processing codeblocks-contrib (--install):
dependency problems - leaving unconfigured
Setting up codeblocks-contrib-common (13.12-1) ...
dpkg: dependency problems prevent configuration of codeblocks-contrib-dbg:
codeblocks-contrib-dbg depends on codeblocks-contrib (= 13.12-1); however:
Package codeblocks-contrib is not configured yet.
dpkg: error processing codeblocks-contrib-dbg (--install):
dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of codeblocks-dbg:
codeblocks-dbg depends on codeblocks (= 13.12-1); however:
Package codeblocks is not configured yet.
dpkg: error processing codeblocks-dbg (--install):
dependency problems - leaving unconfigured
Setting up codeblocks-libwxcontrib0 (13.12-1) ...
Setting up codeblocks-wxcontrib-dev (13.12-1) ...
Setting up codeblocks-wxcontrib-headers (13.12-1) ...
Setting up libcodeblocks0 (13.12-1) ...
Setting up libwxsmithlib0 (13.12-1) ...

Setting up wxsmith-dev (13.12-1) ...
Setting up wxsmith-headers (13.12-1) ...
Setting up libwxsmithlib0-dev (13.12-1) ...
Setting up codeblocks-dev (13.12-1) ...
Setting up codeblocks-headers (13.12-1) ...
Processing triggers for shared-mime-info ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...

Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
amd64.deb
codeblocks
codeblocks-contrib
codeblocks-contrib-dbg
codeblocks-dbg



then I tried this



sudo add-apt-repository ppa:pasgui/ppa
sudo apt-get update
sudo apt-get install codeblocks


and after this I installed Code::Blocks 13.12 successfully, but when I opened it I found that I can't build or run any files(seemed to have problem with plugins)




Errors were encountered while processing: codeblocks codeblocks-contrib codeblocks-dbg codeblocks-contrib-dbg E: Sub-process /usr/bin/dpkg returned an error code (1) 


and then I found my package system was broken...
I don't have Synaptic Package Manager on my computer,
I followed this instruction(from Package system is broken. How to fix it?)




After you get that error, try sudo apt-get -f install to force an

install of the files that didn't get loaded because of the error.



Then try sudo apt-get update again, sudo apt-get -f install back and
forth until only the package that has the error is left.



sudo dpkg --configure -a



and clean the cache



sudo apt-get clean





it looks like that nothing effective was done.
I opened Ubuntu Software Center, and it notified me to download something to repair the package system, I did it, and in the end I found my package system is still broken...



Is there anyone who have a good idea about what to do next?

14.04 - Best architecture for me


I've been using Linux for a couple of years now. My first Linux OS was Ubuntu, and since then I used Lubuntu, Xubuntu, Arch Linux, openSUSE and Debian. My computer specs are the following (really bad PC, by the way):


Intel Celeron CPU @ 2.8 GHz (32- and 64-bit capable), 1512 MB (1.5 GB) of RAM memory and an NVidia GeForce 6200 GPU


Ubuntu and openSUSE were usable, but pretty sluggish. Debian, Lubuntu, Xubuntu and Arch were always pretty fast and smooth (at least to a 9 year old computer). All of them were always 32-bit (i386).


My question, is there any advantage for me to use a 64-bit version of, say, Lubuntu? What are the pros of a 64-bit system besides being able to access more than 2/3 GB of RAM? Will it improve my performance? I don't care having a bit less free RAM memory, since Lubuntu/Xubuntu always stay around 150~250 MB.



If anything, I'd say 64-bit will be slower, since it uses more RAM in general. Unless you need some program that only runs on 64-bit systems, stay with 32-bit. If you had closer to 4GB RAM, I'd recommend 64-bit, but the combination of the slow processor and low RAM, it might not work out well.


Of course, since Ubuntu is easy to install, you could try a 64-bit version out and see what happens. Who knows? Maybe it'll end up being faster. In general, though, unless you have 4GB+ RAM, stay on 32-bit.


permissions - Lost my user, cannot login anymore


This is a summary of what happened:



  • Installed Ubuntu 16.04. Working fine for months.

  • Changed my user password.

  • After logging out, I cannot login anymore, neither with the old nor with the new password.

  • My home directory is still there (so I backed it up).

  • I boot from DVD in EUFI mode and login from there.

  • With: sudo passwd $username I get the error: user does not exist.

  • Recreated my user in the sudo group: sudo adduser $username

  • Now the user directory is empty, instead of being the original one. It seems to be located in a ramdisk (?)


How can I fix this problem? How can I restore the system, recreate/restore my user in the hard disk located /home?



The DVD Live session does not load your hard drive by default. The whole session is different from the session you have when you boot normally to your hard drive.


You can change your password by booting into your normal session in Rescue Mode


Perform these steps:


Reboot your computer. At the grub prompt select Advance Options for Ubuntu and press ENTER. Go into Recovery Mode. (You may have to hit esc to disable the ping screen.) Continue with:



  1. Drop to root shell prompt

  2. ENTER for maintenance.

  3. Remount the root system with:


# sudo mount -o remount,rw /
# passwd "username"
# exit


  1. Resume


You should now be at the normal login with the new password in effect.


system installation - Wiping Mac OS completely and installing Ubuntu: Will the webcam work?

What I have: old MacBook (3,1), Intel Core 2 Duo, 2GHz, 1 processor. OS: 10.5.8


The macbook is old and has a lot of problems (ignoring the fact that the OS cannot be updated without paying, the disk cannot be fragmented without formatting [which would make me lose the OS anyway, as I don't have a CD to reinstall it] so I cannot arrange a dual boot [yes, I have tried every conventional and unconventional way to resize/partition/etc.]).


Thus, I'd like to wipe out the entire OS and install Ubuntu. However, I'm wondering whether I need to be wary of some incompatibilities. More concretely, I have two questions:



  1. Will the webcam and microphone work? Do I need to prepare something beforehand while I still have Mac OS available? I have to attend meetings via video conferences quite often, so this is a must.


  2. Anything else to consider/prepare before formatting and installing Ubuntu?


Thursday, January 24, 2019

login - No graphical interface after hard shutdown

I just installed ubuntu on my laptop and I must have spelled my username and or password wrong because I cannot login now. I tried shuting down my computer manually by holding down the power button and now all I see is a blinking dash. What can I do?

multiple monitors - Ubuntu 10.04 - Problem creating Xorg.conf for DualView



so far I found out that I need to configure the Xorg.conf to have DualView on my monitor. At this moment the screen is just duplicated. My Graphics Card is Matrox G550.



When trying




jannis@Ariel:/$ sudo Xorg -configure



Fatal server error: Server is already active for display 0 If this

server is no longer running, remove /tmp/.X0-lock and start again.



Please consult the The X.Org Foundation support at
http://wiki.x.org for help.



ddxSigGiveUp: Closing log




Also /etc/X11/xorg.conf doesn't exist..




Since I allready tried it a several months ago, lost my X configuration and needed to reinstall the OS I am terrified it can happen again.



Does anyone know what to do? Is there anyway to store the current/running configuration and restore it afterwards?



You have to stop xserver first. The procedure goes something like this:




  1. Switch to tty1 by pressing ctrl-alt-f1


  2. Become root: sudo -i.


  3. Stop xserver: service gdm stop.



  4. Run Xorg -configure.




A config file will be written into /root/xorg.conf.new. Copy that to the proper location.




  1. Copying: cp /root/xorg.conf.new /etc/X11/xorg.conf


  2. Restart xserver: service gdm start


  3. Exit from root: exit


  4. Return to tty7: ctrl-alt-f7.




nvidia - How can I switch between Nouveau and INTEL video driver?

On laptops with NVIDIA Optimus, Nouveau is installed by default.
When you try to install closed-source driver of NVIDIA, it's possible to switch between NVIDIA and INTEL video driver via NVIDIA's control center.


But what if I don't want to install the closed-source driver, will I be able to switch to INTEL driver from Nouveau? How?

"The system is running in low-graphics mode" when I try setup autorun numlock on

Ubuntu 14.04.
I like turn on numlock on autorun. I found this recommendation:





go to /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf and add
greeter-setup-script=/usr/bin/numlockx on




When I did it, after restart I've got:
"The system is running in low-graphics mode". Any recommendation for this error not help me. But when I deleted "greeter-setup-script=/usr/bin/numlockx on" in /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf all become ok! Why? do you know?

New partition table to have dual boot

I had both ubunyu and win 10 l delete every thing l want yo make a new partition table with ubuntu live and then install both ubuntu and win 10 again but its my first time and l dont know what should be table type and which partitions i must have

Wednesday, January 23, 2019

bug reporting - How can I report a bug on Ubuntu.com?


Today I wanted to download a copy of Ubuntu Server and when I went to the Download Site for Ubuntu Server there appeared to be a problem in the download button.


Instead of saying Download like the other button (below), it read: LTS', 'eventValue' : undefined });">Download, now this could be something minor such as a SyntaxError or a problem on the server.


So instead of downloading the OS and instead went to look for a "report bug" feature, but to my avail, I could not find one. Could someone please help me report this problem and bring attention to this issue? Maybe show me how to report it to the Ubuntu Developers?


I really wouldn't mind if someone reported the bug on my behalf just as long as it is fixed, that's all that matters at the moment, thanks.


Also here is a screen shot of the web page (time and date on the top bar):


Screen Shot.




This problem has now been fixed, screenshot:


enter image description here


Thanks a tonne guys.



At the bottom of https://www.ubuntu.com, there is a link titled "Report a bug on this site" which goes to https://github.com/ubuntudesign/www.ubuntu.com/issues/new


openstack - configuring designate in Devstack

I am trying to setup designate in Devstack.


I gone through this guide for the same:


But when I am doing stack.sh, I am getting following error:


2015-09-28 15:28:09.360 | /opt/devstack/stack.sh:1320:run_phase
2015-09-28 15:28:09.360 | /opt/devstack/functions-common:1593:source
2015-09-28 15:28:09.360 | /opt/devstack/extras.d/85-designate.sh:38:start_designate
2015-09-28 15:28:09.360 | /opt/devstack/lib/designate:340:die
2015-09-28 15:28:09.363 | [ERROR] /opt/devstack/lib/designate:340 Designate did not start
2015-09-28 15:28:10.368 | Error on exit

While I was trying to debug, I can be able to track where error was coming from.


In file opt/devstack/lib/designate


if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q -O- $DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT; do sleep 1; done"; then
die $LINENO "Designate did not start"
fi

Please some one help me with fixing the same.


Note: I am using KILO version

apt - npm unresponsive after nodejs install on fresh Ubuntu 12.04.5



Here's where I'm at...



I have an old chromebook that I put Ubuntu (and Xfce) on via crouton. After installing the chromium browser, I installed nodejs via apt-get. I found that when trying to install yeoman, my node version was too old (v0.6).




So, I removed nodejs and npm:



sudo apt-get remove npm
sudo apt-get remove nodejs
sudo apt-get autoremove


Then followed the instructions here: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions:




curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs


After installing nodejs, I can run nodejs --version to see the node version is v0.10.36.



Then, when I run npm --version, I get no output at all.



After countless attempts with various approaches, this is what finally worked!




https://gist.github.com/csturtz/11f79e6bd0a05eaca6df


networking - Wireless is disabled by hardware switch. Wifi doesn't work! (hard blocked: yes, Lenovo Y580, Ubuntu 13.10)

I have a problem with wifi on my laptop Lenovo Ideapad Y580 (bought with pre-installed Windows 7 Home Premium 64bit). After uninstall Win7 and install Ubuntu 13.10 64bit (where normal wired internet is working) wifi doesn't work!



Wireless is disabled by hardware switch.



rfkill list all




martin@martin-Y580:~$ rfkill list all
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no

Hard blocked: yes


I checked the BIOS, and the wireless card is enabled there.



Fn + F5 didn't work, and my computer doesn't have a physical switch on the outside, which is why I asked here.



rfkill unblock all change only soft blocks, and sudo ifconfig wlan0 up shows me this: SIOCSIFFLAGS: Operation not possible due to RF-kill.



Some specifications:




lshw -class network



martin@martin-Y580:~$ lshw -class network
*-network DISABLED
description: Wireless interface
product: Centrino Wireless-N 2200
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0

logical name: wlan0
version: c4
serial: 9c:4e:36:4c:9f:7c
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=3.11.0-13-generic firmware=18.168.6.1 latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:43 memory:d3500000-d3501fff



lspci



martin@martin-Y580:~$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 7 Series Chipset Family 4-port SATA Controller [IDE mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
00:1f.5 IDE interface: Intel Corporation 7 Series Chipset Family 2-port SATA Controller [IDE mode] (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GTX 660M] (rev a1)
02:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 08)

03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2200 (rev c4)
04:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
04:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
04:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
04:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 30)


uname -a



martin@martin-Y580:~$ uname -a

Linux martin-Y580 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux`


How can I solve this issue ?

kde - Remote desktop view (krfb / vnc) not updating on client



I am having a weird problem when running krfb (KDE remote desktop sharing). I can see the initial snapshot of the remote desktop after connecting, I can manipulate windows on the remote desktop with the mouse, but my view of the desktop does not change. It remains as the snapshot of the desktop from the moment I connected it. Basically, it seems that GUI updates are not correctly being transferred to the VNC client.




This is regardless of which VNC client software I uses (TightVNC, RealVNC, etc...) - the behavior is the same.



Any help would be immensely appreciated, because I am completely lost as to why GUI updates are not coming from the VNC server to the client.



I usually suggest an alternate VNC server, x11vncserver or FreeNX.



X11 manpage and download



OR




FreeNX from the FreeNX Team PPA.



sudo add-apt-repository ppa:freenx-team



NOTE: If you do not have add-apt-repository installed add the following



sudo apt-get install python-software-properties



Update Apt




sudo apt-get update



Install FreeNX



sudo apt-get install freenx



Ubuntu Documentation


ubiquity - Ubuntu does not offers me "install alongside Windows"

Any of the partitions makes in Windows was not recognised by Ubuntu, or Zorin OS, or LinuxMint. It's like a blank hard disc, 250 gb free. I'm a new Linux user, but what confuses me is that I was able to install Ubuntu alongside Windows on my laptop with no problems, but on PC... no way!

installation - how to install ubuntu? step by step procedure from usb stick







I want a detailed step by step procedure for installing ubuntu 12.04 from a usb stick.

i have downloaded the iso file and installed ubuntu in a usb.now i want to install it completly in my system erasing the previous operating system.i want a detailed procedure for that.

networking - Recent Ubuntu Installation - No Wireless Network

I just recently installed Ubuntu 16.04 LTS as a dual boot with my Windows 7 computer. I got Ubuntu installed, but I can't connect to my wireless network. I tried checking out the network manager window, but the only option available is a wired connection.



I tried going through questions posted on here, but all the commands lead to dead ends such as "no such package exists" or whatever. The router is also in my landlord's control on the other side of the house, so connecting it via an ethernet cable is a no-go.



Can someone help me out? I'm stuck and have no idea how to get this thing working. :S

Don't run this as Root! - Docker Image



I'm running Ubuntu xenia in my docker container (this is a container running in my OS X VM Host). When you run the docker run command that created my container, it logs you in as root.



So when I try to install Linuxbrew after all this and after installing curl and ruby in my container via app-gret, I get the error don't run this as root! when I try to then install Linuxbrew:



ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"



I want to be able to sill run this somehow. If docker run logs me in as root, what are my options here to get around this limitation on root so I can still run this command? If docker always logs me in as root to a container, what do people usually do in the situations where they want to install stuff like this as a non-root user on a container with Ubuntu?



Note: I'm new to both Ubuntu, Linux, and docker. So that implies I may not be aware of all basics and there is a lot to know.



A Google search lead me to this. I personally don't think it's a nice and clean solution, but it should be able to do the job. What this solution does is the following:



Instead of directly starting the program in the container, there is a two-step launch going on: First, a small script is launched with docker, which basically creates a new user in the container, and then executes the main program as this new user. This is the script that is used there, /home/r/script.sh being the program that is to be started:



#!/bin/bash
adduser --disabled-password --gecos '' r

adduser r sudo
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
su -m r -c /home/r/script.sh


If you want a shell as that user, you might be able to put bash there instead.


Dual Boot - Grub2 not detecting Ubuntu Server (10.4, 64 bit) after installing Ubuntu Desktop (12.04)



Requirement
I have a computer which runs Ubuntu 10.4.3 (64 bit server) installed over LVM and /boot filesystem and I wanted it to dual boot to Ubuntu 12.04 (desktop, 32 bit).



Completed Successfully:




  1. Creating a free partition to installed desktop version- Followed procedures/discussions in this question and freed up 200 GB out of 200GB hard disk. This was successful.



  2. Installing Ubuntu 12.04.1 desktop version (32 bit) - Successfully installed OS iun to newly created free space as /dev/sda6 (extended)




The problem:




  1. During install, Desktop version failed to see Ubuntu Server's presence and asked me if I want to use who system. I used manual install to over come install correctly.


  2. Grub did not detect my Ubuntu Server install and set it up directly to boot to Ubuntu 12.04.





What I tried to fix this:




  1. I used Grub2 recovery procedures described in this question using Ubuntu 12.04.2 64 bit server CD and could get only server install back. Grub did not detect my desktop version in a different partition.


  2. I used the same procedures with Desktop CD and then Grub only detected and installed my desktop version, did not detect my server version.




Edit 1





  1. Downloaded rescatux CD and tried to 'Update GRUB configuration' and 'Restore Grub'. Update Grub configuration failed when I chose the LVM and succeeded when I chose sda6 (non-lvm ubuntu 12.04) and restore grub forced me to choose one partition and depending upon the partition I choose, I could boot only that version linux.
    Question
    How to get this to boot as dual boot option ?



Try to use Boot-Repair Tool.



Many cases of problems relating to the boot are a mal-function or bad-installation of Grub or something related to the MBR and partition table, noticing that Boot Repair Tool was created aiming to give an easy way to fix this common problem, recommended by Ubuntu team.



Obs.: If you don't get access to the internet during use of Boot-Repair you won't get the URL mentioned below that can give us important details about your problem in case the recommended repair doesn't work.




Install Boot-Repair in Ubuntu



In your case, as you are able to boot to Ubuntu, you can install boot repair with these commands:



This step can be followed through Live-CD/DVD/USB's "Try Ubuntu" section too



sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)



Then, start Boot-Repair and just click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.



If the repair did not succeed, indicate the URL to us as it will give us more information about the error.



Get a CD including Boot-Repair



This way is for who isn't able to start any installed OS in the computer, there are two options:





  1. Use this ISO to create a bootable Live-CD/USB of Boot-Repair Tool

  2. Boot your pc from Linux Security Remix where Boot-Repair Tool will be included by default



Choose one of the optionsm start Boot-Repair and click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.



If the repair did not succeed, indicate the URL to us as it will give us more information about the error.



For more details and info about advanced options please read this Ubuntu help page.


Tuesday, January 22, 2019

dual boot - Which Ubuntu should I run on my Windows PC


I intend to dual boot Ubuntu 16.04 and Windows 10 but I'm a bit confused about the information on the official Ubuntu website:



64-bit PC (AMD64) desktop imageChoose this to take full advantage of computers based on the AMD64 or EM64T architecture (e.g., Athlon64, Opteron, EM64T Xeon, Core 2). If you have a non-64-bit processor made by AMD, or if you need full support for 32-bit code, use the i386 images instead.32-bit PC (i386) desktop imageFor almost all PCs. This includes most machines with Intel/AMD/etc type processors and almost all computers that run Microsoft Windows, as well as newer Apple Macintosh systems based on Intel processors. Choose this if you are at all unsure.



Now, my Windows machine is 64-bit with Intel processor. Which of the architecture of Ubuntu should I install, 32-bit or 64-bit



For sure is better to go with 64bit version. Today (22th Apr 2016) I would still choose Ubuntu 14.04 LTS and not the 16.04 LTS version. The 16.04 was released just yesterday and there will be a lot of bugs still to repair. (this is just my personal opinion...)


apt - Two 14.04.2 LTS installations, different kernel versions?



I have two installations of Ubuntu server 14.04.2 LTS, both installed from the same media (I just checked - the DVD used for both is still on the drive of one of them), but a couple of months apart. All packages appear to be up to date, but see the kernel version on one is higher than that on the other:



root@bud:~$ uname -r
3.13.0-55-generic

root@mud:~$ uname -r

3.16.0-40-generic


Why is this? Shouldn't I be running the 3.16 kernel on the first one?



Short answer is run



sudo apt-get install linux-generic-lts-utopic



on the first one.



But 3.13 will be supported till 14.04 EOL. For a server maybe it is better to keep it.



Or maybe it is time to run



sudo apt-get install linux-generic-lts-vivid


on both to get 3.19.




14.04.3 will come with 3.19 in about a month and support of 3.16 will come to an end a bit later.


Cannot install unity due to compiz-core-abiversion-20110828

I lost my unity 3d , and I want to install back , but when I want to install it back, it turn out to be this way..




utm@utm:~$ sudo apt-get install unity 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
unity : Depends: compiz-core-abiversion-20110828
E: Unable to correct problems, you have held broken packages.


is there any way around to fix this thing.. ? broken packages...I don't know where to search more...
thanks in advanced.

14.04 regularly fails to boot (dead, NOT just blank screen)

I'm tearing my hair out with this now: My PC regularly and repeatedly fails to boot since upgrading to 14.04LTS, the sequence is something like this:



  • Power on

  • POST

  • GRUB Starts

  • Grub counts down, calls Ubuntu

  • Blank screen, then loads of text, stuff loading, etc...

  • Then black, dead. Monitors power off due to no video signal.


Keyboard and mouse are dead too, no numlock light, no light from the mouse sensor, caps lock key does nothing (caps lock light doesn't toggle).


I have to HARD power cycle the PC to get it to restart. After a few tries it might eventually boot all the way.


I don't get any error messages when it finally DOES boot.


I don't want to spam random logfiles and debug and stuff all over this post so please just ask for any info I can provide and I'll paste it in. Likewise, any commands to run / experiments to try I'll give 'em a go and report back.


System is fairly normal single-boot PC: Dual Xeon X5660 64-bit / 48G RAM / 256G SSD boot drive / 4TB drive for my junk / ATI 3650 gfx card / dual DVI monitors. There's nothing else plugged in beyond a LAN cable.


Even vague hints at where to look, logfiles to dig through, etc. would be welcome - I'm fairly familiar with the command line and whatnot, just not familiar enough with the inner workings of Ubuntu to know where to start!


Edit: Some stuff cropped from the logs at long last!


The logs are mostly full of this:


Dec 18 23:01:27 Puter kernel: [ 8571.122775] [drm:drm_mode_addfb], [FB:51]
Dec 18 23:01:27 Puter kernel: [ 8571.122781] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:27 Puter kernel: [ 8571.122794] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:27 Puter kernel: [ 8571.667217] [drm:drm_mode_addfb], [FB:50]
Dec 18 23:01:27 Puter kernel: [ 8571.667224] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:27 Puter kernel: [ 8571.667236] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:28 Puter kernel: [ 8572.488325] [drm:drm_mode_addfb], [FB:51]
Dec 18 23:01:28 Puter kernel: [ 8572.488332] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:28 Puter kernel: [ 8572.488344] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800

But that's the same in good times and bad, I've googled it, doesn't seem to be anything anyone really cares about. But, there is literally ~200Mb of this stuff spamming into kern.log non-stop.


Here's the log showing the last (re)boot, unfortunately I can't really see any smoking gun in there:


Dec 18 23:01:26 Puter kernel: [ 8570.170086] [drm:drm_mode_addfb], [FB:51]
Dec 18 23:01:26 Puter kernel: [ 8570.170093] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:26 Puter kernel: [ 8570.170105] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:26 Puter kernel: [ 8570.187846] [drm:drm_mode_addfb], [FB:50]
Dec 18 23:01:26 Puter kernel: [ 8570.187853] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:26 Puter kernel: [ 8570.187865] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:26 Puter kernel: [ 8570.217859] [drm:drm_mode_addfb], [FB:51]
Dec 18 23:01:26 Puter kernel: [ 8570.217866] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:26 Puter kernel: [ 8570.217878] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:26 Puter kernel: [ 8570.242266] [drm:drm_mode_addfb], [FB:50]
Dec 18 23:01:26 Puter kernel: [ 8570.242273] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:26 Puter kernel: [ 8570.242286] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:26 Puter kernel: [ 8570.466341] [drm:drm_mode_addfb], [FB:51]
Dec 18 23:01:26 Puter kernel: [ 8570.466348] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:26 Puter kernel: [ 8570.466360] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:26 Puter kernel: [ 8570.506137] [drm:drm_mode_addfb], [FB:50]
Dec 18 23:01:26 Puter kernel: [ 8570.506143] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:26 Puter kernel: [ 8570.506156] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:26 Puter kernel: [ 8570.754652] [drm:drm_mode_addfb], [FB:51]
Dec 18 23:01:26 Puter kernel: [ 8570.754659] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:26 Puter kernel: [ 8570.754671] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:26 Puter kernel: [ 8570.786391] [drm:drm_mode_addfb], [FB:50]
Dec 18 23:01:26 Puter kernel: [ 8570.786398] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:26 Puter kernel: [ 8570.786410] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:27 Puter kernel: [ 8571.122775] [drm:drm_mode_addfb], [FB:51]
Dec 18 23:01:27 Puter kernel: [ 8571.122781] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:27 Puter kernel: [ 8571.122794] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:27 Puter kernel: [ 8571.667217] [drm:drm_mode_addfb], [FB:50]
Dec 18 23:01:27 Puter kernel: [ 8571.667224] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:27 Puter kernel: [ 8571.667236] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff880bff782800, cur_bbo = ffff8805fe615400
Dec 18 23:01:28 Puter kernel: [ 8572.488325] [drm:drm_mode_addfb], [FB:51]
Dec 18 23:01:28 Puter kernel: [ 8572.488332] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 18 23:01:28 Puter kernel: [ 8572.488344] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = ffff8805fe615400, cur_bbo = ffff880bff782800
Dec 20 20:59:56 Puter kernel: [ 0.000000] Initializing cgroup subsys cpuset
Dec 20 20:59:56 Puter kernel: [ 0.000000] Initializing cgroup subsys cpu
Dec 20 20:59:56 Puter kernel: [ 0.000000] Initializing cgroup subsys cpuacct
Dec 20 20:59:56 Puter kernel: [ 0.000000] Linux version 3.13.0-74-generic (buildd@lcy01-07) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 (Ubuntu 3.13.0-74.118-generic 3.13.11-ckt30)
Dec 20 20:59:56 Puter kernel: [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.13.0-74-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
Dec 20 20:59:56 Puter kernel: [ 0.000000] KERNEL supported cpus:
Dec 20 20:59:56 Puter kernel: [ 0.000000] Intel GenuineIntel
Dec 20 20:59:56 Puter kernel: [ 0.000000] AMD AuthenticAMD
Dec 20 20:59:56 Puter kernel: [ 0.000000] Centaur CentaurHauls
Dec 20 20:59:56 Puter kernel: [ 0.000000] e820: BIOS-provided physical RAM map:
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009e3ff] usable
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000dbdf9bff] usable
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x00000000dbdf9c00-0x00000000dbe4bbff] ACPI NVS
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x00000000dbe4bc00-0x00000000dbe4dbff] ACPI data
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x00000000dbe4dc00-0x00000000dbffffff] reserved
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fcffffff] reserved
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x00000000fe000000-0x00000000fed003ff] reserved
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000feefffff] reserved
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x00000000ffb00000-0x00000000ffffffff] reserved
Dec 20 20:59:56 Puter kernel: [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000c23ffffff] usable
Dec 20 20:59:56 Puter kernel: [ 0.000000] NX (Execute Disable) protection: active
Dec 20 20:59:56 Puter kernel: [ 0.000000] SMBIOS 2.5 present.
Dec 20 20:59:56 Puter kernel: [ 0.000000] DMI: Dell Inc. Precision WorkStation T7500 /0D881F, BIOS A14 07/06/2012
Dec 20 20:59:56 Puter kernel: [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Dec 20 20:59:56 Puter kernel: [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
Dec 20 20:59:56 Puter kernel: [ 0.000000] No AGP bridge found
Dec 20 20:59:56 Puter kernel: [ 0.000000] e820: last_pfn = 0xc24000 max_arch_pfn = 0x400000000
Dec 20 20:59:56 Puter kernel: [ 0.000000] MTRR default type: write-back

Any thoughts really appreciated!


Further edit


On more googling I came across this bug report which suggests editing etc/default/grub to remove the DRM debug flags. I've now done this, only time will tell if it has any effect.


Another Edit:


After a long period of stability, it's happened again - I can't be 100% sure but it seems to happen every time Ubuntu runs an update of the Ubuntu Core (I assume that's another word for the kernel). Totally dead, have to hard reset it, but if I then select the normal boot option from Grub (it only pops up if the system failed to boot last time) it will just work normally as if nothing's happened.


I can't help but wonder about the kernel update perhaps setting some parameter in the Grub config that's lingering from an older install (for example, when I had a different gfx card) and it's only when it fails to boot that grub sets some slightly different parameter because of the failure and it sails through fine.


Doing the suggested egrep -B75 '\[ 0.000000\] Linux version' /var/log/kern.log* returns precisely nothing!


I'm going to see if there's a way to do a clean Ubuntu install on a system without losing installed programs / settings, see if that cures it - in the meantime any suggestions welcomed!

updates - Is having Lubuntu 12.04 a security risk?

I have a computer with Lubuntu 12.04 installed. Since unlike Ubuntu 12.04 Lubuntu is not LTS, I will not get Lubuntu updates.



However, I am still getting updates (I guess these are the general Ubuntu Updates).
Is having Lubuntu installed a security risk, or are the missing updates not security relevant?



Is it more secure to have Ubuntu installed and manually install the LXDE desktop? (The computer is a little bit to old for fluent use of the Unity desktop).



Thanks a lot!




Edit



I switched to 13.10 - still I am wondering what the answer to this question is.

bumblebee - Cannot get Nvidia GPU running on my HP laptop (dual graphics)

I'm trying to get the GPU GeForce 940M on my new HP laptop ENVY 17-n101ng running (need CUDA eventually), but have somehow extreme troubles switching from Intel to Nvidia... I've installed nvidia-352 drivers, but could not just start using them... CUDA samples (e.g. deviceQuery) have been throwing errors... Hovewer, this command shows me both graphics cards:


lspci | grep -E "VGA|3D"

Then I've installed bumblebee:


sudo apt-get install bumblebee bumblebee-nvidia bbswitch-dkms primus

set zp the bumblebee.conf up according to my Nvidia drivers. I've been able to run


optirun glxgears

and


optirun nvidia-settings -c :8

and (for the 1st time) to see my GeForce 940M there!


However, I still could not start Nvidia samples... After all I've figured out the follolowing:


sudo update-alternatives --config x86_64-linux-gnu_gl_conf

and selected there "manual" or "auto" mode (do not remember this now). And... CUDA has started to operate!!! But after reboot I see only black screen... Trying to start X server by "startx" from the console leads to the following error


Fatal server error: no screens found

Now I'm lost... How can I fix my desktop at the moment? How can I still use my Nvidia card? Seems to be a real pain in Ubuntu on laptops...


Any help is kindly appreciated! Thanks in advance!

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 (...