I have an ARM Asus Vivobook S15 laptop. I installed Ubuntu 25.10 and have an audio problem https://askubuntu.com/questions/1559736/i-have-an-arm-asus-vivobook-s15-laptop-i-installed-ubuntu-25-10-and-have-an-aud

Model: Asus Vivobook S 15
OS: Ubuntu 25.10
SSD is completely deleted, only Ubuntu is on.
Problem: No audio

Do I need to download drivers?

Krutidev keyboard does not work with autocorrect https://askubuntu.com/questions/1559734/krutidev-keyboard-does-not-work-with-autocorrect

The keyboard that I use in LibreOffice Writer on Ubuntu does not correct words automatically. The keyboard for krutidev is available here

Another similar keyboard is Remington and autocorrect is working very well in that. Even if both the keyboards look the same, LibreOffice Writer does not consider them the same when it comes to correcting words automatically.

https://github.com/mike-fabian/m17n-db/blob/master/MIM/mr-remington.mim

Is there any reason why krutidev keyboard does not work with autocorrect in Writer?

Did I install Ubuntu on two seperate drives? https://askubuntu.com/questions/1559731/did-i-install-ubuntu-on-two-seperate-drives

I thought I wiped the previous install but it is possible that the second install went to storage drive instead of my OS drive.

enter image description here


I'm clawing my way to making a Jellyfin server on Ubuntu. So I suspect I'll probably post here again, possibly later today.

gaspers@mediamundo:~$ lsblk
NAME                         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda                            8:0    0   1.8T  0 disk 
├─sda1                         8:1    0     1G  0 part /boot/efi
├─sda2                         8:2    0     2G  0 part /boot
└─sda3                         8:3    0   1.8T  0 part    
└─ubuntu--vg--1-ubuntu--lv 252:1    0   100G  0 lvm  /
sr0                           11:0    1  1024M  0 rom  
nvme0n1                      259:0    0 476.9G  0 disk 
├─nvme0n1p1                  259:1    0     1G  0 part 
├─nvme0n1p2                  259:2    0     2G  0 part 
└─nvme0n1p3                  259:3    0 473.9G  0 part 
  └─ubuntu--vg-ubuntu--lv    252:0    0   100G  0 lvm  

gaspers@mediamundo:~$ 
n'arrive plus a mettre a jour mon systeme et n'arrive plus a telecharger un apk [duplicate] https://askubuntu.com/questions/1559730/narrive-plus-a-mettre-a-jour-mon-systeme-et-narrive-plus-a-telecharger-un-apk

Erreur : Entrée 1 mal formée dans sources fichier /etc/apt/sources.list.d/third-party.sources (URI parse) Erreur : La liste des sources ne peut être lue.

insert prefix to each line of file if line is not blank otherwise do something else https://askubuntu.com/questions/1559722/insert-prefix-to-each-line-of-file-if-line-is-not-blank-otherwise-do-something-e

I would like sed do do something to each line of a file.

  • if line is NOT blank, do something, (insert prefix_01 before line text),

  • if line is blank, (including spaces, tabs or whatever not printable), do something else, (insert prefix_02 before line text).

This is my code:

f1="f1.txt"

printf "line ONE\n \t \nline THREE  \t\n" > "$f1"

prefix_01="everything good.. "
prefix_02="NOT good !! "

cat "$f1" | sed -E 's/^/'"$prefix_01"'/'

will produce the following output:

everything good.. line ONE
everything good..
everything good.. line THREE

but I would like to have the following output (with prefix_02 in case of blank lines):

everything good.. line ONE
NOT good !! 
everything good.. line THREE

I would like sed to test if line is empty or not, then do action_01 or action_02.

  • if NOT empty line, action_01, (print prefix_01 + text of the line).
  • if empty line, action_02, (print prefix_02).

Any help?

My spacebar doesnt work [closed] https://askubuntu.com/questions/1559721/my-spacebar-doesnt-work

yesterday i updated my Ubuntu 25.0. Since then my space bar doesn't work. I try to clean it, but it doesn't seem in poor shape at all, it was pretty OK, with no sings hardware damage. I wrote this question recurring to keyboard on screen accessibility toll, witch might indicate that its not a software problem and i am miss correlating events . Can someone help me, please?

Ubuntu 25.10 on Lenovo Thinkpad T480 boots straight to Windows - Boot-Repair shows "Locked-NVram detected" https://askubuntu.com/questions/1559720/ubuntu-25-10-on-lenovo-thinkpad-t480-boots-straight-to-windows-boot-repair-sho

I am trying to dual boot Ubuntu 25.10 on my Lenovo Thinkpad T480 alongside Windows. The installation seems to complete successfully, but the laptop always boots directly into Windows. The GRUB menu never appears. Here are my system details and the steps I've taken:

  • Laptop: Lenovo Thinkpad T480

  • OS: Ubuntu 25.10 (dual boot)

  • BIOS Mode: UEFI

  • Secure Boot: disabled

  • indows Fast Startup: disabled

Partitioning: I used the "Something Else" (manual partitioning) option during setup, following a guide similar to this one. My EFI partition is nvme0n1p1, and I have separate partitions for /, /home, /boot, /var, etc. The core problem is that the UEFI boot entry for Ubuntu is not being created.

  1. fdisk -l output:
$ sudo fdisk -l

/dev/nvme0n1p1   EFI System
/dev/nvme0n1p2   Microsoft reserved
/dev/nvme0n1p3   Microsoft basic data
/dev/nvme0n1p4   Windows recovery environment
/dev/nvme0n1p5   Linux swap
/dev/nvme0n1p6   Linux filesystem
/dev/nvme0n1p7   Linux filesystem
/dev/nvme0n1p8   Linux filesystem
/dev/nvme0n1p9   Linux filesystem
/dev/nvme0n1p10  Linux filesystem
  1. efibootmgr -v output:

When I run sudo efibootmgr -v, the "ubuntu" entry is completely missing. It only shows the Windows Boot Manager and hardware options.

$ sudo efibootmgr -v
BootCurrent: 001C
Timeout: 2 seconds
BootOrder: 001E,001F,001C,0000,001A,0019,001B,0018,0017,001D
Boot0000* Windows Boot Manager
Boot0010  Setup 
Boot0011  Boot Menu
Boot0012  Diagnostic Splash Screen
Boot0013  Lenovo Diagnostic
Boot0014  Startup Interrupt Menu
Boot0015  Rescue and Recovery
Boot0016  MEBx Hot Key
Boot0017  USB CD
Boot0018  USB FDD
Boot0019  NVMe1
Boot001A  NVMe0
Boot001B  ATA HDD0
Boot001C  USB HDD
Boot001D  PCI LAN
Boot001E  Other CD
Boot001F  Other HDD
Boot0020  USBR BOOT CDROM
Boot0021  USBR BOOT Floppy
Boot0022  ATA HDD
Boot0023  ATAPI CD
  1. Boot-Repair utility output:

I ran the Boot-Repair utility from the live session. It failed to add the entry and gave me this specific, critical message:

Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Ubuntu 25.10 entry (nvme0n1p1/efi/ubuntu/grubx64.efi file)

This "Locked-NVram" seems to be the entire problem. Is there a hidden BIOS setting I need to find that "unlocks" the NVRAM for new UEFI entries? What should I do?

How can I use the cmd&c (cut) and cmd&v (paste) on a MacBook now running Ubuntu 24.04? https://askubuntu.com/questions/1559715/how-can-i-use-the-cmdc-cut-and-cmdv-paste-on-a-macbook-now-running-ubuntu

I have an old MacBook that is out of Apple support, so I installed Ubuntu 24.04.03 LTS rather than chucking it out. On a Mac the Cmd + c and Cmd + v keys are the standard keyboard cut and paste. Is there any way to map these commands to allow this functionality?

enter image description here

I tried in Settings -> Keyboard -> Keyboard Shortcuts, but I think this is really for mapping an application to a keyboard shortcut.

Generic icon in the bar with using Appimage https://askubuntu.com/questions/1559712/generic-icon-in-the-bar-with-using-appimage

I am a beginner in Ubuntu, I decided to stick to me current computer. Windows 11 told me to change it, but I won’t… It works just fine ! So I decided to change and learn from every steps, even the smallest, using Ubuntu now (Ubuntu 24.04.3 LTS).

Here is my problem. I get an AppImage of the app SuperSlicer. https://github.com/supermerill/SuperSlicer/releases/tag/2.5.59.13 Prior to downloading it, I decided to install the Synaptic package manager, as I read a recommendation for it (just to know it). Everything works fine in the app when running. Except... the icon in the task bar when I launch the SuperSlicer app. The pinned icon on the bar is correct.

Pinned icon

But the icon of the app after launching is a kind of a generic one AND there is not this little red dot (or dots when the app is running multiple times) just right of the pinned icon (as for Firefox in this example). This should actually be the only mark indicating that the app is running looking at the bar and that is the behavior I am looking for.

Generic icon of the app when launched:

Generic icon of the app when launched

I read a bit about this problem and learn that it could come from the .desktop file. But I do not see any trouble in it. Below is the icons location I found and the .desktop file content.

Icons location:

Icons location

.desktop content:

.desktop content

How to move Ubuntu 24.04, currently standalone, to replace Ubuntu 20.04 on a dual-boot drive https://askubuntu.com/questions/1559556/how-to-move-ubuntu-24-04-currently-standalone-to-replace-ubuntu-20-04-on-a-dua

Currently, this PC has Ubuntu 20.04 LTS in the 256 GB ext4 partition, as shown below, dual booting with Windows 10. This works well, using GRUB to select OS when booting.

Internal SSD

In the meanwhile, I've set up Ubuntu 24.04 LTS on an external SSD, using 140 GB, as shown below.

External SSD

The OS and software on the external SSD is up-to-date, customized to my preferences, and works well.

Though I can switch OS by plugging in the USB drive and changing boot order from the PC's firmware menu, my goal is to replace Ubuntu 20.04 with 24.04, still dual booting with Windows (kept for a few legacy apps, such as current and future tax software). Though I could delete the 256 GB ext4 partition of the internal, making the end of the drive unallocated, and then copy to it the 140 GB Ubuntu 24.04 ext4 partition of the external drive, I'm concerned if GRUB will find either Windows or Ubuntu partitions.

Would simply copying over the 24.04 ext4 partition work, or is there a better way to do this?

For various reasons, I'd prefer not upgrading to 22.04 and then 24.04, among them being that the OS and software on the external drive works as-is, and I have cloned it successfully to two other machines that boot Ubuntu alone.

PHP behave weirdly with local configuration https://askubuntu.com/questions/1556065/php-behave-weirdly-with-local-configuration

Had php-fpm on Ubuntu 20.04, switched to Xubuntu 24.04.

First, PHP seems to ignore .user.ini. Every thing thing has been checked: all configuration files in /etc and access rights on all the path going to the .user.ini file. It was working normally with Ubuntu 20.04. php_info() confirms the values set in .user.ini are ignored. More strange to come.

Tried with a local php.ini instead: not better.

Tried to set the configuration flags and value in .htaccess although it seems to be obsoleted now (unless I’m wrong): php_info shows the good local values, however entirely ignores it. Ex. it says display_errors is On, but it does not apply, similarly with log_errors and error_log, nothing is written to the specified error log, although php_info() says it knows the values. This is not an issue with group/owner/permissions, it was checked and it is the same as was with Ubuntu 20.04, and was applying fine. PHP and Apache had been restarted many times.

Again weirder: if I remove the lines from .htaccess it writes to another error log which is specified globally. If it is set locally, it says it knows it, but write to no error log file, either the local or the global one, it makes it ignore error logging entirely.

Searched the web many days for that, tired of it, though it was working with .htaccess (although would prefer .user.ini to be better organized), but it just shows the value and ignores it.

It must be either something obvious I am missing or a weird corner case no body or very few knows; searching and reading multiple pages line by line did not help.

It seems it works only if set globally under /etc/php/8.3/.

What would be nice, would be a way to debug step by step what PHP is doing and where it fails, but I don’t how to do it or even if it can be done.

Versions:

  • PHP 8.3.6 (cli) (built: Jul 14 2025 18:30:55) (NTS)
  • Server version: Apache/2.4.58 (Ubuntu)
  • Server built: 2025-08-11T11:10:09
  • Ubuntu 24.04.3 LTS (although it really is Xubuntu)

Checking Apache version, I noticed I had to invoke apache2ctl to get it right, because apache2 returned an error about a missing APACHE_RUN_DIR environement variable being not defined. But I really have to sudo service apache2 restart because apache2ctl is not the name of a service. I feel to guess this issue is not related, while still mentioned in case it may be meaningful.

Update 2025-09-14:

The only way I could get PHP use a per site INI file, is adding a directive for it in the virtual host:

<VirtualHost 127.0.0.2:80>
    ServerName ....
    ...
    PHPINIDir /home/xxxx/.../public_html/.php.ini
</VirtualHost>

(idea after this french web-site: mettre un php.ini spécifique pour un VirtualHost)

Each time .php.ini is modified, a sudo service apache2 restart is required.

It still reads the INI files in /etc so it does not break the configuration. php_info() now sees all configurable properties as “local value” and “master value” at the same time. Ex. the value for error_log is the same for both. I made this an opportunity to rename .user.ini into .php.ini, which is more meaningful. Unlike php.ini (without a leading dot), it will apply on all directories of the virtual host, with no need to copy it in each directory.

When I said it was writing to another error log, it was the one defined for Apache in the same virtual host, so it was not really a PHP error log file, rather an Apache error log file. This means when PHP was not writing to it anymore, it was not logging error via Apache anymore, I guess.

The practical case is solved, good enough to be said better than a mere workaround, but the initial issue is not, which is to explain why PHP behave so strangely.

Be careful with comments, which may break the configuration file. It's better to have few or none.

Ubuntu 24.04 LUKS encrypted installation with manual partitioning https://askubuntu.com/questions/1555597/ubuntu-24-04-luks-encrypted-installation-with-manual-partitioning

I have a dual-boot setup with Windows 11 (BitLocker off) and Ubuntu 22.04 (LUKS encrypted). I need to upgrade to 24.04. The default upgrade won't work because the /boot partition is too small and cannot be resized easily because it's encrypted. Either way, I have already formatted the / partition and am trying to do an encrypted Ubuntu 24.04 install.

I am following these steps:

  1. Launch Ubuntu from USB drive, open the Installer and click Next a few times.
  2. On the "Disk setup" page, select "Erase disk and install Ubuntu", then select "Advanced features...", then select "Use LVM and encryption".
  3. Now select "Manual installation" and click "Next".

At this step, I expect to set the passphrase for the encryption, but I don't get any option for that. I have already run the full installer once and have got the fresh Ubuntu 24.04 installation working, however, it's not encrypted.

Can someone please guide me on the encrypted setup? I am fine formatting the partition again as there is no data.

Fingerprint reader Dell Inspiron https://askubuntu.com/questions/1538586/fingerprint-reader-dell-inspiron

How to enable fingerprint reader for login on Ubuntu 24.04.1 LTS?

Dell Inspiron 3583

Blockquote Bus 001 Device 004: ID 27c6:5301 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader

How to login into xrdp/xorg in hyper-v? When I enter ubuntu login credentials in the input box, a blank blue screen shows up https://askubuntu.com/questions/1505757/how-to-login-into-xrdp-xorg-in-hyper-v-when-i-enter-ubuntu-login-credentials-in

enter image description here

Disabling the Enhanced session mode let's me enter into ubuntu without xrdp login dialogue box but it results in not able to copy clipboard and full screen doesn't work.

I don't have much experience with Hyper-v, Ubuntu and all this virtual machine stuff. Google didn't help either.

Please guide me how to login here and work with Ubuntu 22.04.

How to share directory in Ubuntu22.04 for Windows users https://askubuntu.com/questions/1494441/how-to-share-directory-in-ubuntu22-04-for-windows-users

I have a Windows domain LAN + some Ubuntu 22.04. I'd like to share Ubuntu folder to make it accessible to Everyone from Windows domain. I have made this recommendation:

https://www.debugpoint.com/guide-how-share-folder-between-ubuntu-linux-windows/

After it I view the shared folder in windows

\\myubuntu
   \media

But I cannot open it in windows, it writes me: You do not have permissions to access \myubuntu\media

How to share it for any windows user? P.S. smb.config contains

workgroup = WORKGROUP # <-- maybe need to change it?

I have added these strings:

[media]
path = /home/xoleg/media
browsable = yes
writable = yes
read only = no
force user = guest # <-- maybe need to change it?
guest ok = yes
LUKS + TPM2 + auto unlock at boot (systemd-cryptenroll) https://askubuntu.com/questions/1470391/luks-tpm2-auto-unlock-at-boot-systemd-cryptenroll

Please, help me to finish setup LUKS + TPM2 + auto unlock at boot.

I have installed clean Ubuntu 22.04.2 I have encrypted partition in GUI while installing OS. I have installed all updates.

Ubuntu 22.04.2 LTS
5.19.0-43-generic
systemd 249 (249.11-0ubuntu3.9)

I am trying to use this manual: https://wiki.archlinux.org/title/Trusted_Platform_Module#systemd-cryptenroll

I have installed:

tpm2-tools
dracut-core_059-3_amd64.deb
dracut_059-3_all.deb

Next:

sudo dracut --add tpm2-tss
sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 /dev/nvme0n1p3

I have added in /etc/crypttab:

nvme0n1p3_crypt UUID=1fce6364-485c-4524-9c73-7bd4dac5bd32 none luks,discard

System still asking for a passphrase while booting.

I am do not understand what I need to do exactly to auto-unlock LUKS via TPM on boot.

How to enable a specific port on Ubuntu version 22 so that it is accessible to outside world? https://askubuntu.com/questions/1451505/how-to-enable-a-specific-port-on-ubuntu-version-22-so-that-it-is-accessible-to-o

How to enable a specific port on Ubuntu version 22 so that it is accessible to outside world?

I am already logged into the server through ssh using port 22 and able to successfully execute all the commands.

I have enabled the ufw firewall and also enabled ports 22, 80 and 22786.

Both 22 and 80 are fine and accessible but not able to access 22786 from outside world.

Do I need to change some other firewall settings to enable port 22786 ?

admin@prod:~$ sudo ufw status numbered

Status: active
     To                         Action      From
     --                         ------      ----
[ 1] 22786                      ALLOW IN    Anywhere
[ 2] 22                         ALLOW IN    Anywhere
[ 3] 80                         ALLOW IN    Anywhere
[ 4] 22786 (v6)                 ALLOW IN    Anywhere (v6)
[ 5] 22 (v6)                    ALLOW IN    Anywhere (v6)
[ 6] 80 (v6)                    ALLOW IN    Anywhere (v6)

admin@prod:~$ sudo netstat -plunt

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1619/nginx: master
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      834/sshd: /usr/sbin
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      927/sshd: admin@pts
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      784/systemd-resolve
tcp6       0      0 :::80                   :::*                    LISTEN      1619/nginx: master
tcp6       0      0 :::22                   :::*                    LISTEN      834/sshd: /usr/sbin
tcp6       0      0 ::1:6010                :::*                    LISTEN      927/sshd: admin@pts
udp        0      0 127.0.0.53:53           0.0.0.0:*                           784/systemd-resolve

I installed Nginx manually and was able to access it using http://ipaddress

But when I check through this online tool (https://www.yougetsignal.com/tools/open-ports/), it shows both 22 and '80' ports are enabled but 22786 is closed.

22 port was already open when I got this host and 80 got enabled after I installed Nginx and added it to ufw using sudo ufw allow 80 command. I used sudo ufw allow 22786 command to enable this port too but no luck.

how to prevent apt from automatically installing snaps https://askubuntu.com/questions/1410688/how-to-prevent-apt-from-automatically-installing-snaps

I don't hate snap as much as some people but I do usually prefer not to use it so it's really annoying when I: apt install and it just installs a snap without asking, is there a way I can prevent that, either by making it ask or by just failing.

I don't want to remove snap entirely, just stop apt from installing snaps automatically or at all.

How to use KDE / Plasma dialogs in Thunderbird https://askubuntu.com/questions/1324878/how-to-use-kde-plasma-dialogs-in-thunderbird

While getting Firefox to use KDE / Plasma dialogs was not straightforward, following this link and rebooting my machine got it working.

Thunderbird seems to be another kind of animal though.

Copying the thunderbird.desktop file to my home directory does not help. Editing the menu entry to look like GTK_USE_PORTAL=1 thunderbird does not help.

I am able to get the plasma dialogs by running the above command from terminal, which then throws lots of errors:

~$ GTK_USE_PORTAL=1 thunderbird
[calBackendLoader] Using Thunderbird's libical backend
console.debug: "Successfully loaded OpenPGP library librnp.so from /usr/lib/thunderbird/librnp.so"
Extension error: Error while loading 'jar:file:///usr/lib/thunderbird/omni.ja!/chrome/messenger/search-extensions/twitter/manifest.json' (NS_ERROR_FILE_NOT_FOUND) resource://gre/modules/Extension.jsm:570 :: readJSON/</<@resource://gre/modules/Extension.jsm:570:20
onStopRequest@resource://gre/modules/NetUtil.jsm:128:18

console.debug: "public keys: 0, secret keys: 0"
console.debug: "Successfully loaded optional OpenPGP library libgpgme.so.11 from system's standard library locations"
console.debug: "gpgme version: 1.13.1-unknown"
console.log: (new Error("Cannot load required OTR library", "resource:///modules/OTRLib.jsm", 75))
JavaScript error: chrome://chat/content/conversation-browser.js, line 853: NotSupportedError: CustomElementRegistry.define: 'conversation-browser' has already been defined as a custom element
JavaScript error: , line 0: uncaught exception: 2147500036

Thunderbird eventually opens, asking me to select system integration. Then it will use Plasma dialogs, but on next startup it will return to its default dialog.

So, how do I get Thunderbird to use KDE / Plasma file dialogs every time?

Ubuntu 18 install - grub error : invalid buffer alignment https://askubuntu.com/questions/1185214/ubuntu-18-install-grub-error-invalid-buffer-alignment

First question here, please let me know if i'm inaccurate.

I'm trying to install ubuntu 18 in dual boot with windows 10. I made my usb with rufus in gpt mode an i can boot on it but when i click on install ubuntu or try ubuntu without installing i obtain a black screen with the following output :

error : invalid buffer alignment -1070023623
error : you need to load the kernel first

Press any key to continue...

So i go into grub command-line and whichever command i use i obtain the following output :

error : invalide buffer alignment -1070023599

except with the command set which allows me to see a long lists of options, here are 4 of them as example:

?=29
cmdpath=(hd0,gpt1)/EFI/BOOT
prefix=(hd0,gpt1)/boot/grub
root=hd0,gpt1

Do you have any idea how to fix this so i can finish my install ?

Thanks guys !

ValueError: Namespace Gtk not available https://askubuntu.com/questions/1154986/valueerror-namespace-gtk-not-available

When following the instructions 2. Getting Started — Python GTK+ 3 Tutorial 3.4 documentation

Tries

In [6]: import gi
   ...: gi.require_version('Gtk', '3.0')
   ...: from gi.repository import Gtk

it report errors:

~/anaconda3/lib/python3.7/site-packages/gi/__init__.py in require_version(namespace, version)
    128     available_versions = repository.enumerate_versions(namespace)
    129     if not available_versions:
--> 130         raise ValueError('Namespace %s not available' % namespace)
    131
    132     if version not in available_versions:

ValueError: Namespace Gtk not available

Follow How do I Install GTK+ 3.0? - Ask Ubuntu and intstalled Gtk to ubuntu

sudo apt-get install libgtk-3-dev

However, it still report the same errors.

How could solve the problem?

grey screen from strangers in Omegle https://askubuntu.com/questions/1110930/grey-screen-from-strangers-in-omegle

Since I've update to Ubuntu 18.04, I only have have grey screens from strangers in Omegle. I've tried Firefox and Chrome, same thing. My webcam works fine in Cheese and Skype, and Flash seems up to date... Not sure what is happening here, please help!

Thank you

Job for mysql.service failed because the control process exited with error code https://askubuntu.com/questions/1009669/job-for-mysql-service-failed-because-the-control-process-exited-with-error-code

MySQL server was running fine last night, but this morning, when I tried to hit the Bugzilla server, I found it down. I tried to start it, but I get:

Job for mysql.service failed because the control process exited with 
error code. See "systemctl status mysql.service" and "journalctl -xe" for 
details.

I have done a few google searches and found a bunch of questions. I tried some of the answers, but the server is still down. I have plenty of space,

root@GBRTEF01LX005:/home/bzadmin# df -h
Filesystem                                  Size  Used Avail Use% Mounted on
udev                                        2.0G     0  2.0G   0% /dev
tmpfs                                       396M  5.8M  390M   2% /run
/dev/mapper/CMS--UBN--TEMPLATE--1--vg-root   75G  4.8G   66G   7% /
tmpfs                                       2.0G     0  2.0G   0% /dev/shm
tmpfs                                       5.0M     0  5.0M   0% /run/lock
tmpfs                                       2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/sda1                                   472M  106M  342M  24% /boot
tmpfs                                       396M     0  396M   0% /run/user/1001

I have also added more swap space for InnoDB,

innodb_buffer_pool_size = 20M

which is one of the suggestion I found, and lastly, here is the last 30 lines of journalctl -xe,

root@GBRTEF01LX005:/home/bzadmin# journalctl -xe | tail -30
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: mysql.service: Unit entered failed state.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: mysql.service: Failed with result 'exit-code'.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has finished shutting down.
Feb 25 16:26:23 GBRTEF01LX005 systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysql.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has begun starting up.
Feb 25 16:26:23 GBRTEF01LX005 audit[11846]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/11846/status" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=107
Feb 25 16:26:23 GBRTEF01LX005 audit[11846]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=0
Feb 25 16:26:23 GBRTEF01LX005 audit[11846]: AVC apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/11846/status" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=107
Feb 25 16:26:23 GBRTEF01LX005 kernel: audit: type=1400 audit(1519575983.239:317): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/11846/status" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=107
Feb 25 16:26:23 GBRTEF01LX005 kernel: audit: type=1400 audit(1519575983.239:318): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/sys/devices/system/node/" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=0
Feb 25 16:26:23 GBRTEF01LX005 kernel: audit: type=1400 audit(1519575983.239:319): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/proc/11846/status" pid=11846 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=107 ouid=107
Feb 25 16:26:25 GBRTEF01LX005 systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE

Any help would be greatly appreciated! thanks.

josé

cannot find - No such file or directory - libusb - Ubuntu 32 & 64 bit https://askubuntu.com/questions/972677/cannot-find-no-such-file-or-directory-libusb-ubuntu-32-64-bit

I'm trying to write a program that transfers data to my device. I'm using libusb. I had many problems to install its package in both 32 & 64 bit edition of Ubuntu 16 LTS. Commands for installation:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libusb-1.0-0-dbg

also tried: http://www.linuxfromscratch.org/blfs/view/svn/general/libusb.html

"dpkg -l libusb*" in Ubuntu 64 bit; shows that it has been installed while 32 bit one announces "no such package...".

Compiling command:

sudo gcc -g -o usbtest usbtest.c -lusb-1.0

In Ubuntu 64 bit it compiled while in 32 bit one, following note appeared:

/usr/bin/ld: cannot find -lusb-1.0
collect2: error: ld returned 1 exit status

but I was sure that it exist then I tried following command and it compiled without any error.

sudo gcc -g -o usbtest usbtest.c -L/usr/local/lib -lusb-1.0

at the end when I execute my program, it can not find my device in other words can not open the device. following presents debugging procedure in Ubuntu (32 & 64 bit):

141      int r = 1; 
(gdb) s
143      r = libusb_init(NULL); 
(gdb) 
libusb_init (context=0x0) at ../../libusb/core.c:1983
1983    ../../libusb/core.c: No such file or directory.
(gdb) 
1985    in ../../libusb/core.c
(gdb) 
__GI_getenv (name=0xb7fb2f16 "LIBUSB_DEBUG") at getenv.c:34
34  getenv.c: No such file or directory.
(gdb) 
__x86.get_pc_thunk.bx () at ../sysdeps/i386/i686/multiarch/../memcmp.S:80
80  ../sysdeps/i386/i686/multiarch/../memcmp.S: No such file or directory.
(gdb) 
__GI_getenv (name=0xb7fb2f16 "LIBUSB_DEBUG") at getenv.c:35
35  getenv.c: No such file or directory.
(gdb) 
__strlen_ia32 () at ../sysdeps/i386/i686/multiarch/../../i586/strlen.S:43
43  ../sysdeps/i386/i686/multiarch/../../i586/strlen.S: No such file or directory.
(gdb) 
44  in ../sysdeps/i386/i686/multiarch/../../i586/strlen.S

I don't have any idea what should I do.

Installing Huion tablet https://askubuntu.com/questions/780159/installing-huion-tablet

I'm not sure how to install my Huion H610 Pro tablet. It's completely unresponsive when I plug it in. I've found things on using the DIGImend software, but the installation and setup directions are less than clear. I don't understand what I'm doing in the least, and I'm finding no guides that are comprehensible for someone new to Ubuntu.

I use Ubuntu GNOME specifically.

Gnome: Video drivers on Dell XPS 9550 with 4K UHD screen https://askubuntu.com/questions/747443/gnome-video-drivers-on-dell-xps-9550-with-4k-uhd-screen

This laptop has an i7 processor and a discrete Nvidia GTX 960M card. I'm trying to run Gnome Shell. Has anyone got this working really well? And if so, how?

My research/trials on Ubuntu Gnome 16.04, installed in UEFI mode. Note: stock Ubuntu with Unity works fine with/without proprietary drivers.

Intel/Nouveau

The nouveau drivers work for everything (i.e. I get Gnome up with the full resolution, touch works) except HDMI. When I plug in a FHD external monitor (VGA or HDMI), either I get what looks like a proper image on the external screen but with a flashy-mostly-black laptop display, or I get static images on both screens and a complete hang that you have to hard-boot from.

Nvidia 361.28

Both the 'tested' and the 'updates' versions work the same way: they don't.

On booting I get a console screen in UHD that flashes on and off and does not accept keyboard input, most of the time.

Hybrid: Gnome Shell installed on main Ubuntu image/lightdm

Gnome shell runs with both intel and nvidia graphics if it is started by lightdm, however it still kills the system if an external monitor is plugged in.

Bluetooth not working with Atheros AR9462 chip on Utopic / 3.16 kernel https://askubuntu.com/questions/566890/bluetooth-not-working-with-atheros-ar9462-chip-on-utopic-3-16-kernel

Bluetooth not working with Atheros AR9462 chip on Utopic / 3.16 kernel

I need assistance from the community, please. I seem to have stumbled upon a big issue with support for bluetooth on these Atheros chipsets. Unfortunately I have only a light grasp of what I am doing when I start working with kernel modules.

I purchased a Acer V3 Nitro laptop (VN7-791G-77HR) in December and installed Utopic Unicorn 14.10 x86_64. Laptop uses a Atheros AR9462 wifi/bt combo chipset.

Bluetooth is not working properly. I cannot detect any devices in pairing mode. Everything else is working fine including wifi. BT works fine in Windows 8.1 on this machine.

Gnome-bluetooth applet opens and seems to indicate the bluetooth is enabled. When I add a device it just searches for 30 seconds and then closes with no device ever found.

Here is output from hcitool and rfkill.

tkitz@LUAN:~$ hcitool dev
 Devices:
    hci0    38:B1:DB:76:F0:B8
tkitz@LUAN:~$ rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no

2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
tkitz@LUAN:~$ 

I installed dkms module and copied some '.dfu' files as listed in this linux-firmware Bug # 1394368

Here is the output of dkms status showing the ar9462/1.5.1 module installed.

tkitz@LUAN:~$ sudo dkms status
[sudo] password for tkitz: 
ar9462, 1.5.1, 3.16.0-24-generic, x86_64: built
ar9462, 1.5.1, 3.16.0-28-generic, x86_64: installed

I am pretty much stuck at this point. Any help would be appreciated. If nothing else, I am sure I will learn a bit more about dkms and modprobe. :-)

Here is the output of lsusb. This is a PCI device so I am not sure what this tells us. (trying to understand the fundamentals)

Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 04f2:b469 Chicony Electronics Co., Ltd 
Bus 003 Device 003: ID 06cb:2970 Synaptics, Inc. 
Bus 003 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 005: ID 0489:e076 Foxconn / Hon Hai 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here is the relevant output of lshw.

       *-network
            description: Wireless interface
            product: AR9462 Wireless Network Adapter
            vendor: Qualcomm Atheros
            physical id: 0
            bus info: pci@0000:07:00.0
            logical name: wlan0
            version: 01
            serial: 38:b1:db:76:f0:b7
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
            configuration: broadcast=yes driver=ath9k driverversion=3.16.0-28-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
            resources: irq:18 memory:d1500000-d157ffff memory:d1580000-d158ffff

Here is the output of hciconfig --all:

tkitz@LUAN:~$ sudo hciconfig --all
hci0:   Type: BR/EDR  Bus: USB
   BD Address: 38:B1:DB:76:F0:B8  ACL MTU: 1022:8  SCO MTU: 183:5
   UP RUNNING PSCAN 
   RX bytes:26817 acl:0 sco:0 events:4800 errors:0
   TX bytes:32459 acl:0 sco:0 commands:4009 errors:0
   Features: 0xff 0xfe 0x0d 0xfe 0xd8 0x7f 0x7b 0x87
   Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
   Link policy: RSWITCH HOLD SNIFF 
   Link mode: SLAVE ACCEPT 
   Name: 'LUAN'
   Class: 0x7c0100
   Service Classes: Rendering, Capturing, Object Transfer, Audio, Telephony
   Device Class: Computer, Uncategorized
   HCI Version: 4.0 (0x6)  Revision: 0x1102
   LMP Version: 4.0 (0x6)  Subversion: 0x1
   Manufacturer: Atheros Communications, Inc. (69)
Mounting devices fails, left at initramfs on boot https://askubuntu.com/questions/563048/mounting-devices-fails-left-at-initramfs-on-boot

My pc crashed and it gets a weird text when i try to start up my pc and the text keeps there and My pc doesn't start anymore:

mount: mounting /dev/disc/by-uud/08782e-c42e-b26f-dd0b51c13446 on /root
failed: Invalid argument 
mount: mounting /dev on /root/dev failed: no such file or directory 
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /proc on /root/proc failed: no such file or directory 
target filesystem doesn't have requested /sbin/init.
no init found. Try passing init= bootrag.

BusyBox v1.21.1 (ubuntu 1:1.21.0-ubuntu1) built-in shell  (ash)
Enter 'help' for a list of built-in commands.

(Initframs)

Can someone help me with this?

Ubuntu 12.04 via xrdp keyboard layout cannot change https://askubuntu.com/questions/391234/ubuntu-12-04-via-xrdp-keyboard-layout-cannot-change

I have a virtually hosted ubuntu server 12.04 on which I installed Unity desktop. It all works fine except the only keyboard option I have is "US". This could be due to the fact that ubuntu server was installed with US keyboard (by the virtual machine provider).

I want the keyboard layout to be Canadian-French. I cannot change the keyboard layout from the GUI/Desktop see pic.

I have the feeling I need to install new layouts, perhaps using apt-get something! (noob)

SO the questions could be how to add new layouts? (I have root btw)

enter image description here

Error installing repo command. Ubuntu 12.04 LTS https://askubuntu.com/questions/390834/error-installing-repo-command-ubuntu-12-04-lts

I'm trying to install the repo command so I can compile CyanogenMod for my phone but whenever i enter the command:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

I get an error saying:

bash: /home/r0b458/bin/repo: Permission denied

Can anybody help me out here?