Upgrade to latest Ubuntu Now have an "Notice" of Ignoring a file
https://askubuntu.com/questions/1560058/upgrade-to-latest-ubuntu-now-have-an-notice-of-ignoring-a-fileHow do I resolve this issue: Notice: Ignoring file 'mono-official-stable.list.migrate' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Happens whenever I use the Terminal .. Thanks
How to install source clone/mirror OBS plugin on ubunutu?
https://askubuntu.com/questions/1560057/how-to-install-source-clone-mirror-obs-plugin-on-ubunutuI want to to install an obs plugin in ubuntu from this source but while installing the deb package in terminal I see this error:
Preparing to unpack source-clone-0.2.0-x86_64-linux-gnu.deb ...
Unpacking source-clone (0.2.0) over (0.2.0) ...
dpkg: dependency problems prevent configuration of source-clone:
source-clone depends on obs-studio; however:
Package obs-studio is not installed.
dpkg: error processing package source-clone (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
source-clone
what can I do?
Unable to view files on SSD from mini PC
https://askubuntu.com/questions/1560056/unable-to-view-files-on-ssd-from-mini-pcHi a windows mini PC I purchased died after 2 months. Will not boot at all so want to send it back. I would like to access some files on it and I purchased a dock and Ubuntu sees it as windows but cannot mount it apparently. There is an option to format it which will solve the sending back as last resort but would like to try and rescue a couple of files before doing that. Ubuntu 24.04.1 LTS
Desktop Ubuntu 24.04 to OMV server
https://askubuntu.com/questions/1560055/desktop-ubuntu-24-04-to-omv-serverI have a Lenovo thinkpad with Ubuntu 24.04 and want to have a connection with my open media vault server. I have the IP address and installed samba. A folder with the name of my server comes up but my password doesn’t work and it works with other devices ( windows7 computer and Mac. iPhone 15) so I’m doing something wrong with the codes.
How to unpack/pack 22.04.2 server initrid in order to inject r8125 driver in iPXE
https://askubuntu.com/questions/1560048/how-to-unpack-pack-22-04-2-server-initrid-in-order-to-inject-r8125-driver-in-ipxinitrd is from the folder 'casper' in ubuntu-24.04.2-live-server-amd64.iso image file. Then I do these:
mkdir expand
unmkinitramfs initrd expand/
cd early
find . -print0 | cpio --null --create --format=newc > ../myinitrd
cd ../early2
find kernel -print0 | cpio --null --create --format=newc >> ../myinitrd
cd ../main
find . | cpio --create --format=newc | xz --format=lzma >> ../myinitrd
(here, I also tried find . | cpio -o -H newc | xz --format=lzma >> ../myini`t`rd)
Then, turn to iXPE script.The only modification is to load myinitrd instead of initrd: initrd http://${pxeserver}/os/linux/ubuntu/24.04.2/server/amd64/casper/myinitrd
However I got ERROR. I'm not sure whether unpack and pack way is correct in Ubuntu Server 24.04.2.
No network after apt upgrade on Ubuntu 24.04.3
https://askubuntu.com/questions/1560044/no-network-after-apt-upgrade-on-ubuntu-24-04-3Immediately after I ran an apt update / upgrade and rebooted my system, and my network went down. I am using a desktop (not server), a cable eth (not wifi).
I cannot however access Internet, my eth0 connection is down. Unfortunately I do not have ifconfig already installed. I can ping 8.8.8.8.
Any help as how to re-activate network would be much appreciated.
Force Evince Document Viewer to open maximized
https://askubuntu.com/questions/1560041/force-evince-document-viewer-to-open-maximizedUsing Evince Document Viewer 46.3.1 as my default PDF app on Ubuntu 24.04 with Wayland.
It opens PDFs in a small window by default. I want to change that behavior, so a new document is always opened maximized. I prefer a solution that doesn't require me to install additional Gnome extensions.
I have found an old post about doing the opposite: How can I stop Document Viewer from always opening full-screen?. But these options are missing in my version.
How do I prevent Backups/Deja Dup from freezing during backups?
https://askubuntu.com/questions/1560032/how-do-i-prevent-backups-deja-dup-from-freezing-during-backupsSummary of Issue
The default Ubuntu Backups program freezes part of the way through the process of making a backup, every time. I am unable to successfully make a backup.
Steps to Reproduce
Plug in and power on the external USB drive (externally powered) that I use for backup storage
Open the "Backups" utility from my Ubuntu apps drawer
Backups notifies me that it has been a long time (around 150 days) since my last successful backup, and says it is starting a new backup to protect against file corruption
I enter the established password for this backup
The backup begins
Hours pass
Expected Behavior
The backup concludes successfully and I can continue using my computer.
Encountered Behavior
My entire computer freezes. Mouse and keyboard input are unusable, forcing me to do a hard reboot with the switch on the computer. Upon reboot, if I open the Backups program, it returns me to Step 3 above. A successful backup was not created.
Other Troubleshooting Steps and Notes
I have tried this at least 4 times in the last week, each time with the same results.
I have closed all windowed applications and stepped away from the computer while the backup was running. The computer still froze and the backup failed.
In the Power settings, I have set the Screen Blank option to "Never", and Automatic Suspend is off. The Power Mode is set to "Balanced".
System Information
OS: Ubuntu 24.04.3 LTS
Computer type: Desktop
Troubleshooting Log: Pasted here to keep this comment readable
All help would be appreciated, as I'd really like to have a current backup again.
Thank you.
How should I set up a static network alongside my wifi internet connection
https://askubuntu.com/questions/1560010/how-should-i-set-up-a-static-network-alongside-my-wifi-internet-connectionI think this should be easy but I am failing to do it and finding much contradictory information around the internet and much that goes back before various aspects of networking were changed. I last did this probably 20 years ago when I remember it being easy but so much has changed that I am going to ask here. Point me elsewhere if this is the wrong place.
I have two laptops: Tux and Juno (may convey their origins!), Tux is my main one and Juno is "fallback". Both are running Kubuntu 25.10 with everything updated daily. Both can use the various wifi networks I use as I move around. I use Tux as a qemu/virtual manager host running another Kubuntu 25.10 guest inside it. (So when things go pear shaped I can just use the backup copy of the guest and not have to reinstall and reconfigure everything.) That's a new set up as of a month or so. What I want is for the two actual machines to be networked through wired ethernet (through a portable "Ubiquiti USW-FLEX-MINI UniFi USW Flex Mini Managed Switch"). With the ethernet wires plugged in I see the status bar connection icon in the guest and it says it's connected and shows tiny amounts of traffic. I don't see icon on host, not sure if that matters or is a function of the host passing it on. Oddly, and worryingly to me, I don't see the icon on the Juno fallback machine.
I had thought I could just set up fixed IPv4 addresses for the ethernet interfaces on both physical machines using private address space not being used by my wifi and, with the right netmask and same network and broadcast addresses, and perhaps having to declare a route I would have an wired network between the machines.
But so much has changed with everything managed by NetworkManager in System Settings now that I'm not passing go.
I had assumed that I might have to do a bit more in the guest/host configuration to enable the guest to see the fallback machine though that's not absolutely vital for me as this is mainly for overnight backups from the guest to the fallback machine done when the guest is down.
I can happily supply more information of course and, cautiously, tweak things, but ...
first edit starts here, replying to comment from vidarlo
Not sure why I lost "but I am worried about messing up a working host/guest machine." OK. Many thanks for helping vidarlo.
"What doesn't work when you simply configure static IP's?"
Sadly, I am not confident of how to do that! That's not helped by not seeing the wired connection icon on the task manager on Juno, the fallback machine and being worried about wrecking things for the Host/Guest pass through on the Tux machine. If you are confident of some instructions that work for [K]ubuntu 25.10 do please point me to them and I will try to follow them.
"What is your configuration like? Please provide output of ip a, ip route when you have it configured statically, ..." I am guessing there is no point in me giving those until I pass go.
"... and tell us what doesn't work." What doesn't work at step #1 for me as far as I am concerned is that the wired connection icon doesn't come up on the Juno machine yet it does on the guest on the other machine. That's not a cable issue as I have swapped the cables over and the situation stays the same. In case it helps ip a on Juno gives:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp44s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether d4:93:90:2b:90:9d brd ff:ff:ff:ff:ff:ff
altname enxd493902b909d
3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether c4:3d:1a:d9:6e:71 brd ff:ff:ff:ff:ff:ff
altname wlxc43d1ad96e71
inet 192.168.1.13/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp0s20f3
valid_lft 86105sec preferred_lft 86105sec
inet6 fe80::e6c0:f94b:ec84:7f5b/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:b5:0f:ac brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
and ip route gives
default via 192.168.1.1 dev wlp0s20f3 proto dhcp src 192.168.1.13 metric 600
192.168.1.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.1.13 metric 600
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
Very happy to do anything more on the fallback machine and get any diagnostics on the host machine. Many thanks, Chris
edits to address comment from raj
"Could you please clarify, because it's not very clear from what you wrote: what setup exactly do you want to have (involving both hosts and guest), and what is the current state." Sorry, hard to know how much to say. I want both machines to continue to access whatever wifi network I am using (I travel). The guest currently sees that through the default pass through from the host on Tux.
What I want to add to that is a static route across wired ethernet through that switch between the two physical machines. I will use that mainly to do nightly backups from the Tux host with the guest shut down that would run, like my current ones backing up to external USB drives on Tux, from cron jobs. I assume that the static wired route will automatically take precedence over the wifi connection so ensuring that the backup doesn't waste wifi/internet bandwidth.
If possible, it would be nice also to "see" the fallback machine (Juno) from the running guest on Tux through ssh and, ideally VNC or similar, so that I can control Juno from the guest without having to change my seat and keyboard.
I only have the two machines at present but some time in 2026 I will have a more stable base and will wire in powerful desktop on the static network. That machine will have a host/guest configuration matching the current on on Tux.
The current state is that both machines currently access wifi fine still, including the guest on Tux but I gave up even starting to configure the static IP addresses for the ethernet adaptors or any route as I found so much on the internet that was either contradictory of other things, or too technical for me, or obviously way out of date.
"When you click on the Network Manager icon in the status bar, what connections do you see and how are they configured (use "Modify Connections" option to investigate)?" I don't see any such icon on Juno. In the guest on Tux I do but there is no "Modify Connections" it does show "Wired connection 1" with IP address 192.168.1.223 device name enp1s0 and gateway and nameserver both as 192.168.1.1 connection speed 0Bits/sec and MAC 52:54:00:4C:D6:F3. I assume that's a masqueraded wired address provided by the host, the MAC address fits with "vnet3" in the output of ip a on the host (below).
If I go to System Settings and "Wi-Fi & Networking" in the host I see various wi-fi connections including the one I am using now in infrastruccture mode with IPv4 just staying "Automatic" but ip a gives:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether bc:38:98:d8:df:33 brd ff:ff:ff:ff:ff:ff
altname wlxbc3898d8df33
inet 192.168.1.3/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp3s0
valid_lft 47009sec preferred_lft 47009sec
inet6 fe80::3aa3:34ea:9726:4d4a/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 52:54:00:a3:63:55 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
7: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master virbr0 state UNKNOWN group default qlen 1000
link/ether fe:54:00:4c:d6:f3 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc54:ff:fe4c:d6f3/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
and ip route gives
default via 192.168.1.1 dev wlp3s0 proto dhcp src 192.168.1.3 metric 600
192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.3 metric 600
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
"And how is the networking for guest configured in virt-manager?"
<interface type="network">
<mac address="52:54:00:4c:d6:f3"/>
<source network="default" portid="2dcb5860-a23c-4a2f-9491-0f99e905b360" bridge="virbr0"/>
<target dev="vnet3"/>
<model type="virtio"/>
<alias name="net0"/>
<address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>
That seems to fit the guest and host information.
I think all this is saying that the host/guest passthrough is set up conventionally and is working and that the wifi/internet connection is using the local private IP name space of 192.168.122.* so I was guessing that if I used any other private name space, ideally one that few ISPs use, a static wired network between the machines wouldn't collide with the wifi/internet connection. (Though I suspect that I would have to add something to the host configuration to add the wired connection to pass through separately from the wifi one?)
Am I understanding things correctly so far? Is this clarifying for yourselves? Any instructions now how I might set up a static wired route between the two machines at least for the host and not clashing with the host providing the passthrough to the guest?
Thanks again both, Chris
Edit replying to user68186
"Does the "mini managed switch" run a DHCP server? Is the switch connected to the WiFi router by Ethernet cable? Does the switch provide IP addresses? Are those IP addresses in the same range as the WiFi router?"
Web page is: https://uk.store.ui.com/uk/en/products/usw-flex-mini. I believe no DHCP. That's deliberate as I didn't want two DHCP servers in the mix. I know you can configure some switches and routers to protect IP name ranges from each other but as I move around a fair bit at the moment I wanted to go for simple static routing. and no, it's not connected to the wi-fi/internet router which may sometimes be not mine and currently none of them are in wired connecting distance of the computers. That means I have to choose the IP range manually to avoid the collisions.
edit replying to user68186
"Thanks! Can you change the "Wired Connection 1" in Tux so that it is "Shared with another computer?" Then it will assign an IP address from a different range (different from your WiFi). It will also dynamically assign an IP address to Juno. Try this and let me know. You can also try this by directly connecting Tux and Juno using a single Ethernet cable totally bypassing the switch. See this answer for a similar question." So in System Settings > Wi-Fi & Networking on Tux I created using the nearest option to that that I could see so "+" "Wired Ethernet (shared)" and then "+ Create" and that gave me a new connection named "New 802-3-ethernet connection" and in the "IPv4" tab the Method is "Shared to other computers" and it works. Has allocated 192.168.1.3 to Tux and 192.168.1.13 to Juno and certainly I can ping between the two in either direction. Brilliant, thanks! That is brilliant and embarrassingly simple.
Re single wire: yes, I do know that's now possible, no more crossover wires! But I wanted my solution to allow for more than two machines.
One, I hope final, question: I guess those addresses are dynamic. Is there a way I can fix them. I suppose that would fail if I were using another wifi/internet router which used in the 192.168.1.* address space. However, I guess I can use ip route every time I move and see what IP addresses have been allocated and tweak my backup scripts to that. Now to set up scp and the necesary scripts!
Thanks user68186 and all.
Unable to start X server after uninstalling i3 git version
https://askubuntu.com/questions/1559988/unable-to-start-x-server-after-uninstalling-i3-git-versionI recently tried to manually compile and install i3 with the ninja -C build install command, but after trying to run with gdm it crashed.
After that I uninstalled it with ninja -C build uninstall and now I cannot run any X11 desktop, not even GNOME, which I haven't touched.
I have tried to reconfigure the xserver-xorg package with dpkg, but it still doesn't work.
When I run startx from tty3, I get the following error:
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
Here you have the Xorg log: https://pastebin.com/jQsQf7wR
Security update -- Do I REALLY need to reinstall all my drivers?
https://askubuntu.com/questions/1559987/security-update-do-i-really-need-to-reinstall-all-my-driversToday, my computer would not turn on. I opened her up, took out the RAM, blew on it, and stuck it back in. This caused my computer to turn on, but in the wrong resolution, and with no access to its WIFI adapter.
After some Terminal-fu, I discovered that the driver for the wifi adapter had disappeared. After some more searching, I discovered that the package that manages drivers was absent.
I believe this is due to the recent security update for version 24.04 LTS. The web page indeed says I will need to reinstall all my third party drivers due to the version name change.
Do I REALLY have to do this myself? Can I revert to the previous version for a few days, and then go back to the newest version which will have the relevant drivers installed?
Failing that, is there a good way to search for everything that needs new drivers and installs them all at once?
Update: It seems there has been another update and (as I hopes) the computer has magically fixed itself.
Can't get a video file to play on Firefox browser
https://askubuntu.com/questions/1559934/cant-get-a-video-file-to-play-on-firefox-browserI created a video file with OBS. It's a .mp4 file. I put it on a website to share with a class I am teaching. I try to see the video on my Firefox browser (I am running Ubuntu 22.04 and Firefox 132.0.2 ).
When I click on the link for the video, I get the message "No video with supported format and MIME type found". I have looked through various sites, including askUbuntu and have done what folks in the past have done, apparently successfully (I have installed ffmpeg, although I already had it installed). But, nothing seems to work.
I upgraded my Firefox to 145.0.1. But, the video still doesn't play on it.
Can someone help?
25.10 cannot boot from USB to 'try' Ubuntu [Resolved as hardware issue]
https://askubuntu.com/questions/1559879/25-10-cannot-boot-from-usb-to-try-ubuntu-resolved-as-hardware-issueOn Windows 11 I used Rufus to create a 25.10 USB stick from a verified .iso image (generated a good checksum). I inserted the stick into my former Windows 7 (working) tower, ASRock Z68 Extreme7 Gen3, 16GB RAM, Intel i7 4 cores, 3.5GHz.
I press F11 on boot. I see the USB stick, tell it to boot from the stick, it immediately shows a GNU GRUB v2.14 screen with 3 choices. 3rd choice works... I can test memory (all good). When I select either of the other 2 choices: Try or Install Ubuntu or Ubuntu (safe graphics) it immediately goes to a black screen with a little flashing underline cursor. I have waited at this point multiple times for over 10 minutes, but nothing seems to be going on. Do you have any ideas how to troubleshoot this? Would there be any logs on the USB stick at this point? If yes, where?
I have tried 3 separate USB ports with the same results. My system has dual monitors, the same black screen, little blinking underline cursor on both screens. Should I switch to a single monitor and connect it to the video port provided on the motherboard instead of the two video ports on an add-on card?
P.S. - The iso image name I used is 'ubuntu-25.10-desktop-amd64.iso'. It bothers me that it as 'amd64' in the name even though I am certain I downloaded the image that is for the Intel 64-bit.
With the help from the first answer I was able to see the following error messages just prior to the boot hang:
ahci 0000:08:00.0. AHCI controller unavailable!
ata9: failed to resume link (SControl FFFFFFFF)
ata9: SATA link down (SStatus FFFFFFFF SControl FFFFFFFF)
ata9.00: qc timeout after 30000 msecs (cmd 0xa1)
ahci 000:08:00.0: AHCI controller unavailable!
ata9.00: failed to IDENTIFY (I/O error, err_mask=0x4)
ata9.00: revalidation failed (errno=-5)
ata9.00: disable device
[Resolved] Thank you to everyone who responded. Your replies led me to suspect this was a hardware issue. Specifically the SATA ports on my motherboard. So I disconnected 4 of my SATA cables/devices and tried plugging-in only my one SSD drive. Suddenly my BIOS did not see it. So I tried plugging-in each of my devices one at a time... BIOS did not recognize any of my devices. I was very worried. I figured the motherboard had bit the dust. I was already on the internet seeing if I could get a replacement motherboard that would support my CPU and RAM, etc. I tried one last thing (the thing I should have started with), I used electronics contact cleaner (DeoxIT D100L) on both ends of all my SATA cables and worked it in by attaching and detaching the cables a few times. Now my BIOS sees 3 of my 4 SATA devices!! I think the 4th needs a new SATA cable. With the 3 recognized devices (all plugged into the Intel Z68 chipset SATA ports) I can now successfully boot Ubuntu 25.10 from my USB stick in 'Try' mode. Success!!! Thanks again for the first rate replies on this post. They were very helpful.
The CPU fan on my Acer Aspire Lite 14 laptop is not working properly
https://askubuntu.com/questions/1559279/the-cpu-fan-on-my-acer-aspire-lite-14-laptop-is-not-working-properlyMy specs here:
CPU:
Info: 6-core (2-mt/4-st) model: 12th Gen Intel Core i3-1215U bits: 64
type: MST AMCP cache: L2: 4.5 MiB
Speed (MHz): avg: 484 min/max: 400/4400:3300 cores: 1: 690 2: 400 3: 400
4: 787 5: 400 6: 400 7: 400 8: 400
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
bts clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16 cx8
de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
flush_l1d fma fpu fsgsbase fsrm fxsr gfni hfi ht hwp hwp_act_window
hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt
invpcid lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri
msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pcid pclmulqdq pdcm
pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed
rdtscp rep_good sdbg sep serialize sha_ni smap smep split_lock_detect ss
ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
tsc_adjust tsc_deadline_timer tsc_known_freq umip user_shstk vaes vme vmx
vnmi vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec xsaveopt xsaves
xtopology xtpr
Previously, I used Windows 11, and my fan would sometimes make noise when multitasking, which made me think that the fan was working properly. Strangely, when I was in BIOS, the CPU fan immediately made noise or spun quickly, however when I was on the Zorin desktop there was almost no air coming out of the air vent.
uname -a
Linux alifusers-Aspire-AL14-51M 6.14.0-34-generic #34\~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 23 15:35:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Chronic irregular ubuntu session freeze on POS device - Hard reboot required
https://askubuntu.com/questions/1553496/chronic-irregular-ubuntu-session-freeze-on-pos-device-hard-reboot-requiredWe are facing an Ubuntu session crash on irregular intervals (2-4 times a week) on both our POS devices in an organic shop in Amersfoort. The problem has persisted for over 10 months and withstood multiple fresh installs and Linux versions. Three separate experienced software developers have looked into the issue, trying numerous ways to locate the problem and experiment with different solutions. All without success.
This problem, while it doesn't happen too often, is a major inconvenience for our employees, customers and the shop itself. Due to the time spent looking into it, most of us have come to the conclusion that it might be a hardware issue. This is - however - contradicted by the analysis of the Elo team.
UPDATE: After applying all the changes recommended by both parties - including installing the right drivers, removing snapd etc. we are still experiencing the issue.
Hardware
2x Elo I-Series 3 POS Computers
Memory 8GB Storage 128GB partno E605919
Software
Ubuntu 22.04 LTS
Odoo 16 Comunity Edition, running in Firefox kiosk mode
PyWebdriver for POS device connection
Frequency of the crashes
2-3 times per week, on a system that is used 9-12 hours a day.
Attempts to recreate the crash have been unsuccessful.
Crash Characteristics
● Some errors are thrown by Odoo (they vary, some network, some other)
● Some errors are thrown by the user session (also vary, unable to execute program)
● All errors seem arbitrary and differ from session to session, but eventually the GUI shuts
down and input/output errors are logged to the screen (see images at the end of this
page)
● Then we need to manually shutdown the computer (hold for 10 sec the shutdown button), and turn it back on again.
Current Workaround
Hard rebooting the computer.
(Holding the off button for 10 seconds, or just turn it on again)
Additional information
● The problem occurs on both POS devices in the shop, both being newly bought.
● They never occur at the same time (ruling out a power issue)
● We shutdown both our systems overnight, and they run for around ten hours during the
day.
Past attempts to fix the problem
● The problem seems to be cross platform, and across versions. We switched from Linux
Mint XFCE to Ubuntu 22.04 to try and fix the problem. The attempt was unsuccesfull.
The crash remained on both systems.
● SWAP file is installed, of 2GB, and functional (and remain unused)
● Hard disk is healthy. (As tested on a linux system)
● No inconsistencies in RAM usages found, after intensive monitoring.
● Removed snapd (also removing firefox, chrome, vscode) and Installed firefox through
custom deb package (not using snapd)
● An elastic agent has been installed to try and locate the problem and analyse the log
files. No notable errors have been found.
Error logging
Several errors are logged, tho none seem to point to anything specific. There are (inconsistent)
gnome errors, and user session errors, tho we concluded that they are more likely to be a
symptom of the crash, than a culprit. Furthermore, the display shows logs (right when the crash
occurs) that are not logged anywhere (or have escaped multiple searches by at least four
different people looking into the problem. Never the less, here a list of logs collected.
A snippet of the system log before a crash at 15:27 https://gist.github.com/kai-maurik/d0ccbf457856e44d436c198f35e7b764
Some images before the crash occurs
Picture of unfindable logs
Picture 2 of unfindable logs
Unable to use apt in WSL Ubuntu due to security issues
https://askubuntu.com/questions/1458474/unable-to-use-apt-in-wsl-ubuntu-due-to-security-issuesI'm trying to install make on a WSL instance in my Windows machine. So I tried the following command:
sudo apt install make
After entering my credentials, and pressing enter, I got the following output:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
make-doc
The following NEW packages will be installed:
make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 180 kB of archives.
After this operation, 426 kB of additional disk space will be used.
Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1
Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1
Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1
Err:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1
Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/make-dfsg/make_4.3-4.1build1_amd64.deb Temporary failure resolving 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I am also aware that on my local machine there is a rather strict security system related to fetching certificates. Often while installing Python packages using pip I will have to use things like --trusted-host or other ways to bypass certification or SSL.
I'm not sure whether these two things are related, but running the same apt command with --allow-unauthenticated did not make any difference. Running apt-get update resulted in the following:
Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Err:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Getting error while running sudo commands, from /etc/sudo.conf file
https://askubuntu.com/questions/1301766/getting-error-while-running-sudo-commands-from-etc-sudo-conf-fileI want to run commands in terminal with sudo and get in this error for running sudo commands:
sudo su
sudo: error in /etc/sudo.conf, line 16 while loading plugin "sudoers_audit"
sudo: unable to find symbol "sudoers_audit" in /usr/lib/sudo/sudoers.so
sudo: fatal error, unable to load plugins
when I check /etc/sudo.conf file, it has these plugins :
Plugin sudoers_policy sudoers.so
Plugin sudoers_io sudoers.so
Plugin sudoers_audit sudoers.so
and by checking ldd dependencies for /usr/lib/sudo/sudoers.so all of dependencies are exist.
linux-vdso.so.1 (0x0000007f84e17000)
libgtk3-nocsd.so.0 => /usr/lib/aarch64-linux-gnu/libgtk3-nocsd.so.0 (0x0000007f84d44000)
libaudit.so.1 => /lib/aarch64-linux-gnu/libaudit.so.1 (0x0000007f84d0d000)
libpam.so.0 => /lib/aarch64-linux-gnu/libpam.so.0 (0x0000007f84cf0000)
libsudo_util.so.0 => /usr/lib/sudo/libsudo_util.so.0 (0x0000007f84cce000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f84b75000)
/lib/ld-linux-aarch64.so.1 (0x0000007f84deb000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f84b60000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f84b34000)
libcap-ng.so.0 => /lib/aarch64-linux-gnu/libcap-ng.so.0 (0x0000007f84b1f000)
also, all libaudit.so.1 dependencies are exist:
linux-vdso.so.1 (0x0000007f85188000)
libgtk3-nocsd.so.0 => /usr/lib/aarch64-linux-gnu/libgtk3-nocsd.so.0 (0x0000007f850e0000)
libcap-ng.so.0 => /lib/aarch64-linux-gnu/libcap-ng.so.0 (0x0000007f850cb000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f84f72000)
/lib/ld-linux-aarch64.so.1 (0x0000007f8515c000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f84f5d000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f84f31000)
How could I resolve this problem?
Install linux-tools-generic for non-standard Mainline kernel
https://askubuntu.com/questions/1292562/install-linux-tools-generic-for-non-standard-mainline-kernelI have good experience running non-distro-default Linux kernels on LTS distributions. Better power usage, hardware support and virtualization feautures are part of that.
I use the Ubuntu Kernel MainlineBuilds to get some .deb's and install them.
Now I would like to use tools in linux-tools-generic. However, none of the available packages matches my kernel.
How can I acquire the linux-tools-generic for a non-standard kernel?
$ perf
WARNING: perf not found for kernel 5.9.6-050906
You may need to install the following packages for this specific kernel:
linux-tools-5.9.6-050906-generic
linux-cloud-tools-5.9.6-050906-generic
You may also want to install one of the following packages to keep up to date:
linux-tools-generic
linux-cloud-tools-generic
$ sudo apt-get install linux-tools-5.9.6-050906-generic Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-5.9.6-050906-generic
E: Couldn't find any package by glob 'linux-tools-5.9.6-050906-generic'
E: Couldn't find any package by regex 'linux-tools-5.9.6-050906-generic'
Minecraft 1.8.9 Won't launch even when changed Java version to 8
https://askubuntu.com/questions/1270696/minecraft-1-8-9-wont-launch-even-when-changed-java-version-to-8I recently switched to Ubuntu, and I'm new to Linux. I want to play Minecraft on version 1.8.9 on my Ubuntu machine.
I heard that you need to set your java to version 8, so I did that, and now the result of java -version is:
marzeq@marzeq-Aspire-VX5-591G:~$ java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
as expected.
Also just for good measures I set the Java executable path in the Launcher to /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java.
But the game still crashes with the exit code 0.
The weirder thing is that the vanilla version won't even give a log, so I need to use the Forge Mod Loader to even see the log.
The log is so small that I can upload it here:
[10:01:32] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[10:01:32] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[10:01:32] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[10:01:32] [main/INFO]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading
[10:01:32] [main/INFO]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_265, running on Linux:amd64:5.4.0-42-generic, installed at /usr/lib/jvm/java-8-openjdk-amd64/jre
[10:01:32] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:01:32] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[10:01:32] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:01:32] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:01:32] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:01:34] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[10:01:34] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[10:01:34] [main/INFO]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:01:34] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[10:01:34] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[10:01:34] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[10:01:34] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[10:01:34] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_265]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_265]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807) ~[?:1.8.0_265]
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886) ~[?:1.8.0_265]
at org.lwjgl.LinuxSysImplementation.<clinit>(LinuxSysImplementation.java:50) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
at org.lwjgl.Sys.createImplementation(Sys.java:131) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
at org.lwjgl.Sys.<clinit>(Sys.java:116) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
at net.minecraft.client.Minecraft.func_71386_F(Minecraft.java:2756) ~[ave.class:?]
at net.minecraft.client.main.Main.main(SourceFile:41) ~[Main.class:?]
... 6 more
[10:01:34] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[10:01:34] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:30)
[10:01:34] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[10:01:34] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.lang.Runtime.exit(Runtime.java:107)
[10:01:34] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.lang.System.exit(System.java:973)
[10:01:34] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[10:01:34] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Does anybody have any clue what's happening? I'll greatly appreciate the help!
Couldn't find any package by glob 'Python-3.7.0'
https://askubuntu.com/questions/1176270/couldnt-find-any-package-by-glob-python-3-7-0I got a E: Couldn't find any package by glob 'Python-3.7.0' error message when trying to install Python 3.7 in Ubuntu 16.04
ns3@ns3-virtual-machine:~$ sudo apt install Python-3.7.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package Python-3.7.0
E: Couldn't find any package by glob 'Python-3.7.0'
E: Couldn't find any package by regex 'Python-3.7.0'
ns3@ns3-virtual-machine:~$ sudo apt install Python-3.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package Python-3.7
E: Couldn't find any package by glob 'Python-3.7'
E: Couldn't find any package by regex 'Python-3.7'
ns3@ns3-virtual-machine:~$ sudo apt install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.5.1-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ns3@ns3-virtual-machine:~$ python --version
Python 2.7.12
ns3@ns3-virtual-machine:~$ apt policy python-3.7
N: Unable to locate package python-3.7
N: Couldn't find any package by glob 'python-3.7'
N: Couldn't find any package by regex 'python-3.7
ns3@ns3-virtual-machine:~$
Is there a screen recorder for GNOME with Wayland?
https://askubuntu.com/questions/1097784/is-there-a-screen-recorder-for-gnome-with-waylandI am using Ubuntu 18.04.01 LTS. I have spent a lot of time searching for Screen Recorders for the Ubuntu GNOME Wayland.
I have tried several Screen Recorders such as Simple Screen Recorder and Vokoscreen, but the result is only a blank screen with the cursor.
Any suggestions for me?
Problem with Ubuntu 18 static routing
https://askubuntu.com/questions/1045959/problem-with-ubuntu-18-static-routingI'm migrating old ubuntu install to 18 version, but it seems to have some static routing issues when using different networks.
First, I tried using NetPlan. I configured TWO NICS with different networks on each one, but, I dont know if this is a kernel issue (maybe missing some module) or if its a ubuntu 18 problem (doubt that).
The sympton is that only default route is working. I can add multiple NICs with different networks and static routes and gateways, but only the default route will work.
Here is my NetPlan config file:
network:
version: 2
renderer: networkd
ethernets:
ens32:
addresses:
- 177.185.x.66/29
- 177.185.x.67/29
- 177.185.x.68/29
- 177.185.x.69/29
- 177.185.x.70/29
gateway4: 177.185.x.65
nameservers:
addresses:
- 8.8.8.8
search:
- mydomain.net
routes:
- to: 0.0.0.0/0
via: 177.185.x.65
optional: true
ens34:
addresses:
- 168.96.x.2/24
routes:
- to: 168.96.x.0/24
via: 168.96.x.1
The NetPlan works almost fine: no issue when applying new config. Routing table looks normal:
default via 177.185.x.65 dev ens32 proto static
168.96.x.0/24 via 168.96.x.1 dev ens34
168.96.x.0/24 dev ens34 proto kernel scope link src 168.96.x.10
177.185.x.64/29 dev ens32 proto kernel scope link src 177.185.x.66
But I can only ping the 177.185.x.64/29 network. The other one doesn't respond.
When I change the default route to the secondary network (168.96.x.0/24), the other one stops responding.
I first thought that it might be related to IP routing kernel modules, but I couldn't find the same options from older kernels on the 4.15 one.
Any help would be much appreciated.
Thanks in advance.
BR, Rafael
sudo: 3 incorrect password attempts
https://askubuntu.com/questions/1025427/sudo-3-incorrect-password-attemptsCan anyone suggest how I can avoid this situation? It never asks for password but still complains the password is wrong.
sudo su -
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts
sudoers file entry :
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
%domain\\my_engineering ALL=(ALL:ALL) ALL
Thank you.
problem with starting rpcbind
https://askubuntu.com/questions/987390/problem-with-starting-rpcbindI am facing a problem with rpcbind. the service is not starting after the reboot even after enabling the service.
I get the following output when i run systemctl status rpcbind just after reboot.
root@ubuntu:~# systemctl status rpcbind
● rpcbind.service - RPC bind portmap service
Loaded: loaded (/lib/systemd/system/rpcbind.service; indirect; vendor preset: enabled)
Drop-In: /run/systemd/generator/rpcbind.service.d
└─50-rpcbind-$portmap.conf
Active: inactive (dead)
root@ubuntu:~#
And if i start the service systemctl start rpcbind the service will start.
And when i enable the service with systemctl enable rpcbind command i get the following output.
root@ubuntu:~# systemctl enable rpcbind
Synchronizing state of rpcbind.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable rpcbind
Output of cat /lib/systemd/system/rpcbind.service
root@ubuntu:~# cat /lib/systemd/system/rpcbind.service
[Unit]
Description=RPC bind portmap service
After=systemd-tmpfiles-setup.service
Wants=remote-fs-pre.target
Before=remote-fs-pre.target
Requires=rpcbind.socket
DefaultDependencies=no
[Service]
Environment="OPTIONS=-w"
ExecStart=/sbin/rpcbind -f $OPTIONS
EnvironmentFile=-/etc/rpcbind.conf
EnvironmentFile=-/etc/default/rpcbind
Type=notify
KillMode=process
Restart=on-failure
[Install]
Also=rpcbind.socket
But the service still not enabling after the reboot.
Can anybody help please ?
How to install Qualcomm Atheros WiFi Device Driver which is Missing in Ubuntu MATE 15.10?
https://askubuntu.com/questions/731636/how-to-install-qualcomm-atheros-wifi-device-driver-which-is-missing-in-ubuntu-ma$ lspci -nn
02:00.0 Network controller: Qualcomm Atheros Device [168c:0041] (rev 20)
Now i'm using Ubuntu MATE 15.10. I have installed some other Linux Distro. But none of them has driver for this device.
Kernel Version :
uname -r
4.2.0-16-generic
Please help me to find driver for Qualcomm Atheros WiFi Device. Please give me a solution.
Laptop : Lenovo G 50-40
Is there an Ubuntu version that would fit on a 1GB USB stick?
https://askubuntu.com/questions/695874/is-there-an-ubuntu-version-that-would-fit-on-a-1gb-usb-stickI have a 1 GB USB stick I'd like to use to run Ubuntu with...
The total space is 961 MB - and all releases of Ubuntu/Kubuntu 15.10 and lower are 1.1 GB to 1.2 GB.
Any ideas how can I fit a release onto the USB?
USB port not working after resume from suspend - ubuntu 14.04
https://askubuntu.com/questions/589297/usb-port-not-working-after-resume-from-suspend-ubuntu-14-04My USB ports and webcam are not working after sleep. I have WiFi, but that's it.
I am Ubuntu 14.04 and I have usb2.0, usb3.0, webcam. I found similar case here and here and here, but none gave me working answer.
lsusb after resume:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb before resume:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 105b:e065
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 002: ID 058f:5608 Alcor Micro Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
How can I get my USB working after resume from suspend?
How to get the current display output using the command line?
https://askubuntu.com/questions/565870/how-to-get-the-current-display-output-using-the-command-lineI'm writing a script in which I need to switch between two displays, but I can't find a way to get the information about the current active output.
Pretty much like this:
if Display0 is off and Display1 is on
turn off Display1
turn on Display0
else if Display1 is off and Display0 is on
turn off Display0
turn on Display1
The piece I'm missing is the first line: how do I know which display is currently active?
Note: xrandr -q doesn't help because it always print that both displays are "connected" regardless of whether the output is directed on Display0 or Display1, not sure if this is a bug.
Ladder logic software for Ubuntu
https://askubuntu.com/questions/476813/ladder-logic-software-for-ubuntuI just started a class on industrial motor controls. I am thinking it would be handy to have a ladder logic diagram software to help me draw, program, and become familiar with PLCs and ladder logic diagrams. Does anyone know a decent program to do that?
I tooled around in the repos for a bit, but found nothing on ladder logic.


