I need to have my telnet and ssh users use byobu as their login shell.
I would like to avoid using .login/.profile/.bashrc and the likes to spawn byobu.
I'd like to have byobu as the shell defined in /etc/passwd.
I've already done a few tests, but have been unable to have it working properly.
Any idea?
Tuesday, January 31, 2017
command line - How would you configure byobu as a login shell?
64 bit - 32-bit or 64-bit for Dell Optiplex 780
My Dell Optiplex 780 is blanccoed, how do I know whether I need a 32 or 64 bit ubuntu?
How do I install ndiswrapper support for an unsupported RTL8723DE wireless module?
I have not much experience with ndiswrapper but some vague memory of using it with some broadcom module long back. Now, here is the problem. Realtek RTL8723DE wireless module is used in my new HP 15-BS576TX laptop. I haven't installed Linux yet. But, would like to check if Ndiswrapper can help use the Windows driver to work in Linux. Here is the Windows 10/8/7 driver for this RTL8723DE wlan module: ftp://ftp.hp.com/pub/softpaq/sp80501-81000/sp80963.html
I extracted the exe and can see a folder /RTWLANE_Driver/Wind7X86/ which has rtwlane.sys and few other files which I presume is related to the wireless driver. Is there any chances of luck with ndiswrapper considering the driver executable actually contains win8/win7 drivers.
Thank you.
wireless - BCM 4313 proprietary driver blocks WiFi for other devices
I run a home wlan and a few days ago I upgraded a hp dv7 pavilion laptop from Oneiric to Precise. I had the proprietary Broadcom STA driver (wl module) activated.
Whenever this laptop was connected to WiFi had speedtest.net result of 8 Mbps (down) and all other machines (laptops, smartphones) could only get speedtest.net results well below 1 Mbps (mostly 500 Kbps) with severe ping problems and other bizarre effects. When the laptop was off everything was OK for the other machines.
Thinking about this a little I decided to remove the STA proprietary driver and use the opensource one. Everything works perfectly now for all the machines on the Wifi.
I wonder if the STA driver update in precise is rotten since it appears that it transformed my machine into a WiFi jammer. Is this possible ?
It seems that this issue is lined to the BCM 4314 itself, not a particular laptop.
What may be the possible reason for such a peculiar behavior? Can I overcome it without disabling the proprietary driver? What can I do to troubleshoot this problem?
14.04 - Can I play Age of Empires 2 on Ubuntu?
The only reason I still use W indows is to play this game. I tried before and couldnt get it to work on Ubuntu and I wonder if it is possible now.
grub2 - Cannot boot on Windows 7 after installing Ubuntu 14.04
I'm totally new to Ubuntu and was really interested in it. I followed the tutorial on how to install it in dualboot with Windows 7 carefully, and gave it a try.
Ubuntu 14.04 is booting fine with GRUB, but after trying to boot on Windows 7, I got a BSOD. Repair tools did nothing so I searched on the internet.
I've found this thing called Boot Repair, but instead of giving more choices in GRUB (which didn't help at all), nothing changed. I got the ubuntu paste from Boot Repair here : http://paste.ubuntu.com/12279582/
If you could help, I'd be really happy ! I must miss something really stupid but as I said, it's the first time I installed Ubuntu in my life.
Note : I haven't made any restore point from my Win 7, and I can't figure out how to get this Windows Repair Kit CD (I know, I'm stupid)
16.04 - My wifi is hard blocked in Ubuntu
My wifi is not working in Ubuntu 16.04, it is hard blocked, but there is no any physical switch that i can turn it on. Here are some useful info about my device:
##### lspci #############################
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8]
Subsystem: ASRock Incorporation Ethernet Connection (2) I219-V [1849:15b8]
Kernel driver in use: e1000e
01:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
Subsystem: ASRock Incorporation I211 Gigabit Network Connection [1849:1539]
Kernel driver in use: igb
02:00.0 Network controller [0280]: Intel Corporation Device [8086:24fd] (rev 78)
Subsystem: Intel Corporation Device [8086:1010]
Kernel driver in use: iwlwifi
##### lsusb #############################
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 001 Device 005: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 003: ID 258a:1007
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
##### lsmod #############################
iwlmvm 385024 0
mac80211 782336 1 iwlmvm
iwlwifi 249856 1 iwlmvm
cfg80211 614400 3 iwlmvm,iwlwifi,mac80211
wmi 24576 0
I looked into almost all similar questions. non of them was useful, I tried many solutions described here and the 47 answers, but I am still having the problem
This is the output of the lsmod | grep wmi
########## lsmod | grep wmi #############
snd_rawmidi 32768 1 snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd 81920 21 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
wmi 24576 0
Can any one help me?
12.04 - How to create Windows XP LiveUSB using Ubuntu to replace it
I am using an Acer Aspire One netbook with no CD-disk drive, and would like to uninstall Ubuntu 12.04 LTS and install Windows XP in its place. The problem here is that I can't seem to find a program that can put the windows boot files on a USB drive from an ISO file. I have Ubuntu fully installed and have tried using unetbootin. When I tried booting from unetbootin I got a screen with a blue box that had the word "default" in it highlighted. underneath the box there was a countdown that said "will boot from default in 10" after the countdown finished the number would revert to ten and nothing would happen. Can someone tell me another program that would be useful for this please?
nvidia optimus - Intel HD 3000 not working in ubuntu 12.04
My laptop is MSi GE620 DX and it has Nvidia Optimus technology. Intel and Nvidia gfx cards. However Ubuntu doesn´t even regonize my Intel HD 3000 at all!
I even tried Fedora 17 on my system and it did regonize Intel HD 3000 straight away. But not in Ubuntu. Can´t set the correct resolution, or run Gnome 3 for example. The card just isn´t regonized.
I tried install mesa-utils, but no, did not help.
I can´t use software that needs 3d in ubuntu, but in fedora, everything works.
Monday, January 30, 2017
Out of disk space - /boot at 100%
My /boot is at 100%. When I run aptitude search ~ilinux-image
I'm getting loads of unused images. When I try to delete one of them (after checking which one is currently in use by doing uname -r
), e.g apt-get autoremove linux-image-3.2.0-44-generic
I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-generic : Depends: linux-headers-generic (= 3.2.0.51.61) but 3.2.0.54.64 is to be installed
linux-server : Depends: linux-headers-server (= 3.2.0.51.61) but 3.2.0.54.64 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
And running apt-get -f install
throws No space left on device
. I've also tried doing apt-get purge
but I am getting the same thing.
Output of df -h
and dpkg -l linux-*.
:
root@hb2088:/srv/www# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 9.4G 3.0G 6.0G 34% /
udev 301M 4.0K 301M 1% /dev
tmpfs 124M 228K 124M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 309M 0 309M 0% /run/shm
/dev/sda1 92M 91M 0 100% /boot
root@hb2088:/srv/www# dpkg -l linux-*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-====================================================-====================================================-========================================================================================================================
un linux-doc-3.2.0 (no description available)
ii linux-firmware 1.79.6 Firmware for Linux kernel drivers
iU linux-generic 3.2.0.51.61 Complete Generic Linux kernel
un linux-headers (no description available)
un linux-headers-3 (no description available)
un linux-headers-3.0 (no description available)
ii linux-headers-3.2.0-44 3.2.0-44.69 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-44-generic 3.2.0-44.69 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
ii linux-headers-3.2.0-45 3.2.0-45.70 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-45-generic 3.2.0-45.70 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
ii linux-headers-3.2.0-48 3.2.0-48.74 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-48-generic 3.2.0-48.74 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
ii linux-headers-3.2.0-51 3.2.0-51.77 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-51-generic 3.2.0-51.77 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
ii linux-headers-3.2.0-52 3.2.0-52.78 Header files related to Linux kernel version 3.2.0
ii linux-headers-3.2.0-52-generic 3.2.0-52.78 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
iU linux-headers-3.2.0-54 3.2.0-54.82 Header files related to Linux kernel version 3.2.0
iU linux-headers-3.2.0-54-generic 3.2.0-54.82 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
iU linux-headers-generic 3.2.0.54.64 Generic Linux kernel headers
iU linux-headers-server 3.2.0.54.64 Linux kernel headers on Server Equipment.
un linux-image (no description available)
un linux-image-3.0 (no description available)
ii linux-image-3.2.0-44-generic 3.2.0-44.69 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-45-generic 3.2.0-45.70 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
ii linux-image-3.2.0-48-generic 3.2.0-48.74 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
iF linux-image-3.2.0-51-generic 3.2.0-51.77 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
iF linux-image-3.2.0-52-generic 3.2.0-52.78 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
in linux-image-3.2.0-54-generic (no description available)
iU linux-image-generic 3.2.0.51.61 Generic Linux kernel image
iU linux-image-server 3.2.0.51.61 Linux kernel image on Server Equipment.
un linux-initramfs-tool (no description available)
un linux-kernel-headers (no description available)
un linux-kernel-log-daemon (no description available)
ii linux-libc-dev 3.2.0-52.78 Linux Kernel Headers for development
un linux-restricted-common (no description available)
iU linux-server 3.2.0.51.61 Complete Linux kernel on Server Equipment.
un linux-source-3.2.0 (no description available)
un linux-tools (no description available)
Output of du -sh /boot/*
:
root@hb2088:~# du -sh /boot/*
781K /boot/abi-3.2.0-44-generic
781K /boot/abi-3.2.0-45-generic
781K /boot/abi-3.2.0-48-generic
781K /boot/abi-3.2.0-51-generic
781K /boot/abi-3.2.0-52-generic
139K /boot/config-3.2.0-44-generic
139K /boot/config-3.2.0-45-generic
139K /boot/config-3.2.0-48-generic
139K /boot/config-3.2.0-51-generic
139K /boot/config-3.2.0-52-generic
1.6M /boot/grub
14M /boot/initrd.img-3.2.0-44-generic
14M /boot/initrd.img-3.2.0-45-generic
14M /boot/initrd.img-3.2.0-48-generic
12K /boot/lost+found
174K /boot/memtest86+.bin
176K /boot/memtest86+_multiboot.bin
2.8M /boot/System.map-3.2.0-44-generic
2.8M /boot/System.map-3.2.0-45-generic
2.8M /boot/System.map-3.2.0-48-generic
2.8M /boot/System.map-3.2.0-51-generic
2.8M /boot/System.map-3.2.0-52-generic
4.8M /boot/vmlinuz-3.2.0-44-generic
4.8M /boot/vmlinuz-3.2.0-45-generic
4.8M /boot/vmlinuz-3.2.0-48-generic
4.8M /boot/vmlinuz-3.2.0-51-generic
4.8M /boot/vmlinuz-3.2.0-52-generic
You should remove the kernels using this command line:
sudo dpkg -r linux-generic linux-server
sudo apt-get autoremove --purge linux-image-3.2.0-44-generic linux-image-3.2.0-45-generic linux-image-3.2.0-48-generic linux-image-3.2.0-51-generic
sudo apt-get install linux-generic
That would take care of the kernels cluttering your /boot
. You should also probably remove the other linux-headers-*
packages too.
Requires installation of untrusted packages?
I tried installing VLC Player yesterday, and I got the Requires installation of untrusted packages
error. I searched for hours for a solution to this problem, and finally came upon a suggestion that said to change servers for downloading updates from. I did this, and it gave me a 404 error when I clicked on "Check" in the Update Manager. I tried switching my server back to the main one (and after that, several other ones), but I am now still getting a 404 error:
And the other error I get when downloading or updating:
Edit:
Output of cat /etc/apt/sources.list
:
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties
## 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://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.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.
## 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://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties
deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security restricted main multiverse universe #Added by software-properties
deb http://us.archive.ubuntu.com/ubuntu/ precise-security universe
## 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
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
Based on the errors you pasted in the comments section of my previous answer, I have another possible solution:
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
This will rebuild the cache.
Courtesy:http://ubuntuforums.org/showthread.php?t=1983220#8
application development - QML: QChar Booleans are undefined
function myFunction(x)
{
console.log(x.isLetter)
}
myFunction("s")
When I run this in a .qml file, it tells me that "isLetter" is undefined. Why?
http://qt-project.org/doc/qt-5/qchar.html#isLetter
You can't directly use Qt methods on JavaScript var, to do what you want prefer a pure js implementation:
x.match(/[a-z]/i);
Changing Vim editor settings?
How do I change default settings of Vim editor such as setting auto indent, setting Tab space to 4 and changing text colors? Also how to set vim as the default code editor?
Edit ~/.vimrc
and put these in it:
set autoindent
set tabstop=4
colorscheme default
Note: type :colorscheme
and hit Tab in order to find available colorsschemes installed for your Vim .
To use vim
as default editor, use this
export EDITOR=/path/to/vim
or simply export EDITOR=vim
or you can save this in your rc file
xubuntu - My system update requires installation of untrusted packages
I'm trying to install the latest updates from my software manager and it wants me to install untrusted packages? Should I install the packages, if so, how? It just says it requires the untrusted packages and when I click OK it goes back to the Software Updater.
networking - Network Manager keeps creating new profiles for the same network
I have a problem on my thinkpad t440p with ubuntu 16.04 LTS.
At home, I have two networks:
- one default network
- the extended version of my default network.
When I switch connections (for example from the default to the extended one)
the network manager keeps asking for a password. When I fill it in (with remember this password for all users checked), the network manager creates a new configuration (and does this every time when I reconnect to a network). So I think the network manager thinks I am connecting to a new network when in reality I am connecting to the same one. He then proceeds to create a new configuration for the 'new' network. I never had this problem before and I never changed my router configuration.
EDIT: I can change my network without the network manager asking for a password or adding a new network profile by changing it through the settings (network section).
Upgrade from Yakkety Yak (Ubuntu 16.10) when its End of Life
I have a yakkety system running and would like to do a dist upgrade.
I followed the procedure at https://help.ubuntu.com/community/EOLUpgrades however, it did not help.
Apparently, some files are not found. It looks like the packages at http://old-releases.ubuntu.com/ubuntu/dists/yakkety (and all the other directories) are not available.
Is there a new procedure to upgrade or a manual way to force the system to simply do an upgrade? I basically do not care whether I have to do two upgrades first to zesty and then to artful or to artful directly. However, currently I only have the choice to go to artful directly.
Offline downloads for VLC player
I have an Ubuntu 14.04 installation running without internet. I have a windows PC having access to Internet. How can I download VLC Player in a the windows PC and install in ubuntu?
Removing newer linux kernel and retain the older one
I updated the linux kernel from 3.5 to 3.16 by downloading tar.xz file from linuxkernel.org and compiled, and subsequently installed successfully on my ubuntu machine(meaning I am able to see the boot options when I start the pc and can log into either 3.5 or 3.16 version of linux kernel)
but now I want to remove the newer version. steps I followed
- logged into older version 3.5
ran
dpkg --list | grep linux-image
but there is no mention of 3.16root@h2o-Vostro-1015:~# dpkg --list | grep linux-image
ii linux-image-3.5.0-17-generic 3.5.0-17.28 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP
ii linux-image-extra-3.5.0-17-generic 3.5.0-17.28 i386 Linux kernel image for version 3.5.0 on 32 bit x86 SMP
ii linux-image-generic 3.5.0.17.19 i386 Generic Linux kernel image
which indicated that I have only 3.5 version installed,but I can boot into 3.16 version and also
- I checked the /boot directory, there I can see the initrd.img-3.16.0-rc4, which proves that the 3.16 version is still present.
had above steps worked I would have tried either
removal through synaptic or
sudo apt-get remove --purge 3.16.0*
command via terminal.
kindly advise how can I remove the newer version.
Since you installed the kernel manually, posting a link to what instructions you followed would be helpful.
To delete manually, you can run ls -l /boot . Typically the files would be:
- abi-*
- initrd.img-*
- config-*
- System.map-*
- vmlinuz-*
Delete these files (corresponding to 3.16) and update grub.
Sunday, January 29, 2017
permissions - Can't change the owner of a folder
I want to change the owner of a folder. The path to to that folder is /mnt/8A30AA8B30AA7DB7/Books
. I want to take the ownership of that folder to change the permissions. The folder currently belongs to root. I tried the following connamds but none seem to work.
chown apoorv_potnis -R Books
sudo chown apoorv_potnis:apoorv_potnis -R Books
sudo chown apoorv_potnis:apoorv_potnis -R /mnt/8A30AA8B30AA7DB7/Books
sudo chown -R apoorv_potnis: /mnt/8A30AA8B30AA7DB7/Books
The terminal displays chown: changing ownership of '/mnt/8A30AA8B30AA7DB7/Books': Read-only file system
and other files in the folder but does not actually change the ownership. Whenever I check the properties of that folder or the sub-folders, the owner is shown to be root and I cannot change the permissions or delete any file of that folder. How can I take the ownership of the folder? I'm using Ubuntu 18.04 with dual boot Windows 10.
As commented by user7547272 and oldfred, I disabled Fast Startup and hibernation on Windows 10, ran chown
and chmod
. Then I followed what was written in this post and my problem was solved.
nvidia - Driver for Ubuntu 18.04 LTS that supports GTX 1050 TI graphics card
Can anyone tell me if Ubuntu Budgie 18.04 LTS has an open source driver that supports an NVIDIA Gtx 1050 ti graphics card?
My CPU is an Intel E2140.
The proprietary Nvidia graphics driver can be installed in Ubuntu 18.04 from the terminal with the following commands:
sudo ubuntu-drivers autoinstall
sudo reboot
When installing a proprietary graphics driver, it is not necessary to uninstall the built-in open source graphics driver. The two graphics drivers can be installed alongside each other allowing the open source graphics driver to be used as a fallback alternative in case there is a problem using the proprietary graphics driver.
The ubuntu-drivers autoinstall
command installs drivers that are appropriate for automatic installation including their dependencies, and the Nvidia driver will also be updated automatically when an update is available.
Saturday, January 28, 2017
drivers - Nvidia Optimus + CUDA + bumblebee + 14.04
I am the unfortunate to have laptop with optimus technology(nvidia gpu + intel integrated gpu), which seems to make a lot of problems to the new Ubutnu users.
I'm running fresh Ubuntu 14.04 install with Nvidia GPU: gtx 760m, and I want to install the following set: nvidia driver + bumblebee + CUDA 6.5 + Nsight Eclipse. I'm interested in running only few program on nvidia GPU via bumblebee and its $optirun command. The rest of the system I want to stay and run on the intel's GPU.
I've searched the whole internet on how to do that, and each search gave sometimes completely different, and sometimes slightly different answers. I followed some of them and each time I failed.
Nvidia driver:
- should I install the latest driver (340.46 http://www.nvidia.pl/download/driver....aspx/78504/pl) and just run it? Or later driver?
- Should I install the driver via terminal ? Via Software&Updates ? Or maybe from another repository?
- Some users say to blacklist opensource nouveau driver. Some user say the installation process does it automatically. Lots of users end with the black screen problem
CUDA:
- some surces say to
sudo apt-get install nvidia-cuda-toolkit
- some say just
sudo apt-get install cuda
Could someone who DOES know the problem inside out, paste here the step by step solution? Which driver, from what source? How to verify each installation and step. It'd be helpful for every user struggling with this issue.
unity - Unable to load desktop on Ubuntu 16.04 - tried almost everything!
There, like for others, the desktop is not loading past the logging part. After I put the password appears the desktop background, the mouse cursor and the box with xfce saying desktop starting blabla the usual but then the desktop doesn't load further. The same for other accounts and recovery mode.
Tried so far:
export DISPLAY=:0
sudo dconf reset -f /org/compiz/ setsid unity
- enable Unity using ccsm
- installed and uninstalled nvidia
- installed and reinstalled settings, startup
- update and upgraded the computer
sudo apt-get install --reinstall compiz
sudo apt-get install --reinstall ubuntu-desktop unity compizconfig-settings-manager upstart
sudo rm -fr ~/.cache/compizconfig-1
sudo rm -fr ~/.compizsudo rm -fr ~/.Xauthority
sudo rm -fr ~/.config/autostart$ mv ~/.config/dconf/user ~/.config/dconf/user.old
Of course, not in this order, just to show what I,ve tried so far.
Please help as my means of income is my computer!
Friday, January 27, 2017
12.10 nvidia driver issues
After installing the nvidia drivers from the additional drivers tab of software sources, running nvidia-xconfig and dpkg-reconfigure xorg xorg-server xorg-server-core, the system still boots into low graphics mode.
It can be fixed by a restart of lightdm but this shouldn't be necessary, any ideas?
thanks
Run a specific command with root password prompt even if running as root
I want to run a specific command, such as rm
, while logged in as root, but I want the root password prompt to be shown every time. When I run su -c "command"
as root, I was not prompted for a password.
Problem making changes in synaptic package manager
I am listed as administrator in settings, but when I go to synaptic package manager via terminal I get message "Starting "Synaptic Package Manager" without administrative privileges
You will not be able to apply any changes, but you can still export the marked changes or create a download script for them."
How do I fix this?
disk usage - How to remove unused or outdated folders?
I administrate a multi-user system that has had quite a lot of user turnover. The users who have left us still have a folder in the folder /home. I would like to remove the folders for the users that are no longer with us, but I don't want to have to sort through each and every folder and remove them one by one using '-rm'.
Is there a command to remove folders that have not been accessed in a certain amount of time?
Thanks!
software installation - How to install latest version of Okular on Ubuntu 14.04 (avoiding source install)?
Is there a way to install Okular in its latest version on Ubuntu 14.04? So far the default Ubuntu repository supports a really old version of Okular (offered by KDE Applications version 4.13.3), as one can confirm by running:
apt-cache show okular | grep Version
The latest version now is 1.6 (offered by KDE Applications version 18.12.2).
I know that someone can install the latest version from source code (as described in Okular's official webpage), but I want to avoid that and get an easier way to install.
I have also searched for Ubuntu 14.04 binary repositories on launchpad and I haven't found Okular in its latest version.
Am I doomed to update to a newer Ubuntu release to get the latest version of Okular, or is there a way to stack with my beloved Ubuntu 14.04 for a little longer before they get deprecated?
how to remove old kernels in grub2, including files?
How to remove old kernels in Grub2, including files.
Using the Disk Usage Analyzer, I found that the Linux
kernels are located in 4 areas of the root directory:
/boot
/lib/firmware
/lib/modules
/usr/src
All we have to do is, go to each directory and remove the
files or directories that are not needed.
Use the command [rm] for files and [rm -r] for directories.
You have to use [sudo su] to have administrative account, or
use [sudo (command)] to invoke administrative command.
For our example, we will use the linux kernel version 4.4.0-112
You can choose which version you will remove.
at /boot = kernels are all files : abi-4.4.0-112-generic
config-4.4.0-112-generic
initrd.img-4.4.0-112-generic
retpoline-4.4.0-112-generic
System.map-4.4.0-112-generic
vmliniz-4.4.0-112-generic
(note: not all kernel versions have these files included above)
at /lib/firmware = kernels are in subdirectories : 4.4.0-112-generic
at /lib/modules = kernels are in subdirectories : 4.4.0-112-generic
at /usr/src = kernels are in subdirectories : linux-headers-4.4.0-112
linux-headers-4.4.0-112-generic
Now all we need to do is use the command [update-grub]
This will free your hard disk around 300MB worth of disk space
for every kernel that you will remove.
Please note that I am using Ubuntu 16.04 Xenial.
And if anybody knows how to delete files in GUI,
please let me know, it would be alot easier.
what graphics drivers are now in use on this NVIDIA card?
Given the following /var/log/Xorg.0.log
, which graphics driver is the X
server currently using? This log is too confusing for me to parse (I had to snip hopefully irrelevant parts to be able to post the question):
[ 42.851]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 42.851] X Protocol Version 11, Revision 0
[ 42.851] Build Operating System: Linux 2.6.42-37-generic i686 Ubuntu
[ 42.851] Current Operating System: Linux malou-laptop 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:38:12 UTC 2013 i686
[ 42.851] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-57-generic root=UUID=4a8098b3-159d-490a-8216-fe5649d4c129 ro quiet splash
[ 42.851] Build Date: 16 October 2013 04:45:22PM
[ 42.851] xorg-server 2:1.11.4-0ubuntu10.14 (For technical support please see http://www.ubuntu.com/support)
[ 42.851] Current version of pixman: 0.24.4
[ 42.851] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 42.851] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 42.851] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 10 10:00:25 2014
[ 42.947] (==) Using config file: "/etc/X11/xorg.conf"
[ 42.947] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 42.953] (==) No Layout section. Using the first Screen section.
[ 42.953] (==) No screen section available. Using defaults.
[ 42.953] (**) |-->Screen "Default Screen Section" (0)
[ 42.953] (**) | |-->Monitor ""
[ 42.953] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 42.953] (**) | |-->Device "Default Device"
[ 42.953] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 42.953] (==) Automatically adding devices
[ 42.953] (==) Automatically enabling devices
[ 42.953] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 42.953] Entry deleted from font path.
[ 42.953] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[ 42.953] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 42.953] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 42.953] (II) Loader magic: 0x7b35a0
[ 42.953] (II) Module ABI versions:
[ 42.953] X.Org ANSI C Emulation: 0.4
[ 42.953] X.Org Video Driver: 11.0
[ 42.953] X.Org XInput driver : 16.0
[ 42.953] X.Org Server Extension : 6.0
[ 42.955] (--) PCI:*(0:1:0:0) 10de:0429:17aa:20d8 rev 161, Mem @ 0xd2000000/16777216, 0xe0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128
[ 42.955] (II) Open ACPI successful (/var/run/acpid.socket)
[ 42.955] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[ 42.955] (II) "extmod" will be loaded by default.
[ 42.955] (II) "dbe" will be loaded by default.
[ 42.955] (II) "glx" will be loaded by default.
[ 42.955] (II) "record" will be loaded by default.
[ 42.955] (II) "dri" will be loaded by default.
[ 42.955] (II) "dri2" will be loaded by default.
[ 42.955] (II) LoadModule: "extmod"
[ 42.982] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 42.982] (II) Module extmod: vendor="X.Org Foundation"
[ 42.982] compiled for 1.11.3, module version = 1.0.0
[ 42.982] Module class: X.Org Server Extension
[ 42.982] ABI class: X.Org Server Extension, version 6.0
[ 42.982] (II) Loading extension MIT-SCREEN-SAVER
[ 42.982] (II) Loading extension XFree86-VidModeExtension
[ 42.982] (II) Loading extension XFree86-DGA
[ 42.982] (II) Loading extension DPMS
[ 42.982] (II) Loading extension XVideo
[ 42.982] (II) Loading extension XVideo-MotionCompensation
[ 42.982] (II) Loading extension X-Resource
[ 42.982] (II) LoadModule: "dbe"
[ 42.982] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 42.983] (II) Module dbe: vendor="X.Org Foundation"
[ 42.983] compiled for 1.11.3, module version = 1.0.0
[ 42.983] Module class: X.Org Server Extension
[ 42.983] ABI class: X.Org Server Extension, version 6.0
[ 42.983] (II) Loading extension DOUBLE-BUFFER
[ 42.983] (II) LoadModule: "glx"
[ 42.983] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/libglx.so
[ 50.773] (II) Module glx: vendor="NVIDIA Corporation"
[ 50.773] compiled for 4.0.2, module version = 1.0.0
[ 50.773] Module class: X.Org Server Extension
[ 50.773] (II) NVIDIA GLX Module 331.20 Wed Oct 30 17:53:40 PDT 2013
[ 50.773] (II) Loading extension GLX
[ 50.773] (II) LoadModule: "record"
[ 50.774] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 51.245] (II) Module record: vendor="X.Org Foundation"
[ 51.245] compiled for 1.11.3, module version = 1.13.0
[ 51.245] Module class: X.Org Server Extension
[ 51.245] ABI class: X.Org Server Extension, version 6.0
[ 51.245] (II) Loading extension RECORD
[ 51.245] (II) LoadModule: "dri"
[ 51.246] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 51.246] (II) Module dri: vendor="X.Org Foundation"
[ 51.246] compiled for 1.11.3, module version = 1.0.0
[ 51.246] ABI class: X.Org Server Extension, version 6.0
[ 51.246] (II) Loading extension XFree86-DRI
[ 51.246] (II) LoadModule: "dri2"
[ 51.246] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 51.246] (II) Module dri2: vendor="X.Org Foundation"
[ 51.246] compiled for 1.11.3, module version = 1.2.0
[ 51.246] ABI class: X.Org Server Extension, version 6.0
[ 51.246] (II) Loading extension DRI2
[ 51.246] (==) Matched nvidia as autoconfigured driver 0
[ 51.246] (==) Matched nouveau as autoconfigured driver 1
[ 51.246] (==) Matched nv as autoconfigured driver 2
[ 51.246] (==) Matched vesa as autoconfigured driver 3
[ 51.246] (==) Matched fbdev as autoconfigured driver 4
[ 51.246] (==) Assigned the driver to the xf86ConfigLayout
[ 51.246] (II) LoadModule: "nvidia"
[ 51.246] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 51.669] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 51.669] compiled for 4.0.2, module version = 1.0.0
[ 51.669] Module class: X.Org Video Driver
[ 51.687] (II) LoadModule: "nouveau"
[ 51.688] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 51.688] (II) Module nouveau: vendor="X.Org Foundation"
[ 51.688] compiled for 1.11.3, module version = 0.0.16
[ 51.688] Module class: X.Org Video Driver
[ 51.688] ABI class: X.Org Video Driver, version 11.0
[ 51.688] (II) LoadModule: "nv"
[ 51.714] (WW) Warning, couldn't open module nv
[ 51.714] (II) UnloadModule: "nv"
[ 51.714] (II) Unloading nv
[ 51.714] (EE) Failed to load module "nv" (module does not exist, 0)
[ 51.714] (II) LoadModule: "vesa"
[ 51.714] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 51.715] (II) Module vesa: vendor="X.Org Foundation"
[ 51.715] compiled for 1.11.3, module version = 2.3.0
[ 51.715] Module class: X.Org Video Driver
[ 51.715] ABI class: X.Org Video Driver, version 11.0
[ 51.715] (II) LoadModule: "fbdev"
[ 51.715] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 51.715] (II) Module fbdev: vendor="X.Org Foundation"
[ 51.715] compiled for 1.11.3, module version = 0.4.2
[ 51.715] ABI class: X.Org Video Driver, version 11.0
[ 51.715] (==) Matched nvidia as autoconfigured driver 0
[ 51.715] (==) Matched nouveau as autoconfigured driver 1
[ 51.715] (==) Matched nv as autoconfigured driver 2
[ 51.715] (==) Matched vesa as autoconfigured driver 3
[ 51.715] (==) Matched fbdev as autoconfigured driver 4
[ 51.715] (==) Assigned the driver to the xf86ConfigLayout
[ 51.715] (II) LoadModule: "nvidia"
[ 51.715] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 51.715] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 51.990] compiled for 4.0.2, module version = 1.0.0
[ 51.990] Module class: X.Org Video Driver
[ 51.990] (II) UnloadModule: "nvidia"
[ 51.990] (II) Unloading nvidia
[ 51.990] (II) Failed to load module "nvidia" (already loaded, 7838747)
[ 51.990] (II) LoadModule: "nouveau"
[ 51.990] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 51.990] (II) Module nouveau: vendor="X.Org Foundation"
[ 51.990] compiled for 1.11.3, module version = 0.0.16
[ 51.990] Module class: X.Org Video Driver
[ 51.990] ABI class: X.Org Video Driver, version 11.0
[ 51.991] (II) UnloadModule: "nouveau"
[ 51.991] (II) Unloading nouveau
[ 51.991] (II) Failed to load module "nouveau" (already loaded, 7838747)
[ 51.991] (II) LoadModule: "nv"
[ 51.991] (WW) Warning, couldn't open module nv
[ 51.991] (II) UnloadModule: "nv"
[ 51.991] (II) Unloading nv
[ 51.991] (EE) Failed to load module "nv" (module does not exist, 0)
[ 51.991] (II) LoadModule: "vesa"
[ 51.992] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 51.992] (II) Module vesa: vendor="X.Org Foundation"
[ 51.992] compiled for 1.11.3, module version = 2.3.0
[ 51.992] Module class: X.Org Video Driver
[ 51.992] ABI class: X.Org Video Driver, version 11.0
[ 51.992] (II) UnloadModule: "vesa"
[ 51.992] (II) Unloading vesa
[ 51.992] (II) Failed to load module "vesa" (already loaded, 0)
[ 51.992] (II) LoadModule: "fbdev"
[ 51.992] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 51.992] (II) Module fbdev: vendor="X.Org Foundation"
[ 51.992] compiled for 1.11.3, module version = 0.4.2
[ 51.992] ABI class: X.Org Video Driver, version 11.0
[ 51.992] (II) UnloadModule: "fbdev"
[ 51.992] (II) Unloading fbdev
[ 51.992] (II) Failed to load module "fbdev" (already loaded, 0)
[ 52.100] (II) NVIDIA dlloader X Driver 331.20 Wed Oct 30 17:32:26 PDT 2013
[ 52.100] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 52.123] (II) NOUVEAU driver Date: Wed Nov 30 18:56:54 2011 +0100
[ 52.123] (II) NOUVEAU driver for NVIDIA chipset families :
[ 52.123] RIVA TNT (NV04)
[ 52.123] RIVA TNT2 (NV05)
[ 52.123] GeForce 256 (NV10)
[ 52.123] GeForce 2 (NV11, NV15)
[ 52.123] GeForce 4MX (NV17, NV18)
[ 52.123] GeForce 3 (NV20)
[ 52.123] GeForce 4Ti (NV25, NV28)
[ 52.123] GeForce FX (NV3x)
[ 52.123] GeForce 6 (NV4x)
[ 52.123] GeForce 7 (G7x)
[ 52.123] GeForce 8 (G8x)
[ 52.123] GeForce GTX 200 (NVA0)
[ 52.124] GeForce GTX 400 (NVC0)
[ 52.124] (II) VESA: driver for VESA chipsets: vesa
[ 52.124] (II) FBDEV: driver for framebuffer: fbdev
[ 52.124] (++) using VT number 7
[ 52.132] (II) Loading sub module "fb"
[ 52.132] (II) LoadModule: "fb"
[ 52.133] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 52.133] (II) Module fb: vendor="X.Org Foundation"
[ 52.133] compiled for 1.11.3, module version = 1.0.0
[ 52.133] ABI class: X.Org ANSI C Emulation, version 0.4
[ 52.133] (II) Loading sub module "wfb"
[ 52.133] (II) LoadModule: "wfb"
[ 52.133] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 52.186] (II) Module wfb: vendor="X.Org Foundation"
[ 52.186] compiled for 1.11.3, module version = 1.0.0
[ 52.186] ABI class: X.Org ANSI C Emulation, version 0.4
[ 52.186] (II) Loading sub module "ramdac"
[ 52.186] (II) LoadModule: "ramdac"
[ 52.186] (II) Module "ramdac" already built-in
[ 52.383] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[ 52.383] (EE) NVIDIA: system's kernel log for additional error messages.
[ 52.383] drmOpenDevice: node name is /dev/dri/card0
[ 52.392] [drm] failed to load kernel module "nouveau"
[ 52.392] (EE) [drm] failed to open device
[ 52.392] drmOpenDevice: node name is /dev/dri/card0
[ 52.401] [drm] failed to load kernel module "nouveau"
[ 52.401] (EE) [drm] failed to open device
[ 52.401] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 52.401] (WW) Falling back to old probe method for fbdev
[ 52.401] (II) Loading sub module "fbdevhw"
[ 52.401] (II) LoadModule: "fbdevhw"
[ 52.401] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 52.401] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 52.401] compiled for 1.11.3, module version = 0.0.2
[ 52.402] ABI class: X.Org Video Driver, version 11.0
[ 52.402] (EE) open /dev/fb0: No such file or directory
[ 52.402] (II) Loading sub module "vbe"
[ 52.402] (II) LoadModule: "vbe"
[ 52.402] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 52.402] (II) Module vbe: vendor="X.Org Foundation"
[ 52.402] compiled for 1.11.3, module version = 1.1.0
[ 52.402] ABI class: X.Org Video Driver, version 11.0
[ 52.402] (II) Loading sub module "int10"
[ 52.402] (II) LoadModule: "int10"
[ 52.402] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 52.402] (II) Module int10: vendor="X.Org Foundation"
[ 52.402] compiled for 1.11.3, module version = 1.0.0
[ 52.402] ABI class: X.Org Video Driver, version 11.0
[ 52.403] (II) VESA(0): initializing int10
[ 52.403] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[ 52.467] (II) VESA(0): VESA BIOS detected
[ 52.467] (II) VESA(0): VESA VBE Version 3.0
[ 52.467] (II) VESA(0): VESA VBE Total Mem: 14336 kB
[ 52.467] (II) VESA(0): VESA VBE OEM: NVIDIA
[ 52.467] (II) VESA(0): VESA VBE OEM Software Rev: 96.134
[ 52.467] (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation
[ 52.467] (II) VESA(0): VESA VBE OEM Product: G86 Board - NV_NB8M
[ 52.467] (II) VESA(0): VESA VBE OEM Product Rev: Chip Rev
[ 52.588] (II) VESA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 52.588] (==) VESA(0): Depth 24, (--) framebuffer bpp 32
[ 52.588] (==) VESA(0): RGB weight 888
[ 52.588] (==) VESA(0): Default visual is TrueColor
[ 52.588] (==) VESA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 52.588] (II) Loading sub module "ddc"
[ 52.588] (II) LoadModule: "ddc"
[ 52.588] (II) Module "ddc" already built-in
[ 52.655] (II) VESA(0): VESA VBE DDC supported
[ 52.655] (II) VESA(0): VESA VBE DDC Level none
[ 52.655] (II) VESA(0): VESA VBE DDC transfer in appr. 0 sec.
[ 52.925] (II) VESA(0): VESA VBE DDC read failed
[ 53.009] (II) VESA(0): VESA VBE PanelID read successfully
[ 53.009] (II) VESA(0): PanelID returned panel resolution 1680x1050
[ 53.009] (II) VESA(0): Searching for matching VESA mode(s):
[ 53.010] Mode: 100 (640x400)
[ 53.010] ModeAttributes: 0x3bf
[ 53.011] WinAAttributes: 0x7
[ 53.011] WinBAttributes: 0x0
[ 53.011] WinGranularity: 64
[..]
[ 53.078] BnkNumberOfImagePages: 1
[ 53.078] LinNumberOfImagePages: 1
[ 53.078] LinRedMaskSize: 8
[ 53.078] LinRedFieldPosition: 16
[ 53.078] LinGreenMaskSize: 8
[ 53.078] LinGreenFieldPosition: 8
[ 53.078] LinBlueMaskSize: 8
[ 53.078] LinBlueFieldPosition: 0
[ 53.078] LinRsvdMaskSize: 8
[ 53.078] LinRsvdFieldPosition: 24
[ 53.078] MaxPixelClock: 229500000
[ 53.078]
[ 53.078] (II) VESA(0): Total Memory: 224 64KB banks (14336kB)
[ 53.078] (II) VESA(0): : Using hsync range of 29.37-64.67 kHz
[ 53.078] (II) VESA(0): : Using vrefresh range of 56.00-59.88 Hz
[ 53.078] (WW) VESA(0): Unable to estimate virtual size
[ 53.078] (II) VESA(0): Not using built-in mode "1680x1050" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "1280x1024" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "1280x800" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "1024x768" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "800x600" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "640x480" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "640x400" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "320x400" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "320x240" (no mode of this name)
[ 53.078] (II) VESA(0): Not using built-in mode "320x200" (no mode of this name)
[ 53.078] (WW) VESA(0): No valid modes left. Trying less strict filter...
[ 53.078] (II) VESA(0): : Using hsync range of 29.37-64.67 kHz
[ 53.078] (II) VESA(0): : Using vrefresh range of 56.00-59.88 Hz
[ 53.078] (WW) VESA(0): Unable to estimate virtual size
[ 53.078] (II) VESA(0): Not using built-in mode "640x400" (hsync out of range)
[ 53.078] (II) VESA(0): Not using built-in mode "320x400" (hsync out of range)
[ 53.078] (II) VESA(0): Not using built-in mode "320x240" (illegal horizontal timings)
[ 53.078] (II) VESA(0): Not using built-in mode "320x200" (illegal horizontal timings)
[ 53.078] (--) VESA(0): Virtual size is 1680x1050 (pitch 1680)
[ 53.078] (**) VESA(0): *Built-in mode "1680x1050"
[ 53.078] (**) VESA(0): *Built-in mode "1280x1024"
[ 53.079] (**) VESA(0): *Built-in mode "1280x800"
[ 53.079] (**) VESA(0): *Built-in mode "1024x768"
[ 53.079] (**) VESA(0): *Built-in mode "800x600"
[ 53.079] (**) VESA(0): *Built-in mode "640x480"
[ 53.079] (==) VESA(0): DPI set to (96, 96)
[ 53.079] (II) VESA(0): Attempting to use 60Hz refresh for mode "1680x1050" (169)
[ 53.080] (II) VESA(0): Attempting to use 60Hz refresh for mode "1280x1024" (11b)
[ 53.080] (II) VESA(0): Attempting to use 60Hz refresh for mode "1024x768" (118)
[ 53.081] (II) VESA(0): Attempting to use 60Hz refresh for mode "800x600" (115)
[ 53.082] (II) VESA(0): Attempting to use 60Hz refresh for mode "640x480" (112)
[ 53.083] (**) VESA(0): Using "Shadow Framebuffer"
[ 53.083] (II) Loading sub module "shadow"
[ 53.083] (II) LoadModule: "shadow"
[ 53.084] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 53.084] (II) Module shadow: vendor="X.Org Foundation"
[ 53.084] compiled for 1.11.3, module version = 1.1.0
[ 53.084] ABI class: X.Org ANSI C Emulation, version 0.4
[ 53.084] (II) Loading sub module "fb"
[ 53.084] (II) LoadModule: "fb"
[ 53.084] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 53.084] (II) Module fb: vendor="X.Org Foundation"
[ 53.084] compiled for 1.11.3, module version = 1.0.0
[ 53.084] ABI class: X.Org ANSI C Emulation, version 0.4
[ 53.084] (II) UnloadModule: "fbdev"
[ 53.084] (II) Unloading fbdev
[ 53.084] (II) UnloadModule: "fbdevhw"
[ 53.084] (II) Unloading fbdevhw
[ 53.084] (==) Depth 24 pixmap format is 32 bpp
[ 53.084] (II) Loading sub module "int10"
[ 53.085] (II) LoadModule: "int10"
[ 53.085] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 53.085] (II) Module int10: vendor="X.Org Foundation"
[ 53.085] compiled for 1.11.3, module version = 1.0.0
[ 53.085] ABI class: X.Org Video Driver, version 11.0
[ 53.085] (II) VESA(0): initializing int10
[ 53.085] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[ 53.147] (II) VESA(0): VESA BIOS detected
[ 53.147] (II) VESA(0): VESA VBE Version 3.0
[ 53.147] (II) VESA(0): VESA VBE Total Mem: 14336 kB
[ 53.147] (II) VESA(0): VESA VBE OEM: NVIDIA
[ 53.147] (II) VESA(0): VESA VBE OEM Software Rev: 96.134
[ 53.147] (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation
[ 53.147] (II) VESA(0): VESA VBE OEM Product: G86 Board - NV_NB8M
[ 53.147] (II) VESA(0): VESA VBE OEM Product Rev: Chip Rev
[ 53.150] (II) VESA(0): virtual address = 0xb67be000,
physical address = 0xd1000000, size = 14680064
[ 53.172] (II) VESA(0): Setting up VESA Mode 0x169 (1680x1050)
[ 53.382] (==) VESA(0): Default visual is TrueColor
[ 53.383] (==) VESA(0): Backing store disabled
[ 53.383] (==) VESA(0): DPMS enabled
[ 53.383] (WW) VESA(0): Option "NoLogo" is not used
[ 53.383] (==) RandR enabled
[ 53.383] (II) Initializing built-in extension Generic Event Extension
[ 53.383] (II) Initializing built-in extension SHAPE
[ 53.383] (II) Initializing built-in extension MIT-SHM
[ 53.383] (II) Initializing built-in extension XInputExtension
[ 53.383] (II) Initializing built-in extension XTEST
[ 53.383] (II) Initializing built-in extension BIG-REQUESTS
[ 53.383] (II) Initializing built-in extension SYNC
[ 53.383] (II) Initializing built-in extension XKEYBOARD
[ 53.383] (II) Initializing built-in extension XC-MISC
[ 53.383] (II) Initializing built-in extension SECURITY
[ 53.383] (II) Initializing built-in extension XINERAMA
[ 53.383] (II) Initializing built-in extension XFIXES
[ 53.383] (II) Initializing built-in extension RENDER
[ 53.383] (II) Initializing built-in extension RANDR
[ 53.383] (II) Initializing built-in extension COMPOSITE
[ 53.383] (II) Initializing built-in extension DAMAGE
[ 53.407] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[ 53.445] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[ 53.449] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 53.449] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 53.449] (II) LoadModule: "evdev"
[ 53.450] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 53.450] (II) Module evdev: vendor="X.Org Foundation"
[ 53.450] compiled for 1.11.3, module version = 2.7.0
[ 53.450] Module class: X.Org XInput Driver
[ 53.450] ABI class: X.Org XInput driver, version 16.0
[ 53.450] (II) Using input driver 'evdev' for 'Power Button'
[ 53.450] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 53.450] (**) Power Button: always reports core events
[ 53.450] (**) evdev: Power Button: Device: "/dev/input/event2"
[ 53.450] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 53.450] (--) evdev: Power Button: Found keys
[ 53.450] (II) evdev: Power Button: Configuring as keyboard
[ 53.450] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[ 53.450] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 53.450] (**) Option "xkb_rules" "evdev"
[ 53.450] (**) Option "xkb_model" "pc105"
[ 53.450] (**) Option "xkb_layout" "us"
[ 53.451] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 53.451] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 53.451] (II) Using input driver 'evdev' for 'Video Bus'
[ 53.451] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 53.451] (**) Video Bus: always reports core events
[ 53.451] (**) evdev: Video Bus: Device: "/dev/input/event4"
[ 53.451] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 53.451] (--) evdev: Video Bus: Found keys
[ 53.451] (II) evdev: Video Bus: Configuring as keyboard
[ 53.451] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:04/LNXVIDEO:01/input/input4/event4"
[ 53.451] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 53.451] (**) Option "xkb_rules" "evdev"
[ 53.451] (**) Option "xkb_model" "pc105"
[ 53.451] (**) Option "xkb_layout" "us"
[ 53.452] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 53.452] (II) No input driver specified, ignoring this device.
[ 53.452] (II) This device may have been added with another device file.
[ 53.452] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 53.452] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 53.452] (II) Using input driver 'evdev' for 'Sleep Button'
[ 53.452] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 53.452] (**) Sleep Button: always reports core events
[ 53.452] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[ 53.452] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 53.452] (--) evdev: Sleep Button: Found keys
[ 53.452] (II) evdev: Sleep Button: Configuring as keyboard
[ 53.453] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[ 53.453] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 53.453] (**) Option "xkb_rules" "evdev"
[ 53.453] (**) Option "xkb_model" "pc105"
[ 53.453] (**) Option "xkb_layout" "us"
[..]
[ 53.453] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[..]
[ 53.453] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[ 53.453] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[ 53.454] (**) Option "xkb_rules" "evdev"
[ 53.454] (**) Option "xkb_model" "pc105"
[ 53.454] (**) Option "xkb_layout" "us"
[ 53.454] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event5)
[ 53.454] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 53.454] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 53.454] (II) LoadModule: "synaptics"
[ 53.455] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 53.455] (II) Module synaptics: vendor="X.Org Foundation"
[ 53.455] compiled for 1.11.3, module version = 1.6.2
[ 53.455] Module class: X.Org XInput Driver
[ 53.455] ABI class: X.Org XInput driver, version 16.0
[ 53.455] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 53.455] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 53.455] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 53.455] (**) Option "Device" "/dev/input/event5"
[..]
[ 53.469] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input7/event7"
[ 53.469] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 11)
[..]
[ 53.470] (II) No input driver specified, ignoring this device.
[ 53.470] (II) This device may have been added with another device file.
[ 53.472] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event6)
[ 53.472] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[ 53.472] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[ 53.472] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 53.472] (**) ThinkPad Extra Buttons: always reports core events
[ 53.472] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event6"
[ 53.472] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[ 53.472] (--) evdev: ThinkPad Extra Buttons: Found keys
[ 53.472] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[ 53.472] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input6/event6"
[ 53.472] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 12)
[ 53.472] (**) Option "xkb_rules" "evdev"
[ 53.472] (**) Option "xkb_model" "pc105"
[ 53.472] (**) Option "xkb_layout" "us"
Background: This question is on the back of Nvidia X Server flickers, hangs and segfaults on start-up. I am able to start X
only if I install the proprietary Nvidia graphics for my graphics card (say, nvidia-304
) in one kernel (3.2.0-23-generic
), then boot in a different kernel (3.2.0-57-generic
). It clearly uses some fallback driver, but I can't understand if it's nouveau
or something else.
EDIT1:
As suggested:
liv@malou-laptop:~$ lspci -v
[..]
01:00.0 VGA compatible controller: NVIDIA Corporation G86M [Quadro NVS 140M] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Lenovo ThinkPad T61
[..]
Kernel modules: nouveau, nvidiafb
[..]
But strangely, these modules don't seem to be in use:
root@malou-laptop:/home/liv# lsmod | grep -i nouveau
root@malou-laptop:/home/liv# lsmod | grep -i nvidia
Although they're clearly available:
liv@malou-laptop:~$ modprobe -l | grep nouveau
kernel/drivers/gpu/drm/nouveau/nouveau.ko
liv@malou-laptop:~$ modprobe -l | grep nvidia
kernel/drivers/video/nvidia/nvidiafb.ko
Disable NVIDIA Optimus Graphics Card
I am running Ubuntu 15.10 and have a laptop with NVIDIA Optimus technology. As known by many, Optimus has yet to receive official support and has a lot of issues. Since I do not need the power of the graphics card for when I am on Ubuntu I would like to know if it is possible to completely disable the NVIDIA card altogether and only use the Intel on-board graphics. How would I go about doing this if possible?
I know of one solution which is using the NVIDIA PRIME and changing the profile to only use Intel, but the problem with this is that using the NVIDIA driver causes severe screen tearing which is annoying to deal with so this is not an option for me.
Uninstall the proprietary NVIDIA drivers and disable the use of the nouveau
drivers.
Open a terminal and execute :
sudo apt-get install gksu
gksudo gedit /etc/default/grub
Add nouveau.modeset=0
to the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
so that it reads GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0"
.
Save changes and close the file.
Now execute these commands :
sudo update-grub
sudo apt-get purge nvidia*
sudo reboot
Now you are using the integrated intel graphics and the NVIDIA graphics are not in use.
Upgrade 14 to 16.04: required dependency 'dpkg (>= 1.17.5ubuntu5.6)' is not installed. Help?
I am trying to update my Ubuntu from 14 to the latest Ubuntu 16.04. I am not able to upgrade and the following error messages comes up. What should I do?
required dependency 'dpkg (>= 1.17.5ubuntu5.6)' is not installed.
apt - What does "Package build-essential is virtual" mean? How to solve it?
I have read other posts, most of them were not solved, and I also tried the "solutions" posted there.
I wasn't successful getting a download link by the terminal apt-get install --print-uris build-essential
I wasn't successful with sudo apt-get install build-essential
neither.
I have found an .RPM version of build-essential here. though the steps are not working for me.
2ND question. ----I even tried https://community.linuxmint.com/software/view/build-essential to download directly by AptURL but when I open it, it says "Package build-essential is virtual" What does that mean? Or should I say, how would I resolve it?
language - I found some misspelling in my Ubuntu calendar
My name is Mahdi Vojoudi and Im from Iran .When I choosed persian calendar for my Ubuntu I found some misspelling .I will be so happy if I can help Ubuntu developers
to correct this .I can translate the words from english to persian for making Ubuntu better .
Thursday, January 26, 2017
14.04 - Ubuntu characters missing with Nvidia GeForce 840M and Nouveau driver
I recently bought a new laptop (ASUS-X555LN) with a 840M graphics card in it. I installed Ubuntu 14.04 64 bit with its install DVD, during and after the install, there are missing characters, like in the screenshot below:
Before this, I executed the commands from this answer, but did not choose to activate the Nvidia drivers from the "Additional Drivers" menu, I'm still using the Nouveau driver.
Anyway, I'm confused. I already browsed a lot of discussions (like this and this) and tried the proposed solutions to the graphics card problem, but all of the times I ended up messing the desktop, (sometimes blank, sometimes 640x480). What is a guaranteed way of having no problems with my graphics card? Is there such a way?
Currently my driver options are: (also another example of my problem :) )
Which driver should I use?
Thanks for any help!
apt - How can I fix a 404 Error when using a PPA or updating my package lists?
PPA seems to be constantly offline. Whenever I use sudo apt-get update
, this error is shown:
W: Failed to fetch http://ppa.launchpad.net/ 404 Not Found
How do I fix these errors?
11.10 - Why can't I access Windows from Grub after installing Ubuntu?
I'm new to Ubuntu and just installed it on my HP Compaq nx5000. I dual-boot installed with Windows XP. When I boot, it goes to the grub bootloader. At the bottom of the Grub list it says boot Windows XP professional. But when I select the last one and press enter, no matter how many times I try, it either loads Ubuntu or goes back to the bootloader.
Wednesday, January 25, 2017
grub2 - Convert from EFI to BIOS boot mode
I have a Samsung Notebook NP900X4C with an LUKS encrypted installation on it. The system is booting in UEFI mode.
The problem is that the samsung-notebook kernel module is disabled in UEFI mode and due to that I am missing features like the keyboard backlight.
Is it possible to modify the current installation so it can boot in BIOS mode?
Is this correct that the basic steps would be converting the disk from GPT to MBR and installing grub from a live CD? Would this be possible with a LUKS partition?
I figured out the exact way by myself. Rod Smith was right, it’s easier than I thought.
Here the solution if anybody else needs it:
Original Partition Layout:
/dev/sda1
(EFI Partition)/dev/sda2
(Boot Partition)/dev/sda3
(LVM2/LUKS encrypted Root & Swap)
Converting to BIOS boot:
- I deleted the EFI Partition and created a new partition with the
bios_grub
flag instead of it. - Using this tutorial I mounted the encrypted file system, chrooted into it and installed GRUB.
- Remove the EFI Partition from
/etc/fstab
.
Dual Boot Win7 and Ubuntu 14.04 Bootloader
I feel like this has been asked, but I'm still confused. I have windows 7 installed on a SSD. I want to dual boot linux with it so I partitioned 60gigs of space for the root, home, and swap. I booted from a flash drive that I have linux loaded on and began the install. My system is set to UEFI so I set it to install the bootloader on the efi partition.
The install went fine, however when I restarted, it just loads windows 7 and never gives me an option to boot into my linux install. I'm assuming that Grub2 should be the default, but I'm guessing that windows boot manager is still the default.
Can someone give me some clarification on what I need to do in order to get this to work?
Thanks
kernel - What is hardware enablement (HWE)?
I see the linux-hwe-generic package as part of the kernels you can install in Ubuntu.
What is hardware enablement (HWE)?
Brand new hardware devices are released to the public always more frequently. And we want such hardware to be always working on Ubuntu, even if it has been released after an Ubuntu release. Six months (the time it takes for a new Ubuntu release to be made) is a very long period in the IT field. Hardware Enablement (HWE) is about that: catching up with the newest hardware technologies.
Now, how does Ubuntu want to reach the goal of Hardware Enablement? Using rolling releases for the kernel: as soon as a new kernel is released, it is packaged for Ubuntu, tested (via the proposed pocket and special Q/A methodologies), and made available to Ubuntu users. This method has of course some disadvantages: releasing a new kernel too quickly may introduce some bugs and issues, and may not be suitable for the enterprise.
The solution? Offering different kernels for different users. Therefore Ubuntu will offer at least two kernels: the General Availability (GA) kernel, i.e. the most stable kernel, which does not get updated to point releases; and the Hardware Enablement (HWE) kernel, i.e. the most recent kernel released. This is why you are seeing both the linux-generic
and the linux-hwe-generic
packages.
Finally, if you are interested in developing or testing the newest kernel technologies, look at the Ubuntu Hardware Debugging web site.
References:
How to run a command at login?
I need to run the following command (with real parameters) after login:
ssh -f user@example.com -L 54321:example.com:54321 -N
I need it only for my user, not all users on the machine. Also, I need it to run whether I login via the GUI or via SSH to a plain shell terminal. I would even like to know how to do this on machines without a GUI installed.
Where would I put the above line to be run as explained?
Adding the command to the end of ~/.profile
should do the trick (where ~
represents your home directory).
Not ~/.bashrc
, which would make it run again every time a bash
shell is started. In contrast, .profile
is only run by interactive login shells. See man bash
and man sh
for more information.
Please note that this will run not just for GUI and SSH logins, but for all logins (or at least all interactive logins), including when you log on in a virtual console.
software installation - How to install latest version of Okular on Ubuntu 14.04 (avoiding source install)?
Is there a way to install Okular in its latest version on Ubuntu 14.04? So far the default Ubuntu repository supports a really old version of Okular (offered by KDE Applications version 4.13.3), as one can confirm by running:
apt-cache show okular | grep Version
The latest version now is 1.6 (offered by KDE Applications version 18.12.2).
I know that someone can install the latest version from source code (as described in Okular's official webpage), but I want to avoid that and get an easier way to install.
I have also searched for Ubuntu 14.04 binary repositories on launchpad and I haven't found Okular in its latest version.
Am I doomed to update to a newer Ubuntu release to get the latest version of Okular, or is there a way to stack with my beloved Ubuntu 14.04 for a little longer before they get deprecated?
package management - How do I enable the "extras" repository?
I keep reading about an extras repository for Ubuntu with new software that comes out independently of the distro release. How do I enable it?
This repository should be enabled by default and is only available for 10.10 and up.
In the Software Center (Applications -> Ubuntu Software Center) navigate to Edit -> Software Sources...
From there navigate to the Other Software tab and ensure the Independent sources are selected
Press close and allow the sources to reload.
Open the APT Sources list
sudoedit /etc/apt/sources.list
Locate the lines which say
Remove the hash (#
) tag from those lines. If the hashes are not present then that source is already enabled. If those lines aren't there at all you will need to add them to the bottom of the file:
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
Close the editor and run
sudo apt-get update
This will download the package cache from the extra's location.
Reference:
package management - Installing a group of .deb files
I have a directory of .deb files which I copied from the cache folder of apt. There are many applications and Ubuntu updates among them. but there's no dependency failure because they were all downloaded by 'add/remove applications' and 'update manager' automatically.
Now I have installed the same version of Ubuntu (9.04) and I want to install those apps and updates again(though they are not new versions). In other words, I want to make this fresh Ubuntu install exactly like the old one but without downloading any thing and using only those .deb files that I copied. All I have is an archive folder containing the .deb files and a 'pkgcache.bin' file.
I know I can double-click the .deb files and install them manually but then I have to find out and follow the dependencies one by one from the installer errors.
I have also tried adding an offline repository but it didn't work. I think because all of my .deb's are in on folder, and there is no separate 'main', 'restricted', ... folder?!
Is there a way to do all of this automatically?
Eureka!
All I had to do to install a group of .deb files automatically was:
cd deb-files-location
sudo dpkg -i *.deb
Tuesday, January 24, 2017
kubuntu - How can I find out the ROOT password?
I installed Kubuntu 12.04 on this desktop last September and am the main user of the machine. I can perform most admin tasks such as installing new software with my password, which is also accepted using sudo
in a terminal. Some tasks however ask for a root password - the most recent example being when I tried to re-install my HP printer. and my usual password does not work. I have looked at this answer, but it doesn't seem to help as I know my own password. I need to know root's password!
Running sudo -i
in the console will drop you into "root" mode.
'PRIME Profiles' tab missing in NVIDIA X Server Settings (Ubuntu 16.04)
I have nvidia-settings and nvidia-prime installed, but the 'PRIME Profiles' tab is missing.
How can I fix it to be able to switch between my GPUs?
Update:
~$ lspci -k | grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Subsystem: Hewlett-Packard Company 4th Gen Core Processor Integrated Graphics Controller
Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)
Subsystem: Hewlett-Packard Company GK208M [GeForce GT 740M]
Kernel driver in use: nouveau
Install nvidia-361
in terminal or in GUI, reboot, and PRIME will appear.
It works only with NVIDIA proprietary drivers.
13.04 - Ubuntu does not appear in Grub Menu. Boot Repair Failed
I have a Hard-Drive with Windows 7 and Ubuntu. Until a few days ago I was using Ubuntu 12.10 but after a lot of crashes errors and broken packages Ubuntu stopped booting at all.
With a live DVD I installed Ubuntu 13.04 without problems but after some updates that required a reboot the system booted directly to a black screen with the text "grub recovery >".
I ran boot repair and afterwards i was able to access Windows 7 but if I select Ubuntu the grub menu just shows "Windows recovery" and "Windows boot loader".
This is the link with the information from Boot Repair. *
Hopefully someone can help me, because I really have no clue on how to access the files from Ubuntu 13.04. The Files from ubuntu 12.10 were available trough boot Repair as a mounted disk in a trial version of ubuntu, but the installation of 13.10 was not detected.
* - link to data summary is inactive and has been removed
12.04 - How do I start an application as a service?
So I would like a couple of applications to run as services when the machine reboots without the need to login, is this possible?
Applications are:
- Thunderbird Mail
- xChat IRC
This way my email filters will work and I can log the IRC channels I need if my machine restarts and I'm not able to login at the time.
I have them configured to Auto Start when I login nut how can I add them as a service?
10.04 - How do I enable Extra Visual Effects using an Intel graphics controller?
I'm using an office desktop computer with Ubuntu 10.04 installed. I know the Intel graphics controller should be able to pull off the simple desktop effects made available by Compiz, but I can't convince Ubuntu to try. When I try to enable Extra Effects it pops up the "Hardware Drivers" dialog and concludes after a while "No proprietary drivers are in use on this system", with the list below empty.
Note, I used to have nVidia drivers installed. I moved the SSD from my old computer to this new one.
I would like to know what I must learn in order to enable Extra Effects on Ubuntu using Intel graphics controller
My xorg.conf: (it's the default output from $ Xorg -configure
)
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection
Section "Module"
Load "dri2"
Load "dri"
Load "dbe"
Load "record"
Load "extmod"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "DRI" # []
#Option "ColorKey" #
#Option "VideoKey" #
#Option "FallbackDebug" # []
#Option "Tiling" # []
#Option "LinearFramebuffer" # []
#Option "Shadow" # []
#Option "SwapbuffersWait" # []
#Option "XvPreferOverlay" # []
#Option "DebugFlushBatches" # []
#Option "DebugFlushCaches" # []
#Option "DebugWait" # []
#Option "HotPlug" # []
#Option "RelaxedFencing" # []
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Core Processor Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
$ glxinfo
output:
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
3 GLXFBConfigs:
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Segmentation fault
$ uname -a
output:
$ uname -a
Linux tes-ubuntu-w350 3.0.0-19-generic #33~lucid1-Ubuntu SMP Fri Apr 20 13:55:
08 UTC 2012 x86_64 GNU/Linux
Please comment if there is more relevant information I can provide
What I have done
Installed the newest available kernel from apt-get
sudo apt-get install linux-image-3.0.0-19-generic linux-headers-3.0.0-19-gener
ic
Added these to my sources
deb http://ppa.launchpad.net/glasen/intel-driver/ubuntu lucid main
deb-src http://ppa.launchpad.net/glasen/intel-driver/ubuntu lucid main
And run apt-get update && apt-get upgrade
You should check this link to read up on the error: http://ubuntuforums.org/showpost.php?p=8849106&postcount=11
Solution (provided in above link):
sudo apt-get purge nvidia*
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
apt - Ubuntu 18.04 LTS and how to handle point releases
Trying to get some clarity on the meaning of LTS and the point release of 18.04. Looking on Canonical site they state 5 years support for 18.04, 18.04.1 and 18.04.5 but only six months for 18.04.2/3/4. See:
https://wiki.ubuntu.com/Kernel/Support#A18.04.x_Ubuntu_Kernel_Support
I'm trying to understand a couple of things:
- Does the Ubuntu bionic version migrate through point release numbers based on "apt upgrade" and thus a normal user with unattended-upgrades set would just migrate through these bionic releases? It does not appear that you need to use dist-upgrade to get to next bionic point release.
- Based on answer to above, how would a user stay on 18.04.1 and get security patches without migrating to next bionic point release and latest kernel?
- When would a 18.04.1 device be expected to get the v5 kernel (seems this came with 18.04.3) and what if anything, would stop this kernel upgrade via apt?
My assumption has always been:
- that bionic releases upgrade automatically through apt and ppa definitions
- all 18.04 releases are considered LTS (not clear what the 6 month kernel timeline means from a support perspective as devices would get to .5 and be supported going forward)
I am asking as there is a vendor who is refusing to support v5 kernel based on the above chart and yet claims support for "18.04 LTS". Can't find a good answer on whether 18.04.3 is or is not considered an LTS release.
Thoughts?
How do I find the package that provides a file?
Simple enough question: is there some shell command (or GUI method) I can use that, given the path to a file on my system, tells me what package put it there? Assuming the file did in fact come from a package, that is.
Bonus question: what if it's a file that isn't installed on my system? Is there, say, a website that will let me look up a file and see what packages, if any, provide it?
You can use dpkg
command to find out which installed package owns a file:
From man dpkg
:
-S, --search filename-search-pattern...
Search for a filename from installed packages.
Example:
$ dpkg -S /bin/ls
coreutils: /bin/ls
You can either search with a full path or with just the filename.
If you wish to search for files not yet installed on your computer, you can use the Ubuntu Packages Search
Monday, January 23, 2017
dual boot - Ubuntu 16.04 LTS install freezes on Dell 7559 Laptop
Last night I tried to install the most recent version of Ubuntu on my Dell 7559 laptop as dual boot. I have a partition ready for the installation. When loading from USB drive made by Rufus, the splash screen comes up but just hangs there. Any ideas what's going on?
a specific user can't mount usb sticks
I have the problem that a specific user can't use usb sticks any more. they are not mounted automatically any more.
For some weird reason I changed the numeric userid and groupid of this user (actually to solve some problems with a NAS).
I saved the home directory of the user in question and deleted the user.
When I create a new user with the same numeric uid but a new username, it works.
When I create a new user with the same numeric and username, it doesn't work ...
using Ubuntu 14.04
thankful for any hint!
12.04 - Unable to remove older images from boot
My boot partition is full and I attempted to follow the solution found here:
https://askubuntu.com/a/142937/178039
Running:
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d'
linux-headers-3.2.0-23
linux-headers-3.2.0-23-generic
linux-headers-3.2.0-25
linux-headers-3.2.0-25-generic
linux-headers-3.2.0-26
linux-headers-3.2.0-26-generic
linux-headers-3.2.0-27
linux-headers-3.2.0-27-generic
linux-headers-3.2.0-29
linux-headers-3.2.0-29-generic
linux-headers-3.2.0-31
linux-headers-3.2.0-31-generic
linux-headers-3.2.0-32
linux-headers-3.2.0-32-generic
linux-headers-3.2.0-33
linux-headers-3.2.0-33-generic
linux-headers-3.2.0-34
linux-headers-3.2.0-34-generic
linux-headers-3.2.0-35
linux-headers-3.2.0-35-generic
linux-headers-3.2.0-36
linux-headers-3.2.0-36-generic
linux-headers-3.2.0-37
linux-headers-3.2.0-37-generic
linux-headers-3.2.0-38
linux-headers-3.2.0-38-generic
linux-headers-3.2.0-40
linux-headers-3.2.0-40-generic
linux-headers-3.2.0-41
linux-headers-3.2.0-41-generic
linux-image-3.2.0-31-generic
linux-image-3.2.0-32-generic
linux-image-3.2.0-33-generic
linux-image-3.2.0-34-generic
linux-image-3.2.0-35-generic
linux-image-3.2.0-36-generic
linux-image-3.2.0-37-generic
linux-image-3.2.0-38-generic
However, when I run the command sudo apt-get -y purge linux-image-3.2.0-31-generic
to remove an older image I get this issue:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-server : Depends: linux-image-server (= 3.2.0.49.59) but 3.2.0.40.48 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I run sudo apt-get -f install
and this just tells me my boot partition is full:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-23-generic linux-headers-3.2.0-31-generic linux-headers-3.2.0-26-generic linux-image-3.2.0-37-generic linux-headers-3.2.0-23 linux-headers-3.2.0-25 linux-headers-3.2.0-31 linux-headers-3.2.0-26
linux-headers-3.2.0-32 linux-headers-3.2.0-27 linux-headers-3.2.0-33 linux-headers-3.2.0-34 linux-headers-3.2.0-29 linux-headers-3.2.0-36 linux-headers-3.2.0-37 linux-headers-3.2.0-38 linux-headers-3.2.0-34-generic
linux-headers-3.2.0-29-generic libspeex1 linux-headers-3.2.0-37-generic linux-headers-3.2.0-32-generic linux-headers-3.2.0-27-generic linux-image-3.2.0-38-generic libtheora0 daemon libservlet2.5-java linux-headers-3.2.0-38-generic
linux-headers-3.2.0-25-generic linux-headers-3.2.0-33-generic linux-headers-3.2.0-36-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-image-3.2.0-49-generic linux-image-server
Suggested packages:
fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools
The following NEW packages will be installed:
linux-image-3.2.0-49-generic
The following packages will be upgraded:
linux-image-server
1 upgraded, 1 newly installed, 0 to remove and 113 not upgraded.
7 not fully installed or removed.
Need to get 0 B/38.5 MB of archives.
After this operation, 150 MB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 487607 files and directories currently installed.)
Unpacking linux-image-3.2.0-49-generic (from .../linux-image-3.2.0-49-generic_3.2.0-49.75_amd64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-49-generic_3.2.0-49.75_amd64.deb (--unpack):
failed in write on buffer copy for backend dpkg-deb during `./boot/vmlinuz-3.2.0-49-generic': No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-49-generic /boot/vmlinuz-3.2.0-49-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-49-generic /boot/vmlinuz-3.2.0-49-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.2.0-49-generic_3.2.0-49.75_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Running apt-get autoremove
gives the me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-server : Depends: linux-image-server (= 3.2.0.49.59) but 3.2.0.40.48 is installed
E: Unmet dependencies. Try using -f.
It seems I am in a loop. How can I fix this issue to finally upgrade my server? I am on 12.04
Edit 1: When attempting to remove an image on boot:
sudo rm /boot/initrd.img-3.2.0-31-generic
sudo apt-get -y purge linux-image-3.2.0-31-generic
I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-server : Depends: linux-image-server (= 3.2.0.49.59) but 3.2.0.40.48 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I then try and run apt-get -f install and get this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-23-generic linux-headers-3.2.0-31-generic linux-headers-3.2.0-26-generic linux-image-3.2.0-37-generic linux-headers-3.2.0-23 linux-headers-3.2.0-25 linux-headers-3.2.0-31 linux-headers-3.2.0-26
linux-headers-3.2.0-32 linux-headers-3.2.0-27 linux-headers-3.2.0-33 linux-headers-3.2.0-34 linux-headers-3.2.0-29 linux-headers-3.2.0-36 linux-headers-3.2.0-37 linux-headers-3.2.0-38 linux-headers-3.2.0-34-generic
linux-headers-3.2.0-29-generic libspeex1 linux-headers-3.2.0-37-generic linux-headers-3.2.0-32-generic linux-headers-3.2.0-27-generic linux-image-3.2.0-38-generic libtheora0 daemon libservlet2.5-java linux-headers-3.2.0-38-generic
linux-headers-3.2.0-25-generic linux-headers-3.2.0-33-generic linux-headers-3.2.0-36-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-image-server
The following packages will be upgraded:
linux-image-server
1 upgraded, 0 newly installed, 0 to remove and 113 not upgraded.
5 not fully installed or removed.
Need to get 0 B/2,370 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up linux-image-3.2.0-40-generic (3.2.0-40.64) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.2.0-49-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-40-generic /boot/vmlinuz-3.2.0-40-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-40-generic /boot/vmlinuz-3.2.0-40-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-40-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-40-generic /boot/vmlinuz-3.2.0-40-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-40-generic /boot/vmlinuz-3.2.0-40-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-49-generic
Found linux image: /boot/vmlinuz-3.2.0-41-generic
Found linux image: /boot/vmlinuz-3.2.0-40-generic
Found initrd image: /boot/initrd.img-3.2.0-40-generic
Found linux image: /boot/vmlinuz-3.2.0-39-generic
Found initrd image: /boot/initrd.img-3.2.0-39-generic
Found linux image: /boot/vmlinuz-3.2.0-38-generic
Found initrd image: /boot/initrd.img-3.2.0-38-generic
Found linux image: /boot/vmlinuz-3.2.0-37-generic
Found initrd image: /boot/initrd.img-3.2.0-37-generic
Found linux image: /boot/vmlinuz-3.2.0-36-generic
Found initrd image: /boot/initrd.img-3.2.0-36-generic
Found linux image: /boot/vmlinuz-3.2.0-35-generic
Found initrd image: /boot/initrd.img-3.2.0-35-generic
Found linux image: /boot/vmlinuz-3.2.0-34-generic
Found linux image: /boot/vmlinuz-3.2.0-33-generic
Found linux image: /boot/vmlinuz-3.2.0-32-generic
Found linux image: /boot/vmlinuz-3.2.0-31-generic
Found memtest86+ image: /memtest86+.bin
done
Setting up linux-image-3.2.0-41-generic (3.2.0-41.66) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-41-generic /boot/vmlinuz-3.2.0-41-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-41-generic /boot/vmlinuz-3.2.0-41-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-41-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-41-generic /boot/vmlinuz-3.2.0-41-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-41-generic /boot/vmlinuz-3.2.0-41-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-49-generic
Found linux image: /boot/vmlinuz-3.2.0-41-generic
Found initrd image: /boot/initrd.img-3.2.0-41-generic
Found linux image: /boot/vmlinuz-3.2.0-40-generic
Found initrd image: /boot/initrd.img-3.2.0-40-generic
Found linux image: /boot/vmlinuz-3.2.0-39-generic
Found initrd image: /boot/initrd.img-3.2.0-39-generic
Found linux image: /boot/vmlinuz-3.2.0-38-generic
Found initrd image: /boot/initrd.img-3.2.0-38-generic
Found linux image: /boot/vmlinuz-3.2.0-37-generic
Found initrd image: /boot/initrd.img-3.2.0-37-generic
Found linux image: /boot/vmlinuz-3.2.0-36-generic
Found initrd image: /boot/initrd.img-3.2.0-36-generic
Found linux image: /boot/vmlinuz-3.2.0-35-generic
Found initrd image: /boot/initrd.img-3.2.0-35-generic
Found linux image: /boot/vmlinuz-3.2.0-34-generic
Found linux image: /boot/vmlinuz-3.2.0-33-generic
Found linux image: /boot/vmlinuz-3.2.0-32-generic
Found linux image: /boot/vmlinuz-3.2.0-31-generic
Found memtest86+ image: /memtest86+.bin
done
Setting up linux-image-3.2.0-49-generic (3.2.0-49.75) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-49-generic /boot/vmlinuz-3.2.0-49-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-49-generic /boot/vmlinuz-3.2.0-49-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-49-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-49-generic /boot/vmlinuz-3.2.0-49-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-49-generic /boot/vmlinuz-3.2.0-49-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-49-generic
Found initrd image: /boot/initrd.img-3.2.0-49-generic
Found linux image: /boot/vmlinuz-3.2.0-41-generic
Found initrd image: /boot/initrd.img-3.2.0-41-generic
Found linux image: /boot/vmlinuz-3.2.0-40-generic
Found initrd image: /boot/initrd.img-3.2.0-40-generic
Found linux image: /boot/vmlinuz-3.2.0-39-generic
Found initrd image: /boot/initrd.img-3.2.0-39-generic
Found linux image: /boot/vmlinuz-3.2.0-38-generic
Found initrd image: /boot/initrd.img-3.2.0-38-generic
Found linux image: /boot/vmlinuz-3.2.0-37-generic
Found initrd image: /boot/initrd.img-3.2.0-37-generic
Found linux image: /boot/vmlinuz-3.2.0-36-generic
Found initrd image: /boot/initrd.img-3.2.0-36-generic
Found linux image: /boot/vmlinuz-3.2.0-35-generic
Found initrd image: /boot/initrd.img-3.2.0-35-generic
Found linux image: /boot/vmlinuz-3.2.0-34-generic
Found linux image: /boot/vmlinuz-3.2.0-33-generic
Found linux image: /boot/vmlinuz-3.2.0-32-generic
Found linux image: /boot/vmlinuz-3.2.0-31-generic
Found memtest86+ image: /memtest86+.bin
done
Setting up linux-image-server (3.2.0.40.48) ...
dpkg: dependency problems prevent configuration of linux-server:
linux-server depends on linux-image-server (= 3.2.0.49.59); however:
Version of linux-image-server on system is 3.2.0.40.48.
dpkg: error processing linux-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
In all the error output you provided there's one important part: No space left on device
. This indicates that your disk is full. A full disk can lead to packages left in an unconfigured state, resulting in the dependency errors you're seeing.
The only sane thing here is to free up some space. For example, manually remove the initrd image:
sudo rm /boot/initrd.img-3.2.0-31-generic
try sudo apt-get -f install
again, then purge the package
sudo apt-get -y purge linux-image-3.2.0-31-generic
If you get another No space left on device
remove one more initrd.img and try again.
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 (...
-
Some of the similar questions don't quite seem to match with my question. What I'm trying to do is to have .bashrc (or similar) to ...
-
My computer has an SSD and an internal hard drive. I tried to set things up so that the hard drive would mount automatically on start-up. Un...
-
I got a very weird problem. My developer laptop runs Ubuntu 11.04 with Unity. As a Java developer I'm using eclipse which whose shortcut...