Ubuntu HowTo: UWF how to and not working

Original Source Link

How do I use UFW for firewall and how can I see if it is working, I don’t think it is, I tried to block my computer from accessing my website using ufw and it still allowed me to access it. I am using Ubuntu Server 20.04 LTS,

 sudo ufw status

 sudo ufw default DENY

 sudo ufw enable

Then sudo reboot. The easiest way is to install ufw and check back often.

Tagged : / / / /

Ubuntu HowTo: Microphone doesn’t work in Ubuntu 18.04 LTS fresh install

Original Source Link

I have lenovo ideapad 330s with ubuntu 18.04 LTS . The microphone is not working . I have checked by overriding the pin 0x13 . The speaker is fine but during a skpe or facebook call . the other person is not able to hear me.

Tagged : / / / /

Ubuntu HowTo: I can’t use Blender, Kdenlive and Shotcut in 20.04 LTS

Original Source Link

I bought a new laptop (Dell 3493) and moved my installation disk from my old one. I had in it the 18.04 LTS and after some troubles I decided to update to 20.04 LTS. I got everything to work except those 3 programs, which never start.
This is what I got with Shotcut:

No appenders associated with category qt.network.ssl
[Warning] <> QSslSocket: cannot call unresolved function SSLv23_client_method
No appenders associated with category qt.network.ssl
[Warning] <> QSslSocket: cannot call unresolved function SSL_library_init
Segmentation fault (core dumped)

This is what Kdenlive shows:

MLT ERROR:
“[consumer sdl2_audio ] Failed to initialize SDL: Could not setup connection to PulseAudio”

org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification
Segmentation fault (core dumped)

And this is what I got from Blender:

Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

About Kdenlive, when I use the snap version on the official ppa got as well a Segmentation fault (core dumped). I couldn’t find proper answers in the web (by the way, I’ve tried to reinstall an reboot a couple of times those apps).

The problem seems not limited to three programs mentioned in the question. According to this answer it is a bug in mesa drivers.
Adding following line to .profile seems let the programs start (I can confirm it for Blender and Kdenlive)

MESA_LOADER_DRIVER_OVERRIDE=i965

However it is not a proper fix and we have to wait for the problem to be solved in drivers.

For kdenlive had the same problem. I resolved it using the appimage from the official web site. Maybe you can do the same with blender and shortcut…

  • remove kdenlive
  • download appimage from the official website: wget https://files.kde.org/kdenlive/release/kdenlive-20.04.1b-x86_64.appimage -O ~/Downloads
  • install appimage library: sudo apt install libappimage0
  • add execution bit to the .appimage file: chmod +x ~/Downloads/kdenlive-20.04.1b-x86_64.appimage
  • execute the file ~/Downloads/kdenlive-20.04.1b-x86_64.appimage
Tagged : / /

Ubuntu HowTo: Problem with connection to ubuntu from putty

Original Source Link

i have a problem to connect my ubuntu server(installed on Dell Wyse). I installed 18.04.4 LTS with SSH and then i try to connect using putty from my PC. Connection timeout…

In putty program i typed right ip address(from ifconfig).

SSH server is running too.

What can i check now?

Tagged : / /

Ubuntu HowTo: Multiple VLC icons in Lubuntu 18.04 System Tray

Original Source Link

I run VLC 3.0.8. Vetinari on Lubuntu 18.04 LTS.

As soon as I open VLC, five VLC icons appear on System Tray.

enter image description here

I have tried several times a suggested solution

VLC/Tools/Preferences/Interface/”Allow only one instance” with and without
combining it with the “Enqueue with…” option next to it, but to no avail.

The VLC player works with no problems so it is just a question of being distracted/annoyed by these icons.

Any ideas on how to resolve this?

Tagged : / / /

Ubuntu HowTo: Wi-Fi on Ubuntu 20.04 is very slow

Original Source Link

I am using Ubuntu 20.04 dual boot with windows 10 on Dell Inspiron 13 7000 2-in-1 laptop.

Wi-Fi speeds in Ubuntu are very slow, whereas in Windows they are good. I checked the Wi-Fi signal. It is strong.

00:14.3 Network controller: Intel Corporation Wireless-AC 9462
        Subsystem: Intel Corporation Wireless-AC 9462
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at 602311c000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [c8] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [40] Express (v2) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0
                        ExtTag- RBE- FLReset+
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+ FLReset-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
                DevCap2: Completion Timeout: Range B, TimeoutDis+, NROPrPrP-, LTR+
                         10BitTagComp-, 10BitTagReq-, OBFF Via WAKE#, ExtFmt-, EETLPPrefix-
                         EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                         FRS-
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 16ms to 55ms, TimeoutDis-, LTR+, OBFF Disabled
                         AtomicOpsCtl: ReqEn-
        Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
                Vector table: BAR=0 offset=00002000
                PBA: BAR=0 offset=00003000
        Capabilities: [100 v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [164 v1] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Adding dmesg o/p:

$sudo dmesg | grep -i iwl
[sudo] password for ayalar: 
[    2.414470] Loading modules backported from iwlwifi
[    2.414470] iwlwifi-stack-public:master:8324:9176b151
[    2.474032] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    2.479041] iwlwifi 0000:00:14.3: Direct firmware load for iwl-dbg-cfg.ini failed with error -2
[    2.479328] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-55.ucode failed with error -2
[    2.479458] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-54.ucode failed with error -2
[    2.479476] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-53.ucode failed with error -2
[    2.479495] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-52.ucode failed with error -2
[    2.479510] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-51.ucode failed with error -2
[    2.479635] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-50.ucode failed with error -2
[    2.479650] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-49.ucode failed with error -2
[    2.481494] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 43.2.23.17
[    2.481695] iwlwifi 0000:00:14.3: loaded firmware version 48.4fa0041f.0 QuZ-a0-jf-b0-48.ucode op_mode iwlmvm
[    2.481716] iwlwifi 0000:00:14.3: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[    2.551506] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560, REV=0x354
[    2.704999] iwlwifi 0000:00:14.3: base HW address: 5c:80:b6:a8:67:9a
[    2.937081] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0

Kernel:

$ uname -r
5.4.0-33-generic

Please try:

sudo apt purge backport-iwlwifi-dkms

Reboot and let us see a new:

dmesg | grep iwl

Please try to boot using kernel version:

5.4.0-31-generic

I was having the same problem here and that solved it for me.

I had similar behaviour on my Lenovo L13 Yoga. Same Network controller, same kernel.

 $ lspci | grep Network
 00:14.3 Network controller: Intel Corporation Wireless-AC 9462

 $ uname -r
 5.4.0-33-generic

I found a temporary fix: I downloaded the firmware directly from Intel: https://www.intel.de/content/www/de/de/support/articles/000005511/network-and-i-o/wireless-networking.html put it in /lib/firmware .

At each reboot I have to restart the wireless:

 sudo modprobe -r iwlwifi
 sudo modprobe iwlwifi

but after doing that wi-fi is working properly.

Tagged : / / /

Ubuntu HowTo: No boot option after installing Ubuntu 12.04 LTS on Acer Aspire 4736z with Live CD

Original Source Link

I am facing a problem. After installing Ubuntu 12.04 LTS using Live CD, at the reboot there is no boot option to choose the OS. I directly get logged into my Windows 7.

Before that i was having an issue with the ‘nomodeset‘ if not mistaken .After ticking [x] on the nomodeset, i can install my Ubuntu, but got stucked again at choosing the partition option.

So i did 2 partitions for Ubuntu, 1 partition as ext3 for / and the other 1 for swap. Which enabled to proceed until the finished installation dialogue, and after that system wants to reboot .It takes some time and gets stuck at the screen doing nothing, doesn’t reboot at all.

I did forced shutdown then rebooted again which directly logs me in windows 7 without boot option. In win7 the partitions for Ubuntu is gone.

I tried the boot-repair thing and it doesn’t help .It just shows up the _ Blank Cursor (terminal thing i guess). I typed boot repair but still the same result.

I am using Acer Aspire 4736z.

Please somebody help me with this issue.

while you come to partition screen go to last choice something else and next screen you have to make two partitions / and swap.while making / partition select ext4 file system ,format partition and install.down u have boot loader partition selection .Put it to first partition sda1.when re booting you get grub menu .

Try following this tutorial and let me know if that works or not.

Tagged : / / /

Ubuntu HowTo: Ubuntu 20.04 LTS Screen Refresh / Flickering Issue

Original Source Link

Recently upgraded from Ubuntu 19 to 20.04, since doing so I keep running into an issue that I struggle to describe so here goes…

Initially, right after login, the screen will re-size / flicker – it is most noticeable with Plank which moves around on the screen.

Screen flicker
Plank duplication
Fade out

What will happen as time goes by is I will be in an application and the screen will reload, best way to describe it is an application is minimized and then is maximized and then is minimized and so on.

At this point the system is basically unusable because I can’t stay in a single app for long enough to do anything.

This is on a Lenovo T440s laptop. I don’t seem to have any additional display drivers to install but could it be a driver issue?

I did see a post that read similar to my issue:

Ubuntu 20.04 LTS Screen Flickering Lenovo Yoga S740 Geforce MX250

But it happens on power and battery, I’ve removed TLP

After nomode grub edit

If I can provide additional details please let me know.

Any ideas?

Thanks,
Andrew.

**** Determine the actual problem – the re-installation of gnome seemed the solution but the only reason it worked was because it disabled everything I had running. Turns out that the root cause was due to the Gnome extensions, specifically the Wifi signal strength monitor which was set to refresh every 10 seconds and coincided with the screen refreshing. Once disabled my issue went away.**

OK I think I solved my issue… I’m still not sure exactly what caused it but a fix is a fix.

What I noticed was if I switched between gnome and budgie the issue didn’t not happen in budgie. That lead me to believe something was corrupt / clashing / broken in gnome so based on the following thread:

How to remove and reinstall GNOME 3?

I followed: https://askubuntu.com/a/1034227/1084966 and once the reinstall had completed my system has gone back to working exactly as expected.

Thank you to the community for all the knowledge and information.

Tagged : / / / /

Ubuntu HowTo: Does the LTS hardware-enablement stack (HWE) contain all regular kernel updates?

Original Source Link

The official sources explain the HWE-kernel just as backporting support for newer hardware devices to older LTS releases.

But do the HWE-kernels only contain driver/module updates or also all other regular kernel updates for that specific minor version as well (e.g. native filesystem feature-updates, cryptographic updates, etc.)?

HWE Kernels are not actually backporting features onto an older kernel.

Instead, HWE Kernels push LTS users onto newer kernels that are already in-use by a 6-month release of Ubuntu.

For example:

  • Ubuntu 18.04 without HWE: Kernel 4.15.0
  • Ubuntu 19.10: Kernel 5.3.0
  • Ubuntu 18.04.4 with HWE: Kernel 5.3.0 (same as Ubuntu 19.10)
  • Ubuntu 20.04: Kernel 5.4.0
  • Ubuntu 18.04.5 with HWE (available July 2020): Kernel 5.4.0 (same as Ubuntu 20.04)

Only the most recent LTS Release gets HWE:

  • Ubuntu 18.04.5 (July 2020) will be the final HWE upgrade for 18.04. 18.04.5 will remain on 5.4.0 for the remainder of it’s life. There won’t be an 18.04.6.
  • 20.04 LTS (Kernel 5.4.0) will begin the HWE cycle with 20.04.2 in January 2021, using the 20.10 kernel. The final HWE release will be 20.04.5 in July 2022.
  • Since each LTS is on a two-year cycle, it’s easy to keep track of which LTS is getting HWE, and when it will be retired in favor of the next LTS.

HWE upgrade occurs in January/July, approximately three months after the Interim Releases in April/October. You can easily identify the new HWE kernel by simply looking at the most recent Interim Release kernel.

Assuming I understood your question, yes. The HWE kernels will include features from newer kernels in regards to device support, filesystem changes/fixes, performance improvements, and more. That being said, you’ll likely not be seeing things from a 5.8 kernel if the HWE kernel is 5.6. However, as time goes on and newer kernel series are brought into your Ubuntu release, such as 5.4 to 5.5, you will be receiving all of the new benefits of the 5.5 kernel, yes. This generally means improved compatibility and support for newer hardware, and potentially improved performance overall.

BTW, when it comes to security updates, these things are typically patched regardless of whether it’s an HWE kernel or not (assuming it’s a current release that’s in-support, and not an out-of-support kernel or one that isn’t in-line with your release, such as kernels installed from the mainline repos.)

Tagged : / / /