id
stringlengths
1
7
postTypeId
stringclasses
1 value
acceptedAnswerId
stringlengths
1
7
creationDate
stringdate
2009-01-08 07:47:55
2024-03-31 23:33:05
score
stringclasses
504 values
viewCount
stringlengths
1
7
body
stringlengths
24
34.3k
ownerUserId
stringlengths
1
7
lastEditorUserId
stringlengths
1
7
lastEditDate
stringdate
2010-07-28 20:43:11
2024-04-07 06:16:28
lastActivityDate
stringdate
2010-07-29 14:11:46
2024-04-07 06:16:28
title
stringlengths
13
150
tags
listlengths
1
5
answerCount
stringclasses
45 values
commentCount
stringclasses
47 values
contentLicense
stringclasses
3 values
comments
listlengths
0
56
acceptedAnswer
dict
answers
listlengths
0
82
communityOwnedDate
stringclasses
232 values
favoriteCount
stringclasses
2 values
closedDate
stringlengths
23
23
lastEditorDisplayName
stringclasses
890 values
ownerDisplayName
stringlengths
2
28
1507832
1
null
2024-03-18T05:47:13.407
-1
55
<p>I'm on version 23.10 of Ubuntu, and the speed offered by my internet company is 500Mbps. But only on Ubuntu, I can't go above 98Mbps.</p> <p>The network card: Gigabit LAN Realtek® RTL8111H</p> <p>I'm new to the system. I have already tried updating the drivers and nothing changed.</p>
1776001
1450948
2024-03-18T06:02:54.253
2024-03-18T11:53:00.473
Slow internet on ubuntu 23.10
[ "internet", "23.10" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T05:56:04.383", "id": "2645520", "postId": "1507832", "score": "0", "text": "Did you check the internet speed with other devices or OS and show any difference??", "userDisplayName": null, "userId": "1450948" }, { "creationDate": "2024-03-18T06:02:07.0...
null
[]
null
null
null
null
null
1507833
1
null
2024-03-18T05:54:11.737
-1
19
<p>The good old Midnight Commander which came of the original Norton Commander had a quick view, which was menu , right, quick view, so any files selected in the file panel were shown in the other panel, very handy for text files. It seems Krusader does not have this. nothing in the manual <a href="https://docs.kde.org/stable5/en/krusader/krusader/krusader.pdf" rel="nofollow noreferrer">https://docs.kde.org/stable5/en/krusader/krusader/krusader.pdf</a> and one can install midnight commander as easy as</p> <pre><code>sudo apt install mc </code></pre> <p>and run as</p> <p><code>mc</code></p> <p>from the command line but are there any plugins/addons for Krusader to do this?</p>
949433
null
null
2024-03-18T05:54:11.737
Krusader quick view like Midnight commander
[ "filemanager", "krusader" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T06:06:08.903", "id": "2645713", "postId": "1507833", "score": "0", "text": "and downvoted for what exactly?", "userDisplayName": null, "userId": "949433" } ]
null
[]
null
null
null
null
null
1507834
1
null
2024-03-18T06:08:29.740
-1
16
<p>My OS is ubuntu20.04, for mechanical mobile HDD, such WD of size 2T, the processing is fast, but for mobile SSD(Crucial X6), the auto mounting processing is slow, it takes almost 60s,In windows 10, the processing is fast as WD HDD,so I guess the problem is casused by ubuntu20.04, the jounal infomation is below</p> <pre><code>-- Logs begin at Sun 2024-03-10 23:05:53 CST, end at Mon 2024-03-18 13:51:30 CST. -- 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd-journald[543]: Journal stopped 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd-shutdown[1]: Sending SIGTERM to remaining processes... 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd-shutdown[1]: Syncing filesystems and block devices. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Shutting down. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Reached target Reboot. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Finished Reboot. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: systemd-reboot.service: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Reached target Final Step. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Reached target Shutdown. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Stopped Remount Root and Kernel File Systems. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: systemd-remount-fs.service: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Reached target Unmount All Filesystems. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Deactivated swap /swapfile. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: swapfile.swap: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Stopped Create System Users. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: systemd-sysusers.service: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Stopped Create Static Device Nodes in /dev. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: systemd-tmpfiles-setup-dev.service: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Deactivating swap /swapfile... 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Stopped target Swap. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Stopped target Local File Systems (Pre). 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted /run/snapd/ns. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: run-snapd-ns.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounting /run/snapd/ns... 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted /run/snapd/ns/snap-store.mnt. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: run-snapd-ns-snap\x2dstore.mnt.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Removed slice system-clean\x2dmount\x2dpoint.slice. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Stopped Clean the /media/hitbuyi/Crucial_X6 mount point. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: clean-mount-point@media-hitbuyi-Crucial_X6.service: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Stopping Clean the /media/hitbuyi/Crucial_X6 mount point... 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted /media/hitbuyi/Crucial_X6. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: media-hitbuyi-Crucial_X6.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Stopped target Mounting snaps. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for webkitgtk-6-gnome-2204, revision 31. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: snap-webkitgtk\x2d6\x2dgnome\x2d2204-31.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for vlc, revision 3721. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: snap-vlc-3721.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for viztube, revision 51. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: snap-viztube-51.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for viztube, revision 50. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: snap-viztube-50.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for subtitle-edit, revision 7. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: snap-subtitle\x2dedit-7.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for snapd, revision 20671. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: snap-snapd-20671.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for snap-store, revision 959. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: snap-snap\x2dstore-959.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for snap-store, revision 638. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: snap-snap\x2dstore-638.mount: Succeeded. 3月 18 13:19:56 hitbuyi-Dell-G15-5511 systemd[1]: Unmounted Mount unit for shadowsocks-rust, revision 689. </code></pre> <p>How to solve it?</p>
1610619
null
null
2024-03-18T06:08:29.740
Auto mounting mobible SSD is low in Ubuntu20.04
[ "ssd", "automount" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507835
1
null
2024-03-18T06:14:45.750
-1
63
<p>When I run <code>sudo su</code> or any other command with sudo this is the output</p> <pre><code>sudo: /etc/sudo.conf is world writable sudo: /etc/sudo.conf is world writable sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, quitting sudo: error initializing audit plugin sudoers_audit </code></pre> <p>When I try to fix using <code>policykit</code>,it gives me this output:</p> <pre><code>Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying </code></pre> <p>When I try <code>systemctl status policykit</code>, I get this:</p> <p><img src="https://i.stack.imgur.com/xedIs.png" alt="log" /></p>
1754494
1450948
2024-03-18T07:34:45.020
2024-03-18T07:34:45.020
I can't run terminal as root
[ "command-line", "sudo", "root" ]
0
12
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T06:22:10.807", "id": "2645523", "postId": "1507835", "score": "0", "text": "Does this answer your question: [How to solve \"sudo: /etc/sudoers.d is world writable\"](https://askubuntu.com/questions/304212/how-to-solve-sudo-etc-sudoers-d-is-world-writable)??", "u...
null
[]
null
null
2024-03-25T02:13:53.707
null
null
1507838
1
null
2024-03-18T07:34:35.390
-2
18
<p>Yesterday i upgraded to Ubuntu Pro. Today i wanted to send emails to my pension-fund organization and to the German BfA (national retiree organization) with documents attached. Some days before sending mail with attached documents was as simple as can be. Today after upgrading to Ubuntu Pro the mail programs are not uploading the attachments, the planned mail remains empty. Only the main text of Hello and goodbye can be send, what makes no sense. I must go back to windows. What is wrong? Sincerely, Hubert Smuda</p>
1776017
null
null
2024-03-18T07:34:35.390
After upgrade to Ubuntu Pro no documents are attachable neither to google mail nor to germany gmx mail
[ "upgrade", "email" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T07:51:36.290", "id": "2645534", "postId": "1507838", "score": "0", "text": "Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.", "userDisplayName": null, "userId": "-1" }, { "creationDate": "...
null
[]
null
null
2024-04-03T09:54:38.503
null
null
1507839
1
null
2024-03-18T07:43:36.677
-1
27
<p>I'm a beginner trying to use Linux for the first time.</p> <p>I installed Ubuntu 22.04 on an assembled desktop that is not connected to the internet. I'm in a situation where I cannot use a wired Ethernet connection.</p> <p>So, I tried to connect to the internet temporarily via a Bluetooth hotspot. Following the instructions at <a href="https://community.kinivo.com/t/how-to-install-btd-500-firmware-for-linux/280" rel="nofollow noreferrer">https://community.kinivo.com/t/how-to-install-btd-500-firmware-for-linux/280</a>, I successfully installed it and confirmed that Bluetooth peripherals are recognized, and it shows as connected when I connect it to my iPhone. However, the internet does not work when I run Firefox.</p> <p>How can I solve this problem? I ended up using a Bluetooth hotspot because I needed internet access while trying to install wireless WiFi.</p> <p>I would really appreciate your help. Thanks!</p>
1776018
null
null
2024-03-18T07:43:36.677
The hotspot connection works, but I can't access the internet
[ "bluetooth", "internet", "iphone" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T13:43:00.077", "id": "2645555", "postId": "1507839", "score": "0", "text": "Can you use USB tethering to the phone?", "userDisplayName": null, "userId": "300665" }, { "creationDate": "2024-03-19T10:44:24.040", "id": "2645747", "postId": "1507...
null
[]
null
null
null
null
null
1507841
1
null
2024-03-18T08:17:06.980
0
43
<p>I am new to Ubuntu and running Ubuntu 23.10 &quot;Mantic Minotaur&quot; on my pc (stand-alone). From past couple of days, my computer is not being able to connect to a particular wifi (Main wifi of out house) but is being able to connect to other networks like hotspot from my mobile phone.</p> <p>Detailed issue:-</p> <ol> <li>When trying to connect, it shows CONNECTION FAILED:-</li> </ol> <p>activation of network connection failed.</p> <p>Attempts at trying to solve it.</p> <ol> <li>Turned on metered connection [Didn't work]</li> <li>Disabled IPv4 and IPv6 alternatively [Didn't work]</li> <li>used <code>ifconfig up [name of network]</code> [Didn't work]</li> <li>used <code>nmcli connection up [name of network]</code> [Didn't work]</li> <li>Reinstalled <code>linux-headers</code> by using <code>sudo apt install --reinstall linux-headers-$(uname -r)</code> and sudo reboot [Didn't work]</li> <li>reattached wifi adapter to all ports of the pc case [Didn't work]</li> <li>used dhclient [Didn't work]</li> <li>Installed net-tools [Didn't work]</li> </ol> <p>I have tried many methods of solving this issue but all of them are in vain. Therefore I request you to look into my issue and give your solution for this recurring problem</p>
1776028
null
null
2024-03-18T08:17:06.980
WIFI not connecting Ubuntu 23.10
[ "22.04", "23.04", "23.10" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507842
1
null
2024-03-18T08:46:17.313
-1
54
<p>After upgrading our virtual machine from Ubuntu version 20.04 to 22.04, we have issues when connection with xRDP protocol. When connected to the desktop, we got the error message <code>Oh no! Something has gone wrong</code>.</p> <p>Please find below some output:</p> <pre class="lang-none prettyprint-override"><code>systemctl status xrdp ● xrdp.service - xrdp daemon Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2024-03-18 07:19:15 UTC; 20min ago Docs: man:xrdp(8) man:xrdp.ini(5) Main PID: 877 (xrdp) Tasks: 1 (limit: 9508) Memory: 1.7M CPU: 17ms CGroup: /system.slice/xrdp.service └─877 /usr/sbin/xrdp Mar 18 07:19:13 vm-euw-jump-PWhirn-01 xrdp[828]: [INFO ] address [0.0.0.0] port [3389] mode 4 Mar 18 07:19:14 vm-euw-jump-PWhirn-01 xrdp[828]: [INFO ] listening to port 3389 on 0.0.0.0 Mar 18 07:19:14 vm-euw-jump-PWhirn-01 xrdp[828]: [INFO ] xrdp_listen_pp done Mar 18 07:19:14 vm-euw-jump-PWhirn-01 xrdp[828]: [DEBUG] Closed socket 7 (AF_INET 0.0.0.0:3389) Mar 18 07:19:14 vm-euw-jump-PWhirn-01 systemd[1]: xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitt&gt; Mar 18 07:19:15 vm-euw-jump-PWhirn-01 systemd[1]: Started xrdp daemon. Mar 18 07:19:16 vm-euw-jump-PWhirn-01 xrdp[877]: [INFO ] starting xrdp with pid 877 Mar 18 07:19:16 vm-euw-jump-PWhirn-01 xrdp[877]: [INFO ] address [0.0.0.0] port [3389] mode 4 Mar 18 07:19:17 vm-euw-jump-PWhirn-01 xrdp[877]: [INFO ] listening to port 3389 on 0.0.0.0 Mar 18 07:19:17 vm-euw-jump-PWhirn-01 xrdp[877]: [INFO ] xrdp_listen_pp done </code></pre>
1776020
94914
2024-03-18T10:44:20.053
2024-03-18T10:44:20.053
Ubuntu 22.04 xRDP issue Oh no! something has gone wrong
[ "xrdp" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507849
1
null
2024-03-18T10:24:31.673
0
79
<p>I have a problem where all the folders in my laptop are visible in my desktop, I tried following the instruction as suggested in <a href="https://askubuntu.com/questions/1050523/all-of-my-folders-appeared-on-my-desktop-how-do-i-remove-them/1507845#1507845">all of my folders appeared on my desktop; how do I remove them</a> and made changes within the <code>~/.config/user-dirs.dirs</code> which is refelected temporarily, but the moment I restart my laptop the file gets reset back to just how it was i.e. <code>XDG_DESKTOP_DIR=&quot;$HOME/&quot;</code>.</p> <p>Can anyone helpme in getting a permanent fix?</p>
1776046
null
null
2024-03-20T15:21:08.143
All folders visible in desktop linux
[ "gnome", "22.04" ]
2
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T11:58:11.413", "id": "2645552", "postId": "1507849", "score": "3", "text": "Welcome to AskUbuntu! Kindly mention your Ubuntu version along with your question.", "userDisplayName": null, "userId": "1450948" } ]
null
[ { "accepted": null, "body": "<p>Desktop icons can be disabled through the Extension Manager (if you want to learn more about it, a link I found helpful was <a href=\"https://itsfoss.com/extension-manager/\" rel=\"nofollow noreferrer\">https://itsfoss.com/extension-manager/</a> ).</p>\n<p>To install the prog...
null
null
null
null
null
1507850
1
null
2024-03-18T10:33:02.823
0
15
<p>I'm new here and to Ubuntu. I have a MacBook Pro 2019 13-inch (with T2) and I have recently installed Ubuntu 22.04 LTS (using dual boot with MacOS and Ubuntu).</p> <p>I did my best to install all the drivers needed and everything has worked at least once, the problem is that it's only sometimes. Most times it works completely but sometimes I turn my machine and the keyboard, trackpad, touch bar, camera, aux port, or mic don't work. It feels like it's random,and I am not sure what's causing this. Any idea why this would happen? I really appreciate any help you can provide.</p>
1776057
null
null
2024-03-18T10:33:02.823
Drivers for MacBook Pro 2019 not working every time (Ubuntu)
[ "drivers", "macbook", "macbook-pro" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T14:06:43.223", "id": "2645559", "postId": "1507850", "score": "0", "text": "Check out https://t2linux.org/ if you already haven't.", "userDisplayName": null, "userId": "124466" }, { "creationDate": "2024-03-19T15:32:42.723", "id": "2645788", ...
null
[]
null
null
null
null
null
1507851
1
null
2024-03-18T10:39:59.403
0
24
<p>I have a private mirror setup mostly to keep older version of packages. Recently I faced and issue where a specific version of the package which I wanted to install are not available via apt even though it is present in my repo. For example:</p> <pre><code>[client-vm01]# apt-cache policy base-files base-files: Installed: 12ubuntu4.4 Candidate: 12ubuntu4.6 Version table: 12ubuntu4.6 500 500 http://repo.private/ubuntu jammy-updates/main amd64 Packages *** 12ubuntu4.4 100 100 /var/lib/dpkg/status 12ubuntu4 500 500 http://repo.private/ubuntu jammy/main amd64 Packages </code></pre> <pre><code>Reading package lists... Done Building dependency tree... Done Reading state information... Done Package base-files is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: motd-news-config E: Version '12ubuntu4.5' for 'base-files' was not found </code></pre> <p>base-files-12ubuntu4.5 is present in the private repo and I'm able to download it via curl, but apt does not see this version.</p> <pre><code>[repo-server] # find . -name &quot;base-files*&quot; ./pool/main/b/base-files/base-files_12ubuntu4.6_amd64.deb ./pool/main/b/base-files/base-files_12ubuntu4.4_amd64.deb ./pool/main/b/base-files/base-files_12ubuntu4_amd64.deb ./pool/main/b/base-files/base-files_12ubuntu4.5_amd64.deb </code></pre> <p>Is this due to missing repo meta-data or something else ? How can I fix this ?</p>
1776053
null
null
2024-03-18T10:39:59.403
apt mirror not providing a specific package version
[ "apt", "apt-mirror" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507852
1
null
2024-03-18T10:40:46.530
2
22
<p>I have backed up my system using Timeshift and removed Ubuntu from my laptop. Then I reinstalled Ubuntu and trying to restore the state using Timeshift snapshot from a recovery hard disk. After recovery is completed the system is not booting up giving an failed error.</p> <p><a href="https://i.stack.imgur.com/SIMJn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SIMJn.jpg" alt="enter image description here" /></a></p>
1776059
94914
2024-03-18T10:48:20.120
2024-03-18T10:48:20.120
failed to mount canonical-livepatch after timeshift
[ "canonical-livepatch", "timeshift" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507854
1
null
2024-03-18T11:21:04.610
1
36
<p>I'm a total rookie so please be patient. I'd like to try Ubuntu on my macbook pro laptop using a live version on an USB stick but there is no way it sees the USB when i restart in recovery mode</p> <p>I downloaded ubuntu-22.04.4-desktop-amd64.iso and prepared the usb stick with BalenaEtcher but there's no way the computer sees the USB as bootable option.</p> <p>Not sure if it can be a matter of the fact the USB is connected through an hub to the laptop (USB3.0 while the laptop port is USB-C) or some filevault/security settings issue. I browsed various times through the security options (e.g. i had do allow VeraCrypt to have it working) and forums online without finding anything helpful to solve the problem.</p>
1776064
124466
2024-03-18T14:04:39.907
2024-03-18T14:04:39.907
Problems with Bootable USB on macbook pro w/ ventura 13.2.1 (Apple M2, 2022)
[ "boot", "usb", "macbook", "apple" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>The amd64 version of Ubuntu, which you downloaded, will not work with ARM processors.</p>\n<p>For a smooth experience, use <a href=\"https://asahilinux.org/\" rel=\"nofollow noreferrer\">Asahi Linux</a> instead. It is built specifically for ARM Macs, and is actively developed...
null
null
null
null
null
1507856
1
null
2024-03-18T11:33:52.820
0
22
<p>I'm annotating a PDF, using Okular, which seems to work quite well for sending to Windows users running Adobe reader (unlike some alternatives).</p> <p>Compose keys combinations don't work at all. Instead, when I hit <code>&lt;AltGr&gt;</code> (my compose key) Okular displays &quot;⁻&quot; (apparently that's <em>U+207B Superscript Minus</em>, but not the same as the superscript hyphen-minus I get with <code>&lt;AltGr&gt; ^ -</code>), so for ° (<code>&lt;AltGr&gt; o o</code>, degree sign) I get &quot;⁻oo&quot; in the annotation input box, and &quot;oo&quot; as the displayed annotation.</p> <p>This may or may not be related: If I paste in a non-keyboard unicode symbol, it may or may not display in the annotation. § (section mark) does, but ₂ (subscript 2) doesn't (though it does appear in the annotation input/edit box). The superscript minus I mention above also shows only in the input, not the displayed annotation. Worst of all, Greek letters don't show up in inline annotations.</p> <p>This is Xubuntu 20.04 LTS, with Okular installed via apt. I've confirmed that this isn't a sneaky snap install - <code>apt list okular*</code> returns a few packages with the main <code>okular/focal</code> being version 4.19.12; <code>snap list | grep okular</code> (and indeed <code>snap list</code> and reading the whole output) shows nothing</p>
178354
178354
2024-03-18T12:09:00.300
2024-03-18T12:09:00.300
In Okular, how can I use compose keys (or even <ctrl>+<shift>+u unicode entry)?
[ "20.04", "xubuntu", "okular" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507858
1
null
2024-03-18T11:48:36.767
1
38
<p>For many months I have been using a remote desktop connection from a Windows 11 computer to a remote Ubuntu desktop (22.04), without any problem.</p> <p>Since this remote Ubuntu desktop doesn't have a physical monitor connected, I installed the package xserver-xorg-video-dummy and I set the /etc/X11/xorg.conf with these contents:</p> <pre><code>Section &quot;Monitor&quot; Identifier &quot;Monitor0&quot; HorizSync 28.0-80.0 VertRefresh 48.0-75.0 # https://arachnoid.com/modelines/ # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz Modeline &quot;1920x1080_60.00&quot; 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync EndSection Section &quot;Device&quot; Identifier &quot;Card0&quot; Driver &quot;dummy&quot; VideoRam 256000 EndSection Section &quot;Screen&quot; DefaultDepth 24 Identifier &quot;Screen0&quot; Device &quot;Card0&quot; Monitor &quot;Monitor0&quot; SubSection &quot;Display&quot; Depth 24 Modes &quot;1920x1080_60.00&quot; EndSubSection EndSection </code></pre> <p>Suddenly this stopped working. When I try to connect to the Ubuntu desktop, I am asked the password, I write it and press OK, the remote desktop window is opened for a short instant, and then it disappears. When this happens, the following messages appear in the /var/log/syslog:</p> <pre><code>Mar 18 11:32:29 testcomputer gnome-remote-desktop-daemon[2736]: [11:32:29:978] [2736:3633] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312] Mar 18 11:32:29 testcomputer gnome-remote-desktop-daemon[2736]: [11:32:29:981] [2736:3633] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313] Mar 18 11:32:30 testcomputer gnome-remote-de[2736]: Failed to start remote desktop session: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Session creation inhibited Mar 18 11:32:30 testcomputer gnome-remote-desktop-daemon[2736]: [11:32:29:008] [2736:2736] [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_RPC_INITIATED_DISCONNECT [0x0001000 1] </code></pre> <p>Just for reference, when the connection was working, the messages in the syslog where these:</p> <pre><code>Mar 18 11:01:52 testcomputer gnome-remote-desktop-daemon[2736]: [11:01:52:363] [2736:3435] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312] Mar 18 11:01:52 testcomputer gnome-remote-desktop-daemon[2736]: [11:01:52:365] [2736:3435] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313] Mar 18 11:01:52 testcomputer gnome-remote-de[2736]: [RDP.RDPGFX] CapsAdvertise: Accepting capability set with version RDPGFX_CAPVERSION_106, Client cap flags: H264 (AVC444): true, H264 (AVC420): true Mar 18 11:01:52 testcomputer gnome-remote-de[2736]: [RDP.CLIPRDR] Client capabilities: long format names, stream file clip, file clip no file paths, can lock clip data, huge file support Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d). Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e). Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a). Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b). Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c). Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f). Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11). Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10). Mar 18 11:01:53 testcomputer gnome-shell[2782]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12). </code></pre> <p>So the point is to understand what does it mean and how to fix this:</p> <pre><code>Mar 18 11:32:30 testcomputer gnome-remote-de[2736]: Failed to start remote desktop session: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Session creation inhibited </code></pre> <p>One hint: if I connect briefly a physical monitor to the Ubuntu computer, then I can connect with the remote desktop again. And the funny is that if I disconnect the physical monitor, the remote connection with the &quot;dummy monitor&quot; still works for some minutes, and then suddenly it stops working again.</p>
1706082
null
null
2024-03-18T14:43:34.167
Suddenly remote desktop tu Ubuntu desktop stopped working
[ "remote-desktop" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>I found a solution.</p>\n<p>I executed this command:</p>\n<pre><code>xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/inactivity-sleep-mode-on-battery -n -t int -s 1\n</code></pre>\n<p>Source: <a href=\"https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/...
null
null
null
null
null
1507861
1
null
2024-03-18T12:14:43.410
0
24
<p>I am running dual boot Ubuntu 16.04 and Windows, with Ubuntu 14 in a separate partition. The computer has an Intel Core i3-4170 CPU. I downloaded the Ubuntu-22.04.4-desktop-amd64.iso and have created two &quot;bootable&quot; USBs, one using the Startup Disc Creator which I had on my system, and a different one which I downloaded today. Neither of these two works, even holding down f12, esc or &quot;return&quot;. A boot USB I made some time ago for Ubuntu 18.04 works fine. What have I done wrong?</p>
453672
null
null
2024-03-18T12:14:43.410
Failure to get live USB 22.04 to boot
[ "boot", "usb" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T13:35:42.057", "id": "2645554", "postId": "1507861", "score": "2", "text": "To boot the USB install, you use the UEFI one time boot key, not esc or shift. That often is F12 but varies by vendor, check manual. Some tools that create live installer, may make it UEFI o...
null
[]
null
null
null
null
null
1507862
1
null
2024-03-18T12:38:34.230
0
26
<p>I have an Asus Zenbook 14 Oled with Ubuntu 23.10. When I close the lid, the laptop doesn't suspend.</p> <p>I have already edited <code>/etc/systemd/logind.conf</code>, uncommenting:</p> <pre><code>HandleLidSwitch=suspend HandleLidSwitchExternalPower=suspend </code></pre> <p>I have also tried using Gnome Tweaks and changing the option <em>'Suspend when laptop lid is closed'</em>.</p> <p>I tried to check lid state using <code>cat /proc/acpi/button/lid/LID/state</code> and it correctly detects opening and closing.</p> <p>Suspending the laptop manually works.</p>
1776084
null
null
2024-03-18T12:38:34.230
Suspension when closing the lid does not work
[ "suspend", "power-management", "laptop" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507864
1
null
2024-03-18T13:02:40.657
0
35
<p>I have the following installed:</p> <pre><code>root@system:~$ ls /lib/modules 5.15.0-100-generic 5.15.0-1051-kvm </code></pre> <p>I wish to boot into <code>5.15.0-100-generic</code> from the default <code>5.15.0-1051-kvm</code> on reboot. How do I do it?</p>
1078432
null
null
2024-03-18T13:02:40.657
how to boot into a generic kernel
[ "kernel" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507865
1
null
2024-03-18T13:05:56.500
0
10
<p>I had Ubuntu 20 installed in my Dell Precision 7920 Tower. When I was upgrading it to Ubuntu 22, I got disconnected on the way. Hence the upgrade was halted in the middle. Somehow I managed to get it running though. I did some steps including manually uninstalling conflicting packages. Now I don't have a GUI, only a CLI. Everything seems to be normally working.</p> <p>But now, when the power is disconnected and connected again, it automatically starts, but I cannot connect over SSH and also no signal is coming to the physically connected monitor. I have to manually push the power button to turn it off and press it again to start the server. The behavior is the same when doing <code>sudo reboot</code>.</p> <p>Is there a way to fix this instead of reinstalling Ubuntu? Is there a specific package that I can try reinstalling? Any help is highly appreciated.</p> <p>Thanks.</p>
1749674
null
null
2024-03-18T13:05:56.500
Rebooting Halted Unless Manually Power Button Pressed
[ "22.04", "reboot", "headless" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T19:45:08.570", "id": "2645618", "postId": "1507865", "score": "0", "text": "Depends on the list of packages that were installed before the power loss. Sometimes recovery is easy, sometimes impossible. Run `sudo apt update` and then `sudo apt full-upgrade`. Carefully...
null
[]
null
null
null
null
null
1507871
1
null
2024-03-18T14:25:05.483
0
40
<p>When upgrading the kernel without <code>linux-modules-extra-xx-generic</code>, my computer is losing network access after activating the kernel.</p> <p>As I have WiFi access only (which is lost after the kernel upgrade), how can I install the package together with the kernel upgrade or upfront?</p>
26022
null
null
2024-03-18T14:25:05.483
How to install linux-modules-extra with kernel update
[ "kernel", "22.04", "xubuntu" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507872
1
null
2024-03-18T14:33:55.783
1
46
<p>I could before, this error started to pop up and after that I wasn't able to:</p> <pre><code>7,898 kB were fetched in 2 s (3,370 kB/s). Reading package lists… Done Building dependency tree… Done Status information is being read in… Done Update available for 6 packages. Run &quot;apt list --upgradable&quot; to view them. W: An error occurred while verifying the signature. The depot has not been updated and the previous index files are used. GPG Error: https://repo.protonvpn.com/debian stable InRelease: The following signatures could not be verified because their public key is not available: NO_PUBKEY 4EDE055B645F044F W: Failed to get from https://repo.protonvpn.com/debian/dists/stable/InRelease The following signatures could not be verified because their public key is not available: NO_PUBKEY 4EDE055B645F044F W: Some index files could not be downloaded. They were ignored or old ones were used in their place. </code></pre>
1773684
1749634
2024-03-18T15:26:14.007
2024-03-18T18:03:25.850
Can't go through "sudo update" because of GPG key error
[ "apt", "package-management", "updates", "update-manager" ]
1
6
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T15:03:11.900", "id": "2645570", "postId": "1507872", "score": "0", "text": "Please translate to English, thanks.", "userDisplayName": null, "userId": "1066942" }, { "creationDate": "2024-03-18T15:13:22.600", "id": "2645573", "postId": "150787...
null
[ { "accepted": null, "body": "<p>Welcome Srecko to the forum.</p>\n<p>I'm using Google translate to see this in English. Hopefully we can communicate okay like this.</p>\n<h2>Problem</h2>\n<p>The public key for the ProtonVPN repository is missing, causing the signature verification to fail.</p>\n<h2>Manufac...
null
null
2024-03-18T16:37:53.470
null
null
1507874
1
null
2024-03-18T14:52:26.597
0
15
<p>I'm trying to block everything in outbound except tor with iptables. But without enabling icmp tor doesn't work, it's very strange since tor don't use icmp as my understanding. That's what I'm using right now:</p> <pre><code>iptables -A OUTPUT -o lo -j ACCEPT iptables -A OUTPUT -m owner --uid-owner debian-tor -j ACCEPT iptables -A OUTPUT -p icmp -j ACCEPT </code></pre> <p>That's all I have enabled in outbound. The default policy is DROP. If I remove icmp tor will stop working, otherwise everything works fine. I just want to understand why icmp is needed or if I'm doing something wrong.</p> <p>P.S. I don't want to use a trasparent proxy if not needed.</p>
1776114
null
null
2024-03-18T14:52:26.597
Why tor need icmp in outbound iptables?
[ "iptables", "firewall", "tor" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507875
1
null
2024-03-18T14:53:15.590
-1
40
<p>NOOB here with Ubuntu. I installed Ubuntu on a windows PC. Somehow i missed the step where I was supposed to install Ubuntu side by side with Windows. So I have an Ubuntu only PC. I want to get rid of Ubuntu, so I removed and re-formatted my SSD drive on a laptop. When I go to start up the PC I'm writing with now, it keeps bringing up Ubuntu. Mind you, I supposedly reformatted the ssd in my pc. Can someone help me wipe out Ubuntu on this PC? Any help is appreciated.</p>
1776112
null
null
2024-03-18T14:53:15.590
UBUNTU take over?
[ "ssd" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T17:03:01.163", "id": "2645591", "postId": "1507875", "score": "2", "text": "If you totally reformatted SSD, then you deleted the ESP with Ubuntu boot files. But UEFI may still have an entry. Did you look in UEFI settings & boot tab (not UEFI one time boot menu)? You...
null
[]
null
null
2024-03-25T02:13:09.200
null
null
1507876
1
null
2024-03-18T14:54:28.293
0
458
<p>Running Ubuntu 22.04.4 LTS for a long time now.. Never any problems, but today when I did an apt upgrade things seemed to get stuck (see further below for entire log):</p> <pre><code>update-initramfs: Generating /boot/initrd.img-6.5.0-26-generic /etc/kernel/postinst.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... ... ... Found initrd image: /boot/initrd.img-5.11.0-27-generic Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. Progress: [ 96%] </code></pre> <p>What do I do? Since things are stuck I'm scared that grub may be in a bad state... How do I diagnose and fix what's going on?</p> <p>Thank you!</p> <p>Full log:</p> <pre><code>$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: gir1.2-gtksource-4 input-remapper-daemon input-remapper-gtk libdav1d-dev libgtksourceview-4-0 libgtksourceview-4-common libwmf0.2-7 linux-headers-5.15.0-100 linux-headers-5.15.0-100-generic linux-headers-5.15.0-82 linux-headers-5.15.0-82-generic linux-headers-5.15.0-83 linux-headers-5.15.0-83-generic linux-headers-5.15.0-84 linux-headers-5.15.0-84-generic linux-headers-5.15.0-86 linux-headers-5.15.0-86-generic linux-headers-5.15.0-87 linux-headers-5.15.0-87-generic linux-headers-5.15.0-88 linux-headers-5.15.0-88-generic linux-headers-5.15.0-89 linux-headers-5.15.0-89-generic linux-headers-5.15.0-91 linux-headers-5.15.0-91-generic linux-headers-5.15.0-92 linux-headers-5.15.0-92-generic linux-headers-5.15.0-94 linux-headers-5.15.0-94-generic linux-headers-5.15.0-97 linux-headers-5.15.0-97-generic linux-headers-6.2.0-26-generic linux-headers-6.2.0-31-generic linux-headers-6.2.0-32-generic linux-headers-6.2.0-33-generic linux-headers-6.2.0-34-generic linux-headers-6.2.0-35-generic linux-headers-6.2.0-36-generic linux-headers-6.2.0-37-generic linux-headers-6.5.0-15-generic linux-headers-6.5.0-17-generic linux-headers-6.5.0-18-generic linux-hwe-6.2-headers-6.2.0-26 linux-hwe-6.2-headers-6.2.0-31 linux-hwe-6.2-headers-6.2.0-32 linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-34 linux-hwe-6.2-headers-6.2.0-35 linux-hwe-6.2-headers-6.2.0-36 linux-hwe-6.2-headers-6.2.0-37 linux-hwe-6.5-headers-6.5.0-15 linux-hwe-6.5-headers-6.5.0-17 linux-hwe-6.5-headers-6.5.0-18 linux-image-5.15.0-100-generic linux-image-5.15.0-82-generic linux-image-5.15.0-83-generic linux-image-5.15.0-84-generic linux-image-5.15.0-86-generic linux-image-5.15.0-87-generic linux-image-5.15.0-88-generic linux-image-5.15.0-89-generic linux-image-5.15.0-91-generic linux-image-5.15.0-92-generic linux-image-5.15.0-94-generic linux-image-5.15.0-97-generic linux-image-6.2.0-26-generic linux-image-6.2.0-31-generic linux-image-6.2.0-32-generic linux-image-6.2.0-33-generic linux-image-6.2.0-34-generic linux-image-6.2.0-35-generic linux-image-6.2.0-36-generic linux-image-6.2.0-37-generic linux-image-6.5.0-14-generic linux-image-6.5.0-15-generic linux-image-6.5.0-17-generic linux-image-6.5.0-18-generic linux-modules-5.15.0-100-generic linux-modules-5.15.0-82-generic linux-modules-5.15.0-83-generic linux-modules-5.15.0-84-generic linux-modules-5.15.0-86-generic linux-modules-5.15.0-87-generic linux-modules-5.15.0-88-generic linux-modules-5.15.0-89-generic linux-modules-5.15.0-91-generic linux-modules-5.15.0-92-generic linux-modules-5.15.0-94-generic linux-modules-5.15.0-97-generic linux-modules-6.2.0-26-generic linux-modules-6.2.0-31-generic linux-modules-6.2.0-32-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-34-generic linux-modules-6.2.0-35-generic linux-modules-6.2.0-36-generic linux-modules-6.2.0-37-generic linux-modules-6.5.0-14-generic linux-modules-6.5.0-15-generic linux-modules-6.5.0-17-generic linux-modules-6.5.0-18-generic linux-modules-extra-5.15.0-100-generic linux-modules-extra-5.15.0-82-generic linux-modules-extra-5.15.0-83-generic linux-modules-extra-5.15.0-84-generic linux-modules-extra-5.15.0-86-generic linux-modules-extra-5.15.0-87-generic linux-modules-extra-5.15.0-88-generic linux-modules-extra-5.15.0-89-generic linux-modules-extra-5.15.0-91-generic linux-modules-extra-5.15.0-92-generic linux-modules-extra-5.15.0-94-generic linux-modules-extra-5.15.0-97-generic linux-modules-extra-6.2.0-26-generic linux-modules-extra-6.2.0-31-generic linux-modules-extra-6.2.0-32-generic linux-modules-extra-6.2.0-33-generic linux-modules-extra-6.2.0-34-generic linux-modules-extra-6.2.0-35-generic linux-modules-extra-6.2.0-36-generic linux-modules-extra-6.2.0-37-generic linux-modules-extra-6.5.0-14-generic linux-modules-extra-6.5.0-15-generic linux-modules-extra-6.5.0-17-generic linux-modules-extra-6.5.0-18-generic python3-inputremapper python3-pydbus Use 'sudo apt autoremove' to remove them. Get more security updates through Ubuntu Pro with 'esm-apps' enabled: vlc-plugin-qt libvlc5 exo-utils vlc-data gsasl-common libvlccore9 vlc imagemagick libavcodec-extra vlc-bin libjs-jquery-ui vlc-l10n libavdevice58 ffmpeg libopenexr25 python3-scipy libpostproc55 libmagickcore-6.q16-6-extra vlc-plugin-samba libgsasl7 traceroute libmagickwand-6.q16-6 libavcodec-extra58 vlc-plugin-notify libavutil56 imagemagick-6.q16 libswscale5 libeditorconfig0 xrdp libmagickcore-6.q16-6 libexo-2-0 vlc-plugin-access-extra vlc-plugin-skins2 libgsl27 vlc-plugin-video-splitter libswresample3 imagemagick-6-common vlc-plugin-video-output libavformat58 libpmix-dev libgslcblas0 libpmix2 libvlc-bin libvlc-dev vlc-plugin-base vlc-plugin-visualization libexo-common libavfilter7 Learn more about Ubuntu Pro at https://ubuntu.com/pro The following NEW packages will be installed: linux-headers-5.15.0-101 linux-headers-5.15.0-101-generic linux-headers-6.5.0-26-generic linux-hwe-6.5-headers-6.5.0-26 linux-image-5.15.0-101-generic linux-image-6.5.0-26-generic linux-modules-5.15.0-101-generic linux-modules-6.5.0-26-generic linux-modules-extra-5.15.0-101-generic linux-modules-extra-6.5.0-26-generic The following packages will be upgraded: expressvpn libldap-2.5-0 libldap-common linux-generic linux-generic-hwe-20.04 linux-generic-hwe-22.04 linux-headers-generic linux-headers-generic-hwe-22.04 linux-image-generic linux-image-generic-hwe-22.04 linux-libc-dev python3-update-manager update-manager-core 13 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 248 MB/271 MB of archives. After this operation, 1,306 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-modules-5.15.0-101-generic amd64 5.15.0-101.111 [22.6 MB] Get:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-5.15.0-101-generic amd64 5.15.0-101.111 [11.5 MB] Get:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-modules-extra-5.15.0-101-generic amd64 5.15.0-101.111 [63.9 MB] Get:4 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-generic amd64 5.15.0.101.98 [1,698 B] Get:5 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-generic amd64 5.15.0.101.98 [2,486 B] Get:6 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-5.15.0-101 all 5.15.0-101.111 [12.3 MB] Get:7 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-5.15.0-101-generic amd64 5.15.0-101.111 [2,876 kB] Get:8 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-generic amd64 5.15.0.101.98 [2,332 B] Get:9 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-modules-6.5.0-26-generic amd64 6.5.0-26.26~22.04.1 [25.6 MB] Get:10 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-6.5.0-26-generic amd64 6.5.0-26.26~22.04.1 [14.0 MB] Get:11 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-modules-extra-6.5.0-26-generic amd64 6.5.0-26.26~22.04.1 [76.8 MB] Get:12 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-generic-hwe-22.04 amd64 6.5.0.26.26~22.04.13 [1,722 B] Get:13 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-image-generic-hwe-22.04 amd64 6.5.0.26.26~22.04.13 [2,578 B] Get:14 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-hwe-6.5-headers-6.5.0-26 all 6.5.0-26.26~22.04.1 [13.3 MB] Get:15 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-6.5.0-26-generic amd64 6.5.0-26.26~22.04.1 [3,448 kB] Get:16 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-headers-generic-hwe-22.04 amd64 6.5.0.26.26~22.04.13 [2,426 B] Get:17 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-generic-hwe-20.04 amd64 5.15.0.101.98 [2,354 B] Get:18 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-101.111 [1,333 kB] Fetched 248 MB in 16s (15.5 MB/s) (Reading database ... 1320428 files and directories currently installed.) Preparing to unpack .../00-python3-update-manager_1%3a22.04.19_all.deb ... Unpacking python3-update-manager (1:22.04.19) over (1:22.04.18) ... Preparing to unpack .../01-update-manager-core_1%3a22.04.19_all.deb ... Unpacking update-manager-core (1:22.04.19) over (1:22.04.18) ... Preparing to unpack .../02-libldap-2.5-0_2.5.17+dfsg-0ubuntu0.22.04.1_amd64.deb ... Unpacking libldap-2.5-0:amd64 (2.5.17+dfsg-0ubuntu0.22.04.1) over (2.5.16+dfsg-0ubuntu0.22.04.2) ... Preparing to unpack .../03-libldap-common_2.5.17+dfsg-0ubuntu0.22.04.1_all.deb ... Unpacking libldap-common (2.5.17+dfsg-0ubuntu0.22.04.1) over (2.5.16+dfsg-0ubuntu0.22.04.2) ... Selecting previously unselected package linux-modules-5.15.0-101-generic. Preparing to unpack .../04-linux-modules-5.15.0-101-generic_5.15.0-101.111_amd64.deb ... Unpacking linux-modules-5.15.0-101-generic (5.15.0-101.111) ... Selecting previously unselected package linux-image-5.15.0-101-generic. Preparing to unpack .../05-linux-image-5.15.0-101-generic_5.15.0-101.111_amd64.deb ... Unpacking linux-image-5.15.0-101-generic (5.15.0-101.111) ... Selecting previously unselected package linux-modules-extra-5.15.0-101-generic. Preparing to unpack .../06-linux-modules-extra-5.15.0-101-generic_5.15.0-101.111_amd64.deb ... Unpacking linux-modules-extra-5.15.0-101-generic (5.15.0-101.111) ... Preparing to unpack .../07-linux-generic_5.15.0.101.98_amd64.deb ... Unpacking linux-generic (5.15.0.101.98) over (5.15.0.100.97) ... Preparing to unpack .../08-linux-image-generic_5.15.0.101.98_amd64.deb ... Unpacking linux-image-generic (5.15.0.101.98) over (5.15.0.100.97) ... Selecting previously unselected package linux-headers-5.15.0-101. Preparing to unpack .../09-linux-headers-5.15.0-101_5.15.0-101.111_all.deb ... Unpacking linux-headers-5.15.0-101 (5.15.0-101.111) ... Selecting previously unselected package linux-headers-5.15.0-101-generic. Preparing to unpack .../10-linux-headers-5.15.0-101-generic_5.15.0-101.111_amd64.deb ... Unpacking linux-headers-5.15.0-101-generic (5.15.0-101.111) ... Preparing to unpack .../11-linux-headers-generic_5.15.0.101.98_amd64.deb ... Unpacking linux-headers-generic (5.15.0.101.98) over (5.15.0.100.97) ... Selecting previously unselected package linux-modules-6.5.0-26-generic. Preparing to unpack .../12-linux-modules-6.5.0-26-generic_6.5.0-26.26~22.04.1_amd64.deb ... Unpacking linux-modules-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... Selecting previously unselected package linux-image-6.5.0-26-generic. Preparing to unpack .../13-linux-image-6.5.0-26-generic_6.5.0-26.26~22.04.1_amd64.deb ... Unpacking linux-image-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... Selecting previously unselected package linux-modules-extra-6.5.0-26-generic. Preparing to unpack .../14-linux-modules-extra-6.5.0-26-generic_6.5.0-26.26~22.04.1_amd64.deb ... Unpacking linux-modules-extra-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... Preparing to unpack .../15-linux-generic-hwe-22.04_6.5.0.26.26~22.04.13_amd64.deb ... Unpacking linux-generic-hwe-22.04 (6.5.0.26.26~22.04.13) over (6.5.0.25.25~22.04.12) ... Preparing to unpack .../16-linux-image-generic-hwe-22.04_6.5.0.26.26~22.04.13_amd64.deb ... Unpacking linux-image-generic-hwe-22.04 (6.5.0.26.26~22.04.13) over (6.5.0.25.25~22.04.12) ... Selecting previously unselected package linux-hwe-6.5-headers-6.5.0-26. Preparing to unpack .../17-linux-hwe-6.5-headers-6.5.0-26_6.5.0-26.26~22.04.1_all.deb ... Unpacking linux-hwe-6.5-headers-6.5.0-26 (6.5.0-26.26~22.04.1) ... Selecting previously unselected package linux-headers-6.5.0-26-generic. Preparing to unpack .../18-linux-headers-6.5.0-26-generic_6.5.0-26.26~22.04.1_amd64.deb ... Unpacking linux-headers-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... Preparing to unpack .../19-linux-headers-generic-hwe-22.04_6.5.0.26.26~22.04.13_amd64.deb ... Unpacking linux-headers-generic-hwe-22.04 (6.5.0.26.26~22.04.13) over (6.5.0.25.25~22.04.12) ... Preparing to unpack .../20-linux-generic-hwe-20.04_5.15.0.101.98_amd64.deb ... Unpacking linux-generic-hwe-20.04 (5.15.0.101.98) over (5.15.0.100.97) ... Preparing to unpack .../21-linux-libc-dev_5.15.0-101.111_amd64.deb ... Unpacking linux-libc-dev:amd64 (5.15.0-101.111) over (5.15.0-100.110) ... Preparing to unpack .../22-expressvpn_3.66.0.2-1_amd64.deb ... Unpacking expressvpn (3.66.0.2-1) over (3.65.0.5-1) ... Setting up expressvpn (3.66.0.2-1) ... Installing new version of config file /etc/init.d/expressvpn ... Upgrade in progress... Setting up linux-libc-dev:amd64 (5.15.0-101.111) ... Setting up linux-hwe-6.5-headers-6.5.0-26 (6.5.0-26.26~22.04.1) ... Setting up libldap-common (2.5.17+dfsg-0ubuntu0.22.04.1) ... Setting up libldap-2.5-0:amd64 (2.5.17+dfsg-0ubuntu0.22.04.1) ... Setting up linux-headers-5.15.0-101 (5.15.0-101.111) ... Setting up linux-headers-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 6.5.0-26-generic Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... unset ARCH; [ ! -h /usr/bin/cc ] &amp;&amp; export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.5.0-26-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/6.5.0-26-generic/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules................. Signing module: - /var/lib/dkms/nvidia/525.147.05/6.5.0-26-generic/x86_64/module/nvidia-uvm.ko - /var/lib/dkms/nvidia/525.147.05/6.5.0-26-generic/x86_64/module/nvidia.ko - /var/lib/dkms/nvidia/525.147.05/6.5.0-26-generic/x86_64/module/nvidia-peermem.ko - /var/lib/dkms/nvidia/525.147.05/6.5.0-26-generic/x86_64/module/nvidia-modeset.ko - /var/lib/dkms/nvidia/525.147.05/6.5.0-26-generic/x86_64/module/nvidia-drm.ko Secure Boot not enabled on this system. cleaning build area... nvidia.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.5.0-26-generic/updates/dkms/ nvidia-modeset.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.5.0-26-generic/updates/dkms/ nvidia-drm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.5.0-26-generic/updates/dkms/ nvidia-uvm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.5.0-26-generic/updates/dkms/ nvidia-peermem.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.5.0-26-generic/updates/dkms/ depmod... Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j16 KERNELRELEASE=6.5.0-26-generic KERNEL_DIR=/lib/modules/6.5.0-26-generic/build all... Signing module: - /var/lib/dkms/v4l2loopback/0.12.7/6.5.0-26-generic/x86_64/module/v4l2loopback.ko Secure Boot not enabled on this system. cleaning build area... v4l2loopback.ko: Running module version sanity check. - Original module - Installation - Installing to /lib/modules/6.5.0-26-generic/updates/dkms/ depmod... ...done. Setting up linux-modules-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... Setting up python3-update-manager (1:22.04.19) ... Setting up linux-headers-generic-hwe-22.04 (6.5.0.26.26~22.04.13) ... Setting up linux-image-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-100-generic I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-100-generic I: /boot/vmlinuz is now a symlink to vmlinuz-6.5.0-26-generic I: /boot/initrd.img is now a symlink to initrd.img-6.5.0-26-generic Setting up linux-headers-5.15.0-101-generic (5.15.0-101.111) ... /etc/kernel/header_postinst.d/dkms: * dkms: running auto installation service for kernel 5.15.0-101-generic Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... unset ARCH; [ ! -h /usr/bin/cc ] &amp;&amp; export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.15.0-101-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.15.0-101-generic/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules.............. Signing module: - /var/lib/dkms/nvidia/525.147.05/5.15.0-101-generic/x86_64/module/nvidia-uvm.ko - /var/lib/dkms/nvidia/525.147.05/5.15.0-101-generic/x86_64/module/nvidia.ko - /var/lib/dkms/nvidia/525.147.05/5.15.0-101-generic/x86_64/module/nvidia-peermem.ko - /var/lib/dkms/nvidia/525.147.05/5.15.0-101-generic/x86_64/module/nvidia-modeset.ko - /var/lib/dkms/nvidia/525.147.05/5.15.0-101-generic/x86_64/module/nvidia-drm.ko Secure Boot not enabled on this system. cleaning build area... nvidia.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.15.0-101-generic/updates/dkms/ nvidia-modeset.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.15.0-101-generic/updates/dkms/ nvidia-drm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.15.0-101-generic/updates/dkms/ nvidia-uvm.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.15.0-101-generic/updates/dkms/ nvidia-peermem.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.15.0-101-generic/updates/dkms/ depmod... Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j16 KERNELRELEASE=5.15.0-101-generic KERNEL_DIR=/lib/modules/5.15.0-101-generic/build all... Signing module: - /var/lib/dkms/v4l2loopback/0.12.7/5.15.0-101-generic/x86_64/module/v4l2loopback.ko Secure Boot not enabled on this system. cleaning build area... v4l2loopback.ko: Running module version sanity check. - Original module - Installation - Installing to /lib/modules/5.15.0-101-generic/updates/dkms/ depmod... ...done. Setting up linux-modules-extra-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... Setting up linux-image-generic-hwe-22.04 (6.5.0.26.26~22.04.13) ... Setting up linux-generic-hwe-22.04 (6.5.0.26.26~22.04.13) ... Setting up linux-headers-generic (5.15.0.101.98) ... Setting up update-manager-core (1:22.04.19) ... Setting up linux-generic-hwe-20.04 (5.15.0.101.98) ... Setting up linux-image-5.15.0-101-generic (5.15.0-101.111) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.5.0-26-generic I: /boot/vmlinuz is now a symlink to vmlinuz-5.15.0-101-generic I: /boot/initrd.img is now a symlink to initrd.img-5.15.0-101-generic Setting up linux-modules-extra-5.15.0-101-generic (5.15.0-101.111) ... Setting up linux-modules-5.15.0-101-generic (5.15.0-101.111) ... Setting up linux-image-generic (5.15.0.101.98) ... Setting up linux-generic (5.15.0.101.98) ... Processing triggers for libc-bin (2.35-0ubuntu3.6) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for linux-image-6.5.0-26-generic (6.5.0-26.26~22.04.1) ... /etc/kernel/postinst.d/dkms: * dkms: running auto installation service for kernel 6.5.0-26-generic ...done. /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.5.0-26-generic /etc/kernel/postinst.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.5.0-26-generic Found initrd image: /boot/initrd.img-6.5.0-26-generic Found linux image: /boot/vmlinuz-6.5.0-25-generic Found initrd image: /boot/initrd.img-6.5.0-25-generic Found linux image: /boot/vmlinuz-6.5.0-21-generic Found initrd image: /boot/initrd.img-6.5.0-21-generic Found linux image: /boot/vmlinuz-6.5.0-18-generic Found initrd image: /boot/initrd.img-6.5.0-18-generic Found linux image: /boot/vmlinuz-6.5.0-17-generic Found initrd image: /boot/initrd.img-6.5.0-17-generic Found linux image: /boot/vmlinuz-6.5.0-15-generic Found initrd image: /boot/initrd.img-6.5.0-15-generic Found linux image: /boot/vmlinuz-6.5.0-14-generic Found initrd image: /boot/initrd.img-6.5.0-14-generic Found linux image: /boot/vmlinuz-6.2.0-39-generic Found initrd image: /boot/initrd.img-6.2.0-39-generic Found linux image: /boot/vmlinuz-6.2.0-37-generic Found initrd image: /boot/initrd.img-6.2.0-37-generic Found linux image: /boot/vmlinuz-6.2.0-36-generic Found initrd image: /boot/initrd.img-6.2.0-36-generic Found linux image: /boot/vmlinuz-6.2.0-35-generic Found initrd image: /boot/initrd.img-6.2.0-35-generic Found linux image: /boot/vmlinuz-6.2.0-34-generic Found initrd image: /boot/initrd.img-6.2.0-34-generic Found linux image: /boot/vmlinuz-6.2.0-33-generic Found initrd image: /boot/initrd.img-6.2.0-33-generic Found linux image: /boot/vmlinuz-6.2.0-32-generic Found initrd image: /boot/initrd.img-6.2.0-32-generic Found linux image: /boot/vmlinuz-6.2.0-31-generic Found initrd image: /boot/initrd.img-6.2.0-31-generic Found linux image: /boot/vmlinuz-6.2.0-26-generic Found initrd image: /boot/initrd.img-6.2.0-26-generic Found linux image: /boot/vmlinuz-5.19.0-46-generic Found initrd image: /boot/initrd.img-5.19.0-46-generic Found linux image: /boot/vmlinuz-5.15.0-101-generic Found linux image: /boot/vmlinuz-5.15.0-100-generic Found initrd image: /boot/initrd.img-5.15.0-100-generic Found linux image: /boot/vmlinuz-5.15.0-97-generic Found initrd image: /boot/initrd.img-5.15.0-97-generic Found linux image: /boot/vmlinuz-5.15.0-94-generic Found initrd image: /boot/initrd.img-5.15.0-94-generic Found linux image: /boot/vmlinuz-5.15.0-92-generic Found initrd image: /boot/initrd.img-5.15.0-92-generic Found linux image: /boot/vmlinuz-5.15.0-91-generic Found initrd image: /boot/initrd.img-5.15.0-91-generic Found linux image: /boot/vmlinuz-5.15.0-89-generic Found initrd image: /boot/initrd.img-5.15.0-89-generic Found linux image: /boot/vmlinuz-5.15.0-88-generic Found initrd image: /boot/initrd.img-5.15.0-88-generic Found linux image: /boot/vmlinuz-5.15.0-87-generic Found initrd image: /boot/initrd.img-5.15.0-87-generic Found linux image: /boot/vmlinuz-5.15.0-86-generic Found initrd image: /boot/initrd.img-5.15.0-86-generic Found linux image: /boot/vmlinuz-5.15.0-84-generic Found initrd image: /boot/initrd.img-5.15.0-84-generic Found linux image: /boot/vmlinuz-5.15.0-83-generic Found initrd image: /boot/initrd.img-5.15.0-83-generic Found linux image: /boot/vmlinuz-5.15.0-82-generic Found initrd image: /boot/initrd.img-5.15.0-82-generic Found linux image: /boot/vmlinuz-5.13.0-52-generic Found initrd image: /boot/initrd.img-5.13.0-52-generic Found linux image: /boot/vmlinuz-5.11.0-27-generic Found initrd image: /boot/initrd.img-5.11.0-27-generic Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. Progress: [ 96%] [#############################################################################################################################################################################################################.........] </code></pre>
781661
null
null
2024-03-18T14:54:28.293
apt update stuck at "Generating grub configuration file"
[ "boot", "apt", "grub2", "22.04", "kubuntu" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T15:27:47.637", "id": "2645577", "postId": "1507876", "score": "0", "text": "You need to do the recommended: Use 'sudo apt autoremove' to remove them. Do you have other partitions like NTFS that may be locked with fast startup or bitlocker? Or needs chkdsk? Or an ext...
null
[]
null
null
null
null
null
1507879
1
null
2024-03-18T15:45:34.360
3
55
<p>I want to deploy an API on a server (Ubuntu 18.04) with Docker (container: Ubuntu 22.04). I previously deployed the API with the same config on another server without any issue.</p> <p>While being built successfully and having normal logs, the container doesn't seem to receive HTTP requests (container name: <code>demowebsiteapi</code> / IP address: 172.17.0.2).</p> <pre class="lang-bash prettyprint-override"><code>curl 172.17.0.2:8001/test # =&gt; timeout response curl 127.0.0.1:8001/test # =&gt; HTML output for 404 errors docker exec -it demowebsiteapi /bin/bash /home/demowebsite# wget -qO- localhost:8001/test &gt; {&quot;response&quot;:&quot;ok&quot;} </code></pre> <p>All (I tried many) the ports on the localhost of the machine output the same HTML for 404 errors. I cannot find the server config file where this response is set; <code>/etc/apache2/</code> only contains a file <code>javascript-common.conf</code> and <code>sudo find / -type d -name '.htaccess'</code> outputs nothing.</p> <blockquote> <h4>What might be causing the container to not receive HTTP requests? Could there be any interactions or configurations impacting the accessibility of the container? Any suggestions on how to troubleshoot or debug this issue further?</h4> </blockquote> <p>Here are some more information on my set up:</p> <hr /> <h3>Docker configuration</h3> <p>Here is a sample the Dockerfile:</p> <pre><code>FROM ubuntu:22.04 ENV USER demowebsite ... COPY /docker-confs/nginx.conf /etc/nginx/conf.d/demowebsite.conf EXPOSE 8001 CMD export LC_ALL=C.UTF-8 &amp;&amp; export LANG=C.UTF-8 &amp;&amp; \ source venv/bin/activate &amp;&amp; \ supervisord -c api/docker-confs/supervisord.conf </code></pre> <p>And a sample of the script that builds the container:</p> <pre class="lang-bash prettyprint-override"><code>docker build --rm -t demowebsiteapi . -f Dockerfile --build-arg USERID=&quot;$DEMO_UID&quot;; docker rm demowebsiteapi docker run -d --name demowebsiteapi \ -v $DATA_FOLDER:/data/ -p 127.0.0.1:8001:8001 \ --restart unless-stopped --ipc=host demowebsiteapi </code></pre> <p>Sample of the NetworkSettings (<code>docker inspect demowebsiteapi</code>):</p> <pre class="lang-json prettyprint-override"><code>&quot;NetworkSettings&quot;: { ... &quot;Ports&quot;: { &quot;8001/tcp&quot;: [ { &quot;HostIp&quot;: &quot;127.0.0.1&quot;, &quot;HostPort&quot;: &quot;8001&quot; } ] }, &quot;Networks&quot;: { &quot;bridge&quot;: { ... &quot;Gateway&quot;: &quot;172.17.0.1&quot;, &quot;IPAddress&quot;: &quot;172.17.0.2&quot;, &quot;IPPrefixLen&quot;: 16, &quot;IPv6Gateway&quot;: &quot;&quot;, &quot;GlobalIPv6Address&quot;: &quot;&quot;, &quot;GlobalIPv6PrefixLen&quot;: 0, &quot;MacAddress&quot;: &quot;02:42:ac:11:00:02&quot;, &quot;DriverOpts&quot;: null } } } </code></pre> <p>Weirdly, duplicated processes seem to run at the same time for the Docker</p> <pre class="lang-bash prettyprint-override"><code>$ ps aux | grep demowebsite userme 10534 0.0 0.0 28140 21484 ? S 13:53 0:00 /home/demowebsite/venv/bin/python3 /home/demowebsite/venv/bin/gunicorn --bind unix:/tmp/website.sock app.main:app --worker-connections 1001 --workers 4 userme 10563 0.5 0.2 3890376 381392 ? Sl 13:53 0:03 /home/demowebsite/venv/bin/python3 /home/demowebsite/venv/bin/gunicorn --bind unix:/tmp/website.sock app.main:app --worker-connections 1001 --workers 4 userme 10567 0.5 0.2 3890220 381952 ? Sl 13:53 0:03 /home/demowebsite/venv/bin/python3 /home/demowebsite/venv/bin/gunicorn --bind unix:/tmp/website.sock app.main:app --worker-connections 1001 --workers 4 userme 10538 0.0 0.0 104748 24676 ? Sl 13:53 0:00 /home/demowebsite/venv/bin/python3 /home/demowebsite/venv/bin/dramatiq app.main -p 1 -t 1 userme 10566 0.6 0.2 4186140 379588 ? Sl 13:53 0:04 /home/demowebsite/venv/bin/python3 /home/demowebsite/venv/bin/dramatiq app.main -p 1 -t 1 userme 10800 0.0 0.0 31188 18580 ? S 13:54 0:00 /home/demowebsite/venv/bin/python3 /home/demowebsite/venv/bin/dramatiq app.main -p 1 -t 1 </code></pre> <hr /> <h3>Network setup</h3> <pre class="lang-bash prettyprint-override"><code>$ sudo ufw status Status: inactive $ sudo ufw app list Available applications: CUPS OpenSSH $ netstat -tuln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:8001 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN ... $ ping 172.17.0.2 PING 172.17.0.2 (172.17.0.2) 56(84) bytes of data. 64 bytes from 172.17.0.2: icmp_seq=1 ttl=64 time=0.083 ms 64 bytes from 172.17.0.2: icmp_seq=2 ttl=64 time=0.042 ms </code></pre> <hr /> <h5>Thank you so much for your help, I have been stuck on this problem for a week now and any advice or insight on the issue would be highly valuable!</h5> <hr /> <h3>Edit: more info</h3> <p>Output of <code>docker ps</code></p> <pre class="lang-bash prettyprint-override"><code>CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 430796e48525 demowebsiteapi &quot;/bin/bash -c 'expor…&quot; 12 hours ago Up 27 minutes 0.0.0.0:8001-&gt;8001/tcp demowebsiteapi </code></pre> <p>I noticed <code>iptables</code> config is odd, i tried to reset it but on reboot, it rollback to the same setup</p> <pre class="lang-bash prettyprint-override"><code>sudo iptables -L -v Chain INPUT (policy ACCEPT 4173 packets, 508K bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 DOCKER-USER all -- any any anywhere anywhere 0 0 DOCKER-ISOLATION-STAGE-1 all -- any any anywhere anywhere 0 0 ACCEPT all -- any docker0 anywhere anywhere ctstate RELATED,ESTABLISHED 0 0 DOCKER all -- any docker0 anywhere anywhere 0 0 ACCEPT all -- docker0 !docker0 anywhere anywhere 0 0 ACCEPT all -- docker0 docker0 anywhere anywhere Chain OUTPUT (policy ACCEPT 753 packets, 111K bytes) pkts bytes target prot opt in out source destination Chain DOCKER (1 references) pkts bytes target prot opt in out source destination 0 0 ACCEPT tcp -- !docker0 docker0 anywhere 172.17.0.2 tcp dpt:8001 Chain DOCKER-ISOLATION-STAGE-1 (1 references) pkts bytes target prot opt in out source destination 0 0 DOCKER-ISOLATION-STAGE-2 all -- docker0 !docker0 anywhere anywhere 0 0 RETURN all -- any any anywhere anywhere Chain DOCKER-ISOLATION-STAGE-2 (1 references) pkts bytes target prot opt in out source destination 0 0 DROP all -- any docker0 anywhere anywhere 0 0 RETURN all -- any any anywhere anywhere Chain DOCKER-USER (1 references) pkts bytes target prot opt in out source destination 0 0 RETURN all -- any any anywhere anywhere </code></pre>
1141672
1141672
2024-03-19T09:12:28.980
2024-03-19T09:12:28.980
Docker container fails to answer respond to HTTP request from host machine
[ "apache2", "docker", "nginx", "network-bridge", "https" ]
1
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T18:44:51.903", "id": "2645612", "postId": "1507879", "score": "0", "text": "What's the output of `docker ps`? Please include in your question.", "userDisplayName": null, "userId": "1066942" }, { "creationDate": "2024-03-18T22:09:19.800", "id": "2...
null
[ { "accepted": null, "body": "<p>The error is in your script for building the container, when you run:</p>\n<pre><code>docker run -d --name demowebsiteapi \\\n -v $DATA_FOLDER:/data/ -p 127.0.0.1:8001:8001 \\\n --restart unless-stopped --ipc=host demowebsiteapi\n</code></pre>\n<p>Which matches your <code...
null
null
null
null
null
1507880
1
1507985
2024-03-18T15:46:42.417
1
81
<p>On my personal computer, I'm having no success getting a custom application to run upon login on Ubuntu 22.04, so I've added some toy examples to 'Additional startup programs', and none of them seems to be in</p> <pre><code>date &gt; startup.date date &gt; /home/me/startup.date date &gt; /tmp/startup.date </code></pre> <p>I expect to find a file ~/startup.date after logging in as myself, but it is absent. What's the trick to getting these to work?</p> <p>(I don't want something to run on every login, as .bashrc or .profile might do.)</p> <p><a href="https://i.stack.imgur.com/8DuDg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8DuDg.png" alt="enter image description here" /></a> <a href="https://i.stack.imgur.com/WG5Ji.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WG5Ji.png" alt="enter image description here" /></a></p>
117018
117018
2024-03-18T21:32:41.723
2024-03-20T15:38:32.960
My startup application isn't running on Ubuntu 22.04
[ "startup-applications" ]
1
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T18:41:56.637", "id": "2645611", "postId": "1507880", "score": "0", "text": "I'm confused about what exactly you tried - the examples you give are shell commands, not programs. What exactly are you trying to execute? a script? a .desktop file?", "userDisplayName"...
{ "accepted": true, "body": "<p>The question is about a &quot;custom application&quot; failing to work with Startup Application. It is not clear if this &quot;custom application&quot; is a shell script or not. A properly written shell script beginning with a <a href=\"https://en.wikipedia.org/wiki/Shebang_(Unix)\" rel=\"nofollow noreferrer\">shebang</a> should work without the <code>bash -c </code> prefix. However, for a shell command like <code>date</code>, the example in the question, the bash prefix is needed. The rest of the answer is about the specific example in the question.</p>\n<h1>Login log (make Your Own)</h1>\n<p>The intent is to record and find out when the user logged in. The commands below are to be entered in the <strong>Startup Applications</strong> as indicated in the question. The correct syntax is:</p>\n<pre><code>bash -c 'date &gt; startup.date'\n</code></pre>\n<p>Note, the above command will create or overwrite the file <code>startup.date</code> every time the user logs in. It does not record the date and time the computer was started up.</p>\n<p>One issue with this command is that it overwrites the file. So only one record is retained. If the intent is to keep a log of every login, then the next command works better:</p>\n<pre><code>bash -c 'date &gt;&gt; login.log'\n</code></pre>\n<p>Note the double greater than sign <code>&gt;&gt;</code>. This appends the date to the existing file.</p>\n<h1>Login log (system generated)</h1>\n<p>There is no need to create entries in the <strong>Startup Application</strong> as the system already records login events. This section describes how to access these logs easily from the terminal.</p>\n<p>Ubuntu provides a handy command to review system generated login and reboot logs. By default, the <code>last</code> command uses the system log file <code>/var/log/wtmp</code> as the data source to generate reports. <code>wtmp</code> is a binary file on Unix-based operating systems. It keeps a record of all reboot, login and logout activity.</p>\n<p>It can display various information, including the date and time of access, the duration of the session, and the device or terminal used to access the system. Running the <code>last</code> command without passing any options or specifying a username (or the keyword <code>reboot</code>) prints all users that have previously logged in as well as when the computer was rebooted.</p>\n<pre><code>$ last\nredward :0 :0 Tue Apr 18 09:48 still logged in\nreboot system boot 5.15.0-67-generi Tue Apr 18 09:47 still running\nredward :0 :0 Thu Apr 13 10:51 - crash (4+22:56)\nreboot system boot 5.15.0-67-generi Thu Apr 13 10:47 still running\nredward :0 :0 Mon Apr 10 21:59 - crash (2+12:48)\nreboot system boot 5.15.0-67-generi Mon Apr 10 21:58 still running\nredward :0 :0 Wed Apr 5 22:33 - down (4+23:24)\n.... truncated ....\n</code></pre>\n<p><code>redward</code> is the username who had logged in, in this example.</p>\n<p>The first column shows the username of the logged-in user, and the second column shows how the user is accessing the system, for example, via teletype (TTY) or pseudo-terminal. However, it shows “system boot” if it’s a restart task.</p>\n<p>The third column shows us where the user logged in from. We should expect to see a hostname or an IP address if the login was from a remote computer, an empty value if it was via teletype, or the kernel version if it’s a reboot task.</p>\n<p>Finally, the fourth column shows when the login activity happened, and the fifth column shows the logout time. The last column shows how long the user has been connected in the format “Hours: Minutes“.</p>\n<p>If you want to know the login times of the current logged in user (you), open a terminal by pressing <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>T</kbd> and enter:</p>\n<pre><code>last $USER | head -5\n</code></pre>\n<p>The <code>| head -5</code> part shows the last 5 logins by the current user. You may specify multiple users to find out about last logins by other users of the computer:</p>\n<pre><code>last barbie ken | head -5\n</code></pre>\n<p>See <code>man last</code> for various options</p>\n<p>Reference: <a href=\"https://www.baeldung.com/linux/monitor-login-attempts\" rel=\"nofollow noreferrer\">https://www.baeldung.com/linux/monitor-login-attempts</a></p>\n<p>Hope this helps</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-19T15:49:03.197", "id": "1507985", "lastActivityDate": "2024-03-20T15:38:32.960", "lastEditDate": "2024-03-20T15:38:32.960", "lastEditorDisplayName": null, "lastEditorUserId": "68186", "ownerDisplayName": null, "ownerUserId": "68186", "parentId": "1507880", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>The question is about a &quot;custom application&quot; failing to work with Startup Application. It is not clear if this &quot;custom application&quot; is a shell script or not. A properly written shell script beginning with a <a href=\"https://en.wikipedia.org/wiki/Shebang_(...
null
null
null
null
null
1507882
1
1507888
2024-03-18T16:04:02.077
1
56
<p>I don't know how can I hide the icons of my Personal directory. This appeared two weeks ago, and I have tried various solutions unsuccessfully. If I delete a file I see on the desktop, it deletes directly in the Home directory.</p> <p><a href="https://i.stack.imgur.com/qqGH2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qqGH2.jpg" alt="MyDesktop" /></a></p>
1773453
1749634
2024-03-19T13:38:57.057
2024-03-19T13:38:57.057
Icons from my Home Directory in 23.10
[ "desktop-environments", "23.10" ]
1
0
CC BY-SA 4.0
[]
{ "accepted": true, "body": "<p>Desktop icons can be disabled through the Extension Manager (if you want to learn more about it, a link I found helpful was <a href=\"https://itsfoss.com/extension-manager/\" rel=\"nofollow noreferrer\">https://itsfoss.com/extension-manager/</a> ).</p>\n<p>To install the program, run:</p>\n<pre><code>sudo apt install gnome-shell-extension-manager\n</code></pre>\n<p>When you open it, you should see something like this:</p>\n<p><a href=\"https://i.stack.imgur.com/WNe1t.png\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgur.com/WNe1t.png\" alt=\"Extension Manager\" /></a></p>\n<p>Go down to <code>System Extensions &gt; Desktop Icons</code> and toggle the button to be disabled:</p>\n<p><a href=\"https://i.stack.imgur.com/UJzPF.png\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgur.com/UJzPF.png\" alt=\"Desktop Icons disabled\" /></a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-18T16:48:32.013", "id": "1507888", "lastActivityDate": "2024-03-18T16:48:32.013", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1749634", "parentId": "1507882", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>Desktop icons can be disabled through the Extension Manager (if you want to learn more about it, a link I found helpful was <a href=\"https://itsfoss.com/extension-manager/\" rel=\"nofollow noreferrer\">https://itsfoss.com/extension-manager/</a> ).</p>\n<p>To install the prog...
null
null
2024-03-18T20:48:09.920
null
null
1507883
1
null
2024-03-18T16:11:19.393
0
69
<p>Lubuntu 22.04.4 LTS. How can I apply NTSync patches for kernel and Wine? I've built a few custom kernels years ago (16.04 or 18.04, I don't remember), but I have no idea how to apply NTSync patches.</p>
927629
null
null
2024-03-18T16:11:19.393
How to add NTSync support to both kernel and Wine?
[ "kernel", "wine", "compiling" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T16:35:25.593", "id": "2645587", "postId": "1507883", "score": "0", "text": "Are you sure NTSync isn't already integrated? You'd have to build a custom kernel setup for 22.04 probably from Mainline to get custom patches in. As for Wine, you'd have to probably patch...
null
[]
null
null
null
null
null
1507884
1
null
2024-03-18T16:14:38.967
0
21
<p>There's a certain HTTPS service at work that I can only access via logging in to a Windows server using Remmina, then start a browser on the Windows server. Is there a way I can &quot;tunnel&quot; (or &quot;proxy&quot;) this HTTPS service through the Remmina connection, so I can run the browser locally, outside Remmina? Later I need to test a web client application that runs locally, on Ubuntu. I'm using Remmina 1.4.25 on Ubuntu 22.04.4 LTS (jammy),</p>
297449
null
null
2024-03-18T16:14:38.967
Access HTTP server through Remmina
[ "remmina" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T18:03:07.580", "id": "2645601", "postId": "1507884", "score": "0", "text": "Remmina can't 'proxy' connections like this, no.", "userDisplayName": null, "userId": "10616" } ]
null
[]
null
null
null
null
null
1507885
1
null
2024-03-18T16:14:55.967
0
25
<p>I'm encountering a peculiar issue with Ubuntu 22.04. Whenever I manually initiate the suspension process (by selecting <code>Suspend</code> from the menu or using a command), my system freezes upon waking up. However, when the system automatically suspends after a period of inactivity, I don't face any problems upon resuming.</p> <p>What could be causing this discrepancy? Is there a specific setting or configuration that might be causing the manual suspension to trigger freezing? Any insights or troubleshooting steps would be greatly appreciated.</p> <p>I didn't know this issue until accidentally faced this. I already updated grub regarding my configurations in terms of graphic drivers like adding <code>nomodeset</code> or ... but none of them worked.</p> <p>It seems the Ubuntu is acting differently between manual suspension and automatic.</p> <p>My Laptop information:</p> <pre><code>Kernel: Linux 6.5.0-26-generic Architecture: x86-64 Hardware Vendor: Lenovo Hardware Model: IdeaPad Gaming 3 15IAH7 Graphic driver: Nvidia 545.29.06 NVML Version: 12.545.29.06 </code></pre>
1188070
null
null
2024-03-18T16:14:55.967
Manual suspension causing freezing in Ubuntu 22.04, while automatic suspension works fine. What could be the issue?
[ "suspend", "freeze" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507886
1
null
2024-03-18T16:19:05.370
0
40
<p>After I wake up my computer(Mi notebook ultra 2021) from suspend it doesn't let me click the field where the password needs to be entered. I have to restart by pressing <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>PRINT SCREEN</kbd> + REISUB.</p> <p>Going to tty by pressing <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>F5</kbd> shows the following 3 error in a loop at line speed :</p> <pre><code>Failed to rotate /var/log/journal/[computer-id]/system.journal : Input/output error Failed to rotate /var/log/jounal/[computer-id]/user-1000.journal : Input/output error Failed to write entry despite vacuuming, ignoring: Input/ output error </code></pre> <p>What can I do to fix it?</p> <p><code>tty</code> screen after waking up:</p> <p><a href="https://i.stack.imgur.com/aB5Hx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aB5Hx.jpg" alt="tty screen after waking up" /></a></p>
1774571
1749634
2024-03-18T18:16:07.747
2024-03-18T18:16:07.747
Ubuntu 22.04 shows systemd-journald error after I wake up from suspend
[ "suspend", "wakeup" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507889
1
null
2024-03-18T16:52:54.827
0
32
<p>I am trying to log off using editing <code>crontab -e</code> with the command</p> <pre><code>* * * * * gnome-session-quit </code></pre> <p>However, after one minute it is not asking or going for logout. Can anyone help me why is this the case?</p> <p>I am using Ubuntu 22.04</p>
1776143
1450948
2024-03-19T13:39:44.340
2024-03-19T13:39:44.340
Failed to logout using cron
[ "22.04", "cron" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T17:08:32.620", "id": "2645592", "postId": "1507889", "score": "1", "text": "Welcome to Ask Ubuntu. Which distro and version of Linux are you using? Please add more context of what you are trying to to do. You may have to add the full path of the program you want to ...
null
[]
null
null
null
null
null
1507892
1
null
2024-03-18T17:26:44.153
1
11
<p>I am using Ubuntu 23.10 on a laptop and a desktop. The external monitors are on separate rigs (one on my downstairs laptop setup) and one permanently connected to my upsatiars desktop). On both, when I lock my screen (e.g. <code>Super</code> + <code>L</code>), the external monitors initially turn off, but then come back on to the lock screen and stay like that, or cycle through the monitors' &quot;no input found&quot; automatic suspend function.</p> <p>The same thing happens when I suspend my laptop - after a few seconds, the external monitor comes back on to the lock screen. When I suspend my desktop, the &quot;no input found&quot; cycles every 10 or so seconds and never goes into the monitor's suspended state.</p>
1056398
null
null
2024-03-18T17:26:44.153
External monitors not remaining off after screen lock/suspend
[ "display", "suspend", "monitor", "23.10", "lock" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507894
1
null
2024-03-18T17:42:08.260
0
22
<p>I have my main site <a href="https://mysite.com" rel="nofollow noreferrer">https://mysite.com</a> in nextjs and wordpress blog on subdomain <a href="https://blog.mysite.com" rel="nofollow noreferrer">https://blog.mysite.com</a>. They both are hosted on different servers and diff hostings.</p> <p>I need my blog to be accessible via subdirectory in main site - <a href="https://mysite.com/blog" rel="nofollow noreferrer">https://mysite.com/blog</a></p> <p>I have successfully proxied nextjs <a href="https://mysite.com/blog" rel="nofollow noreferrer">https://mysite.com/blog</a> to see blog but blog's internal links, pages, posts, media is still pointing to subdomain.</p> <pre><code>async rewrites() { return [ { source: '/blog', destination: 'https://blog.mysite.com/', }, { source: '/blog/:slug', destination: 'https://blog.mysite.com/:slug', // Matched parameters can be used in the destination }, ] </code></pre> <p>},</p> <p>I have tried many solutions but end up breaking wordpress config</p> <p>Need help</p> <p>solutions tried</p> <ul> <li><a href="https://medium.com/one-weekend-at-a-time/how-to-reverseproxy-wordpress-at-blog-from-any-sub-domain-ec8e5159e305" rel="nofollow noreferrer">https://medium.com/one-weekend-at-a-time/how-to-reverseproxy-wordpress-at-blog-from-any-sub-domain-ec8e5159e305</a></li> <li><a href="https://proxyscrape.com/blog/using-a-reverse-proxy-to-install-a-wordpress-blog-for-enhanced-seo" rel="nofollow noreferrer">https://proxyscrape.com/blog/using-a-reverse-proxy-to-install-a-wordpress-blog-for-enhanced-seo</a></li> </ul>
281115
null
null
2024-03-18T17:42:08.260
Access wordpress blog on subdirectory /blog that is running on subdomain
[ "server", "20.04", "apache2", "proxy", "wordpress" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T00:08:49.607", "id": "2645662", "postId": "1507894", "score": "2", "text": "You will need to change a lot of things in the database itself, as WordPress does not like having such a structure changed after installation. The [WordPress SE site](https://wordpress.stack...
null
[]
null
null
null
null
null
1507899
1
null
2024-03-18T18:38:53.797
2
128
<p><a href="https://i.stack.imgur.com/2sscz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2sscz.png" alt="enter image description here" /></a>New Linux user here. I have a dark theme on Ubuntu 22.04 but Nemo 5.24 it does not show up. Is there anyway to set a dark theme in Nemo? I saw an answer to a question similar to mine but it was made long time ago and it did not seem to work for me. <a href="https://i.stack.imgur.com/8ew27.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8ew27.png" alt="enter image description here" /></a></p>
1773171
1773171
2024-03-18T22:35:17.817
2024-03-19T16:28:09.717
Dark theme on nemo
[ "22.04", "themes", "color-management" ]
2
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T19:27:06.233", "id": "2645615", "postId": "1507899", "score": "0", "text": "Have you tried: `gsettings set org.gnome.desktop.interface color-scheme prefer-dark`", "userDisplayName": null, "userId": "1749634" }, { "creationDate": "2024-03-18T20:19:07....
null
[ { "accepted": null, "body": "<p>You can try to achieve a dark theme in <code>Nemo</code> by changing the system theme in <code>Gnome Tweaks</code>.</p>\n<p>To install <code>Gnome Tweaks</code>:</p>\n<pre><code>sudo apt install gnome-tweaks\n</code></pre>\n<p>When you open the application you will see someth...
null
null
null
null
null
1507900
1
null
2024-03-18T18:52:56.750
1
47
<p>I am using Ubuntu 23.10 and did the whole process of configuring my Google Account with Gnome via the Online Account section in the settings. After doing so, and making sure only files is enabled as seen here:</p> <p><a href="https://i.stack.imgur.com/Tp0oO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tp0oO.png" alt="enter image description here" /></a></p> <p>Copying a local folder to Google Driver is painfully slow. Like VERY SLOW as seen here:</p> <p><a href="https://i.stack.imgur.com/dXEDD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dXEDD.png" alt="enter image description here" /></a></p> <p>For reference, my speed right now:</p> <p><a href="https://i.stack.imgur.com/nGsQO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nGsQO.png" alt="enter image description here" /></a></p> <p>I do not want to use an alternative as seen here (which many of those are gone now): <a href="https://askubuntu.com/questions/1089495/google-drive-takes-a-very-long-time-to-open-with-gnome-online-accounts">Google Drive takes a very long time to open with GNOME Online Accounts</a></p> <p>Do note that the issue here is speed, not connecting google to gnome (That part worked flawlessly).</p>
7035
null
null
2024-03-18T18:52:56.750
Gnome Online Accounts very slow with Google Drive
[ "gnome", "23.10", "online-accounts", "google-drive" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T10:23:15.960", "id": "2645745", "postId": "1507900", "score": "0", "text": "I can't really answer your question and I know you said you don't want \"those\" alternatives but I dropped the Gnome/Google link years ago and never looked back. Not necessarily for speed ...
null
[]
null
null
null
null
null
1507904
1
null
2024-03-18T19:54:47.617
0
22
<p>Environment: ubuntu 23.10.1 iso, USB 31GB Leef Bridge-C, booted persistent ubuntu from grub boot menue, macpro 2013, AMDGPU, 32GB RAM.</p> <p>Steps to repeat:</p> <ol> <li>download ubuntu iso and create persistent ubuntu using mkusb successfully</li> <li>boot from usb into persistent ubuntu (on MacPro you hold the Alt button until USB drive shows after keyboard LEDs first light up)</li> <li>boot extremely slow 1hr</li> <li>completely unusable after boot</li> </ol> <p>Any button on the UI selected including the initial language selection takes 10min or so to complete. Many errors are detected by Ubuntu and it asks to create and send error reports, which i did. Any application selected such as disks never loads, snap store loads after 30min, but selecting update only generates errors, it appears the USB isn't writeable or persistent at all.</p> <p>Work around select ubuntu live from grub boot menue. Boots quickly, fully functioning ubuntu with acceptable delays and app load times.</p>
1189739
null
null
2024-03-18T19:54:47.617
Persitent mkusb Ubuntu Live USB Completely Unusable
[ "live-usb", "23.10", "mkusb" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T13:39:36.740", "id": "2645768", "postId": "1507904", "score": "0", "text": "At first I should mention, that mkusb is developed for PC computers and laptops typically delivered with Windows, but not developed for Mac computers. So I am not surprised, that there are p...
null
[]
null
null
null
null
null
1507906
1
null
2024-03-18T20:02:16.413
0
20
<p>I have a Windows 10 host machine which runs a VPN and then on that host I have a guest machine on VMWare which has its own VPN. This works fine with ExpressVPN on the host.</p> <p>However, I have set up a new host machine running Ubuntu and I cannot get the above setup to work. When the host runs a VPN, the guest machine loses its internet connection. I have tried toggling between bridged &amp; NAT on VMWare. I have tried many different types of VPN services on the Host.</p> <p>I am relatively new to Linux and not a programmer or particularly skilled with computers. Are there any settings I can try or experiment with to help resolve this?</p>
1776126
null
null
2024-03-18T20:02:16.413
VMWare VPN on host conflict with VPN on guest machine
[ "vpn", "vmware" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507908
1
null
2024-03-18T20:46:49.390
2
311
<p>I encounter the following error after running <code>sudo apt upgrade</code> in Ubuntu 22.04:</p> <pre><code>dpkg: error processing package linux-hwe-6.5-headers-6.5.0-26 (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of linux-headers-6.5.0-26-generi c: linux-headers-6.5.0-26-generic depends on linux-hwe-6.5-headers-6.5.0-26; howev er: Package linux-hwe-6.5-headers-6.5.0-26 is not configured yet. dpkg: error processing package linux-headers-6.5.0-26-generic (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup erro r from a previous failure. No apport report written because the error message ind icates its a followup error from a previous failure. dpkg: dependency problems pr event configuration of linux-headers-generic-hwe-22.04: linux-headers-generic-hwe-22.04 depends on linux-headers-6.5.0-26-generic; howe ver: Package linux-headers-6.5.0-26-generic is not configured yet. dpkg: error processing package linux-headers-generic-hwe-22.04 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: linux-hwe-6.5-headers-6.5.0-26 linux-headers-6.5.0-26-generic linux-headers-generic-hwe-22.04 E: Sub-process /usr/bin/dpkg returned an error code (1) </code></pre>
1776178
1450948
2024-03-19T13:38:11.953
2024-03-19T13:38:11.953
I encounter this after running sudo apt upgrade
[ "apt", "upgrade", "kernel", "dpkg" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T02:38:01.480", "id": "2645699", "postId": "1507908", "score": "0", "text": "@user535733 this answer solve the problem", "userDisplayName": null, "userId": "1776178" } ]
null
[ { "accepted": null, "body": "<p>The key phrase in the error message is <code>package is in a very bad inconsistent state; you should reinstall it before attempting configuration</code></p>\n<p>Reinstall the problematic package using <code>sudo apt install --reinstall &lt;package-name&gt;</code></p>\n<p>So, ...
null
null
2024-03-19T08:44:15.530
null
null
1507910
1
null
2024-03-18T20:54:58.583
0
60
<p>I have a problem in my personal folder, there are links with error that i cann't resolve. I take a problem in the last days, that my desktop shows the icons of my personal folder, but I resolved this with other questions.</p> <p>Show my personal folder to view the icons with red cross... <a href="https://i.stack.imgur.com/vFs3k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vFs3k.png" alt="enter image description here" /></a></p> <p>What can i do??</p> <p>There are links that must be folders....</p> <p><a href="https://i.stack.imgur.com/a1kC3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a1kC3.png" alt="enter image description here" /></a></p>
1773453
1773453
2024-03-19T08:14:17.580
2024-03-19T09:29:17.070
Links to folders that don't work
[ "directory", "23.10" ]
2
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>I assume that &quot;Carpeta Personal&quot; is the same as $HOME.</p>\n<p>To display where the links point, do this:</p>\n<ul>\n<li>Open a Terminal, hold CTRL+ALT and hit T</li>\n<li>type a single <code>cd</code> and hit ENTER - this ensures you're in $HOME</li>\n<li>type <cod...
null
null
null
null
null
1507911
1
null
2024-03-18T21:02:24.847
0
45
<p>I recently installed Ubuntu 22.04 ARM version on my M2 MacBook Air using Parallels Desktop. I did this because I am taking the Google IT Support certificate through Coursera and wanted access to Linux for practise and learning. I have no previous experience with Linux other than through Coursera. One of my Coursera videos demonstrated viewing the &quot;syslog&quot; file found in the /var/log directory. However, no such &quot;syslog&quot; file exists in the /var/log directory in my installation. I note that the Google course is using an older version of Ubuntu. Should the &quot;syslog&quot; file exist in the var/log file in my installation and if so, does anyone know why it isn't there? <a href="https://i.stack.imgur.com/gItEY.png" rel="nofollow noreferrer">Screenshot of ls /var/log</a></p>
1776181
null
null
2024-03-18T21:19:31.450
Syslog file missing 22.04
[ "syslog" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>In attempting to fix another problem (unable to view &quot;man&quot; pages for commands), I discovered that Parallels Desktop installs a &quot;minimized&quot; version of Ubuntu. I ran the &quot;sudo unminimize&quot; command per a helpful post in the Parallels Desktop communit...
null
null
null
null
null
1507912
1
null
2024-03-18T21:14:04.563
0
64
<p>I'm using Kubuntu (Ubuntu using KDE), and have run into an odd issue. For work I have to use Microsoft OneNote. As there is no native Linux app, I run it in the browser. I'm one of those people that doesn't like to run various apps in browser tabs in the same window, so I use different browsers to open apps and leave them open in separate monitors (I have 4).</p> <p>In one monitor, I use &quot;Brave Browser&quot; to open OneNote. I have the launcher icon set to open the URL when clicked, and it's the only thing I use Brave for.</p> <p>The application launcher icon uses this as the &quot;Command&quot; entry..</p> <pre><code>/usr/bin/brave-browser-stable %U https://&lt;&lt;REDACTED URL FOR MY ONENOTE &gt;&gt; </code></pre> <p>For quite a while, it worked fine. Then about 60 days ago when I launched it in the AM there were 2 tabs. I closed the second tab and logged in. For some reason, it has kept expanding over time. As of right now, there are 8 tabs in the AM when I launch it.</p> <p><a href="https://i.stack.imgur.com/lIfOv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lIfOv.png" alt="enter image description here" /></a></p> <p>The tabs that say &quot;Error...&quot; are just from MS saying something went wrong.</p> <p><a href="https://i.stack.imgur.com/1n1e5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1n1e5.png" alt="enter image description here" /></a></p> <p>I've tried everything I can think of, but I cannot prevent it from launching these additional tabs.</p> <p>Any thoughts?</p> <p><em><strong>Edited to add...</strong></em></p> <p>I'm running Brave version 1.63.174. Installed directly from the apt repos. <a href="https://i.stack.imgur.com/lCUsZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lCUsZ.png" alt="enter image description here" /></a></p> <p>@guiverc Here's for your questions.</p> <ol> <li><p>I'm using Kubuntu. Which is why I see this... → lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy</p> </li> <li><p>I have brave-browser installed via apt using the following repo...</p> </li> </ol> <p>→ pwd /etc/apt/sources.list.d</p> <p>→ cat brave-browser-release.list</p> <p>deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] <a href="https://brave-browser-apt-release.s3.brave.com/" rel="nofollow noreferrer">https://brave-browser-apt-release.s3.brave.com/</a> stable main</p> <ol start="3"> <li>I am not using snap AT ALL.</li> </ol> <p>→ snap list</p> <p>Command 'snap' not found, but can be installed with: sudo apt install snapd</p> <p>Anything else you want to know?</p>
976723
976723
2024-03-20T21:48:45.423
2024-03-20T21:48:45.423
Opening Browser keeps adding more tabs
[ "launcher", "brave", "tabs" ]
0
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T21:24:20.050", "id": "2645630", "postId": "1507912", "score": "0", "text": "Providing your release may make it easier for people to help you (*I have no experience with `brave` so cannot; but even if I did you've provided few details as to your software stack as rel...
null
[]
null
null
null
null
null
1507917
1
null
2024-03-18T21:35:07.700
0
23
<p>so I have ubuntu installed on my pc with 3 monitors connected. Two which are connected to my RTX 2060 super GPU and 1 is connected to my motherboard (intel)</p> <p>I decided to install the Nvidia drivers in the additional drivers app of ubuntu and when I rebooted my pc only the Nvidia monitors work, the monitor connected to the motherboard is blank</p> <p>Is there any way to fix this?</p>
1776187
null
null
2024-03-18T21:35:07.700
Ubuntu Intell display monitor is not working
[ "20.04", "nvidia", "22.04", "intel-graphics", "nvidia-prime" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507919
1
null
2024-03-18T21:44:46.873
0
32
<p>Instead of the slim splash screen, it goes back to the command line login after reboot.</p> <p><a href="https://i.stack.imgur.com/DVjZu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DVjZu.jpg" alt="login screen" /></a></p>
1776189
94914
2024-03-19T01:27:27.763
2024-03-19T01:27:27.763
I installed slim on ubuntu server but after reboot it doesn't go to a splash screen, it goes to the console log in
[ "boot" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507920
1
null
2024-03-18T22:24:24.360
0
44
<p>I have tried installing Ubuntu 23.10 as a fresh install on my newly purchased HP Envy x360 - 13-bf0047na (it is a 2-in-1 HP laptop). I cannot get the OS to see the touchscreen.</p> <p>I have tried changing the session to Xorg, at the login screen, with no effect.</p> <p>I have tried querying xinput and lsusb in a terminal, it appears that the OS doesn't see any touchscreen. Hence I can't try any of the other fixes mentioned on this site. I have also tried installing Fedora and Zorin, with no greater success in detecting a touchscreen.</p> <p>The touchscreen works fine in Windows 11 (I set the machine up to dual boot with linux).</p> <p>Any ideas, before I simply return the laptop to HP (I have a few days in which to do this, with no penalty)?</p>
1776194
null
null
2024-03-18T22:24:24.360
Touchscreen not seen after installing Ubuntu 23.10 on HP Envy x360 - 13-bf0047na
[ "hp", "touchscreen", "23.10" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507921
1
null
2024-03-18T23:10:21.527
0
38
<p>I'd like to create a media center similar to Kodi in Pyglet. Was wondering if it'd be possible to boot into my Pyglet script as the primary DE.</p> <p>For those wanting more details, I plan to make it a streaming box, capable of playing anything you find on Google Video search.</p>
40299
40299
2024-03-18T23:28:37.800
2024-03-18T23:28:37.800
Is it possible to boot a Pyglet script as the desktop environment
[ "python3", "opengl" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T02:04:58.973", "id": "2645677", "postId": "1507921", "score": "0", "text": "When I login at the *greeter* or DM, I can choose what session I'll use. On my install here (*you didn't provide release details so I'm using my own noble system*) I have options which inclu...
null
[]
null
null
null
null
null
1507922
1
null
2024-03-18T23:30:24.887
1
123
<p>I tried Cheese but t says &quot;There was an error playing video from the webcam&quot; (on the Take a Photo page). My webcam works on Skype, but nothing here. I also tried &quot;shotwell&quot; but only the background is in focus, not my face.<br /> I'd like to take a photo with my webcam.</p>
661173
null
null
2024-03-27T22:54:32.267
how to get Cheese to see webcam? (ubuntu 22.04)
[ "cheese" ]
2
6
CC BY-SA 4.0
[ { "creationDate": "2024-03-18T23:44:56.113", "id": "2645658", "postId": "1507922", "score": "1", "text": "Have you seen: https://askubuntu.com/questions/1245040/webcam-not-working-on-ubuntu-20-04-after-recent-kernel-update", "userDisplayName": null, "userId": "1749634" }, { "crea...
null
[ { "accepted": null, "body": "<p>I went into the &quot;ubuntu software' and searched for 'cheese'. There were 2 of them. I noted the one I installed and uninstalled it and then installed the other version. That one hooked up with my USB camera. Different version.</p>\n", "commentCount": "0", "...
null
null
null
null
null
1507923
1
null
2024-03-19T00:54:56.607
0
15
<p>I inherited a ubuntu 20.0 system that the grub.cfg was overwritten by ubuntu 19.4 version (I think). the original grub.cfg is gone without backing it up. I see all the files in /boot/vmlinuz* and /boot/initrd*. I am thinking to boot the system with cd for rescue. go to root filesystem and run grub-update to update with files under /boot run grub-mkconfig -o /boot/grub/grub.cfg to update the file with all the contents of the /boot.<br /> I am not sure if I need to run grub-install. Am I way off? Any help would be greatly appreciated.</p> <p>Thanks,</p>
1776211
null
null
2024-03-19T00:54:56.607
ubuntu 20.0 grub.cfg is overwritten by rescue cd with older ubuntu version
[ "boot", "system-installation", "kernel", "updates" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T01:56:05.310", "id": "2645673", "postId": "1507923", "score": "1", "text": "Your details are unclear to me; Ubuntu's release format is *year.month* so 20.0 makes no sense; do you mean the 2020-April release version or 20.04 for example? You've not indicated what ty...
null
[]
null
null
null
null
null
1507924
1
null
2024-03-19T01:21:30.823
0
37
<p><a href="https://i.stack.imgur.com/BeRFc.png" rel="nofollow noreferrer">This is My computer</a></p> <p>I am studying 6.1810: Operating System Engineering. <a href="https://pdos.csail.mit.edu/6.828/2023/tools.html" rel="nofollow noreferrer">https://pdos.csail.mit.edu/6.828/2023/tools.html</a></p> <p>I followed the instruction:</p> <pre><code>sudo apt-get install git build-essential gdb-multiarch qemu-system-misc gcc-riscv64-linux-gnu binutils-riscv64-linux-gnu </code></pre> <p><a href="https://i.stack.imgur.com/CO6Ar.png" rel="nofollow noreferrer">After installation</a></p> <p>However, there is no riscv64-unknown-elf-gdb which is needed in the following labs. Besides, I want to learn how to install softwares from sources.</p> <p>Following some guidance, I got the sources code of gdb-14.2.</p> <pre><code>cd gdb-13.1 mkdir build &amp;&amp; cd build ../configure --prefix=/usr/local --target=riscv64-unknown-elf --enable-tui=yes </code></pre> <pre><code>checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... riscv64-unknown-elf checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for gdbserver support... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... yes checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada and is recent enough... no checking for gdc... no checking whether the D compiler works... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of the gmp/mpfr libraries... yes checking for isl 0.15 or later... no required isl version is 0.15 or later *** This configuration is not supported in the following subdirectories: gdbserver (Any other directories should still work fine.) checking for default BUILD_CONFIG... checking for --enable-vtable-verify... no checking for bison... no checking for byacc... no checking for yacc... no checking for bison... no checking for gm4... no checking for gnum4... no checking for m4... no checking for flex... no checking for lex... no checking for flex... no checking for makeinfo... no /home/hardstone/gdb-14.2/missing: 81: makeinfo: not found checking for expect... no checking for runtest... no checking for ar... ar checking for as... as checking for dlltool... no checking for dsymutil... no checking for ld... ld checking for lipo... no checking for nm... nm checking for ranlib... ranlib checking for strip... strip checking for windres... no checking for windmc... no checking for objcopy... objcopy checking for objdump... objdump checking for otool... no checking for readelf... readelf checking for -plugin option... --plugin /usr/lib/gcc/x86_64-linux-gnu/12/liblto_plugin.so checking for riscv64-unknown-elf-cc... no checking for riscv64-unknown-elf-gcc... riscv64-unknown-elf-gcc checking for riscv64-unknown-elf-c++... riscv64-unknown-elf-c++ checking for riscv64-unknown-elf-gcc... riscv64-unknown-elf-gcc checking for riscv64-unknown-elf-gfortran... no checking for riscv64-unknown-elf-gccgo... no checking for riscv64-unknown-elf-gdc... no checking for riscv64-unknown-elf-gm2... no checking for riscv64-unknown-elf-ar... riscv64-unknown-elf-ar checking for riscv64-unknown-elf-as... riscv64-unknown-elf-as checking for riscv64-unknown-elf-dlltool... no checking for riscv64-unknown-elf-dsymutil... no checking for riscv64-unknown-elf-ld... riscv64-unknown-elf-ld checking for riscv64-unknown-elf-lipo... no checking for riscv64-unknown-elf-nm... riscv64-unknown-elf-nm checking for riscv64-unknown-elf-objcopy... riscv64-unknown-elf-objcopy checking for riscv64-unknown-elf-objdump... riscv64-unknown-elf-objdump checking for riscv64-unknown-elf-otool... no checking for riscv64-unknown-elf-ranlib... riscv64-unknown-elf-ranlib checking for riscv64-unknown-elf-readelf... riscv64-unknown-elf-readelf checking for riscv64-unknown-elf-strip... riscv64-unknown-elf-strip checking for riscv64-unknown-elf-windres... no checking for riscv64-unknown-elf-windmc... no checking where to find the target ar... pre-installed checking where to find the target as... pre-installed checking where to find the target cc... pre-installed checking where to find the target c++... pre-installed checking where to find the target c++ for libstdc++... pre-installed checking where to find the target dlltool... pre-installed checking where to find the target dsymutil... pre-installed checking where to find the target gcc... pre-installed checking where to find the target gfortran... pre-installed checking where to find the target gccgo... pre-installed checking where to find the target gdc... pre-installed checking where to find the target gm2... pre-installed checking where to find the target ld... pre-installed checking where to find the target lipo... pre-installed checking where to find the target nm... pre-installed checking where to find the target objcopy... pre-installed checking where to find the target objdump... pre-installed checking where to find the target otool... pre-installed checking where to find the target ranlib... pre-installed checking where to find the target readelf... pre-installed checking where to find the target strip... pre-installed checking where to find the target windres... pre-installed checking where to find the target windmc... pre-installed checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile </code></pre> <p>Then I tried to compile. <a href="https://paste.ubuntu.com/p/P4DJqtkVJ3/" rel="nofollow noreferrer">https://paste.ubuntu.com/p/P4DJqtkVJ3/</a></p> <p>I guess it is because I lost some packages or I didn't write the 'configure' options correctly.</p>
1776111
1776111
2024-03-19T01:33:36.250
2024-03-19T01:33:36.250
Fail to compile riscv64-unkown-elf-gdb
[ "server", "compiling", "23.04", "gdb" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T01:51:04.403", "id": "2645672", "postId": "1507924", "score": "1", "text": "Ubuntu 23.04 (along with all flavors) is *End-of-Life* and thus *unsupported* on this site (https://askubuntu.com/help/on-topic), and many other Ubuntu sites, unless your question is specifi...
null
[]
null
null
null
null
null
1507925
1
null
2024-03-19T01:30:58.600
0
42
<p>When I manually try to turn off my WiFi or switch network from the system tray, NetworkManager crashes and I get this <a href="https://i.stack.imgur.com/JN8ym.png" rel="nofollow noreferrer">NetworkManager needs to be running</a></p> <p>I followed a solution from here <a href="https://askubuntu.com/questions/1402589/network-manager-needs-to-be-running">Ask Ubuntu | NetworkManager needs to be running</a> but when I try to run any of the commands like <code>sudo systemctl restart NetworkManager</code> my system freezes and I have to press and hold the power button to power off.</p> <p>Here are my system specs.</p> <p><a href="https://i.stack.imgur.com/8sVcW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8sVcW.png" alt="system specs" /></a></p>
1776215
94914
2024-03-19T03:42:02.760
2024-03-19T03:42:02.760
Network Manager keeps crashing
[ "networking", "network-manager" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507926
1
1508029
2024-03-19T01:48:02.837
2
124
<p>I know you can use <code>export LANG=xx_XX.UTF8</code> to run a program under specific locale, but regional settings in Linux/Ubuntu also feature &quot;Formats&quot; option.</p> <p>Is there a way to run an app under specific <code>locale</code> and <code>formats</code> (en_US and en_GB respectively) for testing purposes, without affecting system-wise settings?</p> <p>Follow-up question: how can I dump all ENV variables/setup under which the specific process is running?</p>
1776222
1776222
2024-03-19T02:01:39.303
2024-03-20T21:08:44.107
Running an app under specific locale "formats"
[ "command-line", "locale", "localization" ]
1
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T20:57:24.393", "id": "2645841", "postId": "1507926", "score": "0", "text": "Is it a GUI program? ... You can set the environment variable specifically and only for a certain program like e.g. `LANG=en_US.UTF-8 program` i.e. on the commandline itself directly before ...
{ "accepted": true, "body": "<blockquote>\n<p>Is there a way to run an app under specific locale and formats (en_US\nand en_GB respectively) for testing purposes, without affecting\nsystem-wise settings?</p>\n</blockquote>\n<p>Yes, you can set environment variables on the commandline itself before the program's name/command like <code>LANG</code> for example with <code>gedit</code>:</p>\n<pre><code>LANG=en_US.UTF-8 gedit\n</code></pre>\n<p>... and that will set that environment variable specifically and only for that certain program i.e <code>gedit</code> during that certain session/run ... However, the chosen language should be both supported by and installed for that certain program for this to work.</p>\n<p>Other local/regional formats, however, can be explicitly set separately each has its own specific environment variable like for example <code>LC_MEASUREMENT</code>, <code>LC_TIME</code>, <code>LC_NUMERIC</code>, <code>LC_MONETARY</code> ... etc. and you can set as many of those as you need in the same way like for example:</p>\n<pre><code>LANG=en_US.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_NUMERIC=en_GB.UTF-8 gedit\n</code></pre>\n<blockquote>\n<p>How can I dump all ENV variables/setup under which the specific\nprocess is running?</p>\n</blockquote>\n<p>Assuming a currently running process ... That is in <code>/proc/PID/environ</code> where <code>PID</code> is the actual running process's ID.</p>\n<p>Taking <code>gedit</code> as an example program, those can be dumped (<em>in Bash</em>) for example like so:</p>\n<pre><code>(gedit &amp; disown) &amp;&gt;/dev/null; cat /proc/$(pgrep 'gedit')/environ\n</code></pre>\n<p>... those, however, are NUL/zero delimited entries and, <strong>for readability</strong>, you might want to parse them into separate lines by for example piping the output to <code>xargs</code> like so:</p>\n<pre><code>(gedit &amp; disown) &amp;&gt;/dev/null; cat /proc/$(pgrep 'gedit')/environ |\nxargs -0 -n1\n</code></pre>\n<p><strong>Notice</strong> that while most commandline programs will honor all the explicitly set commandline locale environment variables and the global environment variables otherwise, this is not the case with GUI programs ... Simple GUI programs and DE shipped programs (like Gnome apps for example) will most likely honor those environment variable likewise, but more complex/independent programs like web-browsers for example will most likely have their own internal configuration files that are set inside their UI and will ignore external duplicate environment settings and accept others that are not internally set ...</p>\n<p>As an example, the FireFox web-browser only accepts setting the user interface language from within its preferences menu in the UI and saves it as an entry called <code>intl.locale.requested</code> that will look something like <code>user_pref(&quot;intl.locale.requested&quot;, &quot;en-US,ar&quot;);</code> and that is saved in a file called <code>prefs.js</code> inside the active profile's directory i.e. for the SNAP version that would be in <code>~/snap/firefox/common/.mozilla/firefox/0qag4e79.default/prefs.js</code> for example ... And therefore the <code>LANG</code> or <code>LANGUAGE</code> locale environment variables are ignored whether globally set or explicitly set on the commandline ... However, other locale related environment variables like <code>LC_MEASUREMENT</code>, <code>LC_TIME</code>, <code>LC_NUMERIC</code> and <code>LC_MONETARY</code> are still honored (in both cases) as it appears until now, so you can set those ones explicitly on the commandline if you wish and expect them to both be reflected in <code>/proc/PID/environ</code> and take effect as well when applicable.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2024-03-20T17:19:29.330", "id": "2645986", "postId": "1508029", "score": "0", "text": "What about GUI programs like Firefox? Will it honor/obey locale enforced?", "userDisplayName": null, "userId": "1776222" }, { "creationDate": "2024-03-20T21:08:42.123", "id": "2646046", "postId": "1508029", "score": "0", "text": "@Digika Some will fully, some will partially and some won't ... I have updated the answer for that.", "userDisplayName": null, "userId": "968501" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-20T00:34:10.523", "id": "1508029", "lastActivityDate": "2024-03-20T21:08:44.107", "lastEditDate": "2024-03-20T21:08:44.107", "lastEditorDisplayName": null, "lastEditorUserId": "968501", "ownerDisplayName": null, "ownerUserId": "968501", "parentId": "1507926", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<blockquote>\n<p>Is there a way to run an app under specific locale and formats (en_US\nand en_GB respectively) for testing purposes, without affecting\nsystem-wise settings?</p>\n</blockquote>\n<p>Yes, you can set environment variables on the commandline itself before the progr...
null
null
null
null
null
1507931
1
null
2024-03-19T02:24:09.307
0
65
<p>I've been having issues with pulling requests and accessing sites in terminal. gives me the certificate signed by unknown authority error.</p> <p>I have followed guides to install the certificate system-wide, but I'm either doing something wrong (being new to Ubuntu still it's likely) or that guide isn't good for the ca cert I'm using.[where the guide told me to paste the <a href="https://i.stack.imgur.com/wRJ6L.png" rel="nofollow noreferrer">cert</a>. I hope I can find someone that actually knows what they are doing to tell me what I'm doing horribly wrong. The cert file is pasted in the certificates folder before I updated the certificates using the commands below.</p> <p>I used this line of commands to try install the cert:</p> <pre class="lang-none prettyprint-override"><code>sudo apt-get install -y ca-certificates sudo cp local-ca.crt /usr/local/share/ca-certificates sudo update-ca-certificates </code></pre> <p>this is the output of the commands <a href="https://i.stack.imgur.com/t0oe7.png" rel="nofollow noreferrer">screenshot of terminal output</a></p> <p>Here is the guide I have been using: <a href="https://ubuntu.com/server/docs/security-trust-store" rel="nofollow noreferrer">https://ubuntu.com/server/docs/security-trust-store</a></p>
1776232
1776232
2024-03-21T01:42:49.607
2024-03-21T01:42:49.607
issues with school CA certificates in terminal
[ "certificates" ]
1
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T03:00:10.890", "id": "2645701", "postId": "1507931", "score": "0", "text": "Please [edit] your question to include the elements of the solution you've tried in the post itself rather than relying on a link to the guide you followed. We need to understand what steps ...
null
[ { "accepted": null, "body": "<p>If you open the education-ca.cer file that you pasted into /usr/local/share/ca-certificates inside of a text editor, do you see lines near the top that start ------begin certificate------ or something similar?</p>\n<p>If you do, then rename it to education-ca.<strong>crt</str...
null
null
null
null
null
1507932
1
null
2024-03-19T04:10:55.317
1
36
<p>I recently installed Mullvad browser on one of my copies of Lubuntu 22.04. However, when I click on the link (or entry) for it in the start menu, nothing happens. Yet, when I click on the icon located in my .local/share/applications folder, the browser comes up with no problems. How can I get the browser to come up using the link in the start menu? :-/</p> <p>Thank you for your help, I appreciate it! :-)</p> <p><a href="https://i.stack.imgur.com/mlKUu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mlKUu.jpg" alt="screenshot from 2024-03-01" /></a></p>
498956
498956
2024-03-19T05:06:51.537
2024-03-19T05:06:51.537
Can't get app to come up using the link (or entry) in the start menu
[ "22.04", "lubuntu", "menu" ]
0
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T06:03:51.083", "id": "2645711", "postId": "1507932", "score": "0", "text": "Maybe useful (*creating a desktop launcher*) is in the manual - https://manual.lubuntu.me/lts/5/5.2/desktop_icons.html", "userDisplayName": null, "userId": "469152" }, { "cre...
null
[]
null
null
null
null
null
1507933
1
null
2024-03-19T04:39:26.970
1
35
<p>I am using a Lenovo Thinkbook 16 G6 (2024 version) laptop. I tried to install Ubuntu 22.04.4 (dual boot with Win11), but when I needed to use dual display, I found out that my Ubuntu has no dual screen option in the Display setting. I checked the cable and it works with the Windows but not with Ubuntu. I tried different versions, including 20.04 beta and 20.04.6, and they also didn't work. The two latter versions had even more problems (no wifi and sound support). How can I fix this?</p> <p><img src="https://i.stack.imgur.com/6qH7h.png" alt="you can look at this picture" /></p>
1776242
1450948
2024-03-19T06:59:19.130
2024-03-19T06:59:19.130
No dual display obtion on my Ubuntu 22.04.4
[ "dual-boot", "22.04", "display", "error-handling" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-20T02:18:42.137", "id": "2645873", "postId": "1507933", "score": "0", "text": "Your details are somewhat vague; you mention 20.04 *beta* so you have a *daily* from four years ago? as the *beta* release will show almost nothing as it's a *daily* of an *unreleased* produ...
null
[]
null
null
null
null
null
1507934
1
null
2024-03-19T05:38:53.517
0
18
<p>I am facing the problem of not being able to launch the <code>burai.desktop</code> <code>burai.sh</code> application in spite of following all the steps of deleting existing java and reinstalling a new java version. After trying to launch through the terminal, the message shows:</p> <pre><code>Could not find or load main class burai.app.QEFXMain java.lang.NoClassDefFoundError: javafx/application/Application </code></pre> <p>for both <code>./burai.sh</code> and <code>java -jar burai.jar</code> commands.<br /> What can I do?</p>
1776250
51957
2024-03-19T13:42:31.617
2024-03-19T13:42:31.617
Unable to launch/start a java application(BURAI1.3.2)
[ "java", "javafx" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T06:38:53.893", "id": "2645716", "postId": "1507934", "score": "0", "text": "which Ubuntu version are you using? What have you tried already?", "userDisplayName": null, "userId": "884673" }, { "creationDate": "2024-03-19T16:27:37.650", "id": "2645...
null
[]
null
null
null
null
null
1507935
1
null
2024-03-19T05:45:30.437
0
71
<p>I'm using Ubuntu 22.04 and installed a real-time kernel. Whenever I reboot with the RT kernel, I end up in a busybox prompt saying 'ZFS module not loaded.' I tried running <pre>/sbin/depmod zfs</pre> but it didn't work.</p>
557352
null
null
2024-03-27T12:25:33.643
How can I use the real-time kernel with ZFS functionality in Ubuntu 22.04?
[ "kernel", "22.04", "zfs" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T06:43:08.557", "id": "2645717", "postId": "1507935", "score": "0", "text": "Are you on ARM (e.g. Raspberry Pi)? https://ubuntuforums.org/showthread.php?t=2407436", "userDisplayName": null, "userId": "884673" } ]
null
[ { "accepted": null, "body": "<p>As you can see here, the Ubuntu realtime kernels do not include the ZFS modules by default.</p>\n<p><a href=\"https://launchpad.net/ubuntu/jammy/amd64/linux-image-5.15.0-102-generic/5.15.0-102.112\" rel=\"nofollow noreferrer\">Generic kernel module list</a> (5.15.0-102.112):<...
null
null
null
null
null
1507943
1
null
2024-03-19T08:10:13.753
0
39
<p>Ubuntu version is 22.04.4 <br><br> I enabled sharing via Settings -&gt; Sharing -&gt; Media Sharing <br> There are images and videos inside the same folder, all images and videos have the same access rights <br><br> When I try to access shared data from my TV or Android phone, I can see all the shared folders and images, but I can't see any video files, none of AVI, MP4, MKV</p>
1776275
1776275
2024-03-19T08:11:20.737
2024-03-19T08:11:20.737
Ubuntu 22.04.4 media sharing not showing videos
[ "22.04", "file-sharing", "shared-folders", "media", "mediaserver" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507946
1
null
2024-03-19T08:33:49.813
0
46
<p>Please see my screenshot below:</p> <p><a href="https://i.stack.imgur.com/CFL30.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CFL30.png" alt="OpenSUSE SSH into Ubuntu 22.04, running 2 different X Window GUI apps" /></a></p> <p>My actions:</p> <ul> <li><p>I have two Linux machines:</p> <ul> <li>Ub22cppdev: Ubuntu 22.04, as SSH server, IP=10.22.4.55 .</li> <li>osuse15b: openSUSE 15.5, as SSH client, IP=10.22.4.61 .</li> </ul> </li> <li><p>On osuse15b, start a Konsole terminal window, type in <code>ssh -X 10.22.4.55</code>, so it SSH logins to the Ubuntu server. The <code>-X</code> parameter, we know, enables X11 forwarding, so I hope that GUI programs run from Ubuntu server can display the GUI back on my SSH client's screen.</p> </li> <li><p>In osuse15b's Konsole window, after SSH login success, run <code>dclock &amp;</code>, I see dclock window appears on osuse15b's X Window desktop. This is the desired behavior.</p> </li> <li><p>Then in osuse15b's Konsole window, I type <code>gnome-mines</code>. Now the weird behavior. <strong>The mine sweeper GUI appears on Ubuntu's own X Window desktop.</strong> That's definitely not what I expect.</p> </li> </ul> <p>Besides gnome-mines, Ubuntu stock GUI programs like <code>gedit</code>, <code>gnome-characters</code>, behave the same way.</p> <p>Why does Ubuntu 22.04 exhibit such weird behavior, or any settings/workaround to fix it?</p> <p>I've tried Ubuntu 20.04 as well, the 20.04 works as desired, i.e., <code>gnome-mines</code> displays it window on SSH client-side machine.</p>
694251
null
null
2024-03-19T08:33:49.813
Ubuntu 22.04 vs 20.04, different X11 forwarding behavior, WHY?
[ "desktop-environments", "x11-forwarding" ]
0
4
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T09:53:11.260", "id": "2645740", "postId": "1507946", "score": "0", "text": "In your ssh session, type `echo $DISPLAY`\nIf X forwarding is active, you should get something like `localhost:10.0` indicating that any GUI applications should connect to local display 10.0...
null
[]
null
null
null
null
null
1507952
1
null
2024-03-19T10:26:22.043
1
51
<p>I followed the <a href="https://cloudinit.readthedocs.io/en/latest/tutorial/lxd.html" rel="nofollow noreferrer">Quick-start tutorial with LXD</a>, and it went well until <code>cloud-init status --wait</code>, it is running forever. <code>cloud-init status</code> returned <code>status: running</code>.</p> <p>But when I tried it with <code>multipass</code>, it returned <code>status: done</code>.<br /> Note: Ubuntu 22.04</p> <blockquote> <p>$ lxc version:<br /> Client version: 5.20<br /> Server version: 5.20</p> </blockquote> <p>What am I missing? What do I need to do?</p>
1776287
51957
2024-03-19T13:44:58.243
2024-03-19T13:44:58.243
LXD with Cloud-init, `cloud-init status --wait` is hanging or running forever
[ "22.04", "lxd", "cloud-init" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T16:13:52.287", "id": "2645798", "postId": "1507952", "score": "0", "text": "Running the same instructions works for me. Probably best to open a bug at https://github.com/canonical/cloud-init/issues and include the tarball generated from running `cloud-init collect-l...
null
[]
null
null
null
null
null
1507953
1
null
2024-03-19T10:29:30.237
0
49
<p>My <code>HP g6</code> laptop has dual boot installed. Windows in SSD, and Ubuntu in external SD card. I wanted Windows load by default. Therefore, I changed grub timeout to 0, and grub default to 2 (windows). And also changed <code>os-prober</code> as timeout to 0, and menu style to hidden.</p> <p>Now every time PC loads to windows. I cannot load Ubuntu anymore. Though I try to select Ubuntu from boot menu (f9 at boot time), but it loads windows again. How can I be able to run Ubuntu now?</p>
1776311
1749634
2024-03-21T05:23:46.053
2024-03-21T05:58:34.417
Ubuntu not loading from boot menu
[ "dual-boot", "grub2", "windows", "os-prober" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T17:06:47.170", "id": "2645809", "postId": "1507953", "score": "0", "text": "0 is just that, no time to even make a selection. I like to use 3, but still have to be quick as default is 10. Use live installer and edit back to higher number. For first boot you may need...
null
[ { "accepted": null, "body": "<p>If you manage to get write support for your boot partition from Windows, actually changing the saved default is easy. From Windows, you can edit <code>/boot/grub/default</code>. Edit the lines that you have changed (at least the <code>GRUB_TIMEOUT</code> to 1). When you resta...
null
null
null
null
null
1507954
1
null
2024-03-19T10:30:58.387
-1
116
<p>I have been using MiKTeX in my Ubuntu machine for a long time without any problem. But today, I faced a problem after compiling my document with a new package. This is what appeared: <a href="https://i.stack.imgur.com/jRQ14.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jRQ14.png" alt="enter image description here" /></a></p> <p>Relaunching MiKTeX didn't help. I guessed I might need to open the MiKTeX Console and install the package first. But the console was not opening.</p> <p>Using <code>initexmf --report&gt; miktex-report.txt</code>, the following report is generated:</p> <pre><code>ReportDate: 2024-03-19 12:56:57 CurrentVersion: 24.3 SetupDate: 2024-03-19 10:48:00 SetupVersion: 24.3 Configuration: Regular GitInfo: a0a66a1 / 2024-03-09 11:57:13 OS: Linux 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 SharedSetup: no LinkTargetDirectory: /home/rafi/bin PathOkay: yes LastUpdateCheck: 2024-03-03 19:26:53 LastUpdate: 2024-03-02 15:28:29 LastUpdateDb: 2024-03-03 19:26:45 SystemAdmin: no RootPrivileges: no AdminMode: no Root0: /home/rafi/.miktex/texmfs/config Root1: /home/rafi/.miktex/texmfs/data Root2: /home/rafi/.miktex/texmfs/install UserInstall: /home/rafi/.miktex/texmfs/install UserConfig: /home/rafi/.miktex/texmfs/config UserData: /home/rafi/.miktex/texmfs/data </code></pre> <p>And <code>latex --version</code> shows:</p> <pre><code>MiKTeX-pdfTeX 4.19 (MiKTeX 24.3) © 1982 D. E. Knuth, © 1996-2023 Hàn Thế Thành TeX is a trademark of the American Mathematical Society. using bzip2 version 1.0.8, 13-Jul-2019 compiled with curl version 7.81.0; using libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.17 compiled with expat version 2.4.7; using expat_2.4.7 compiled with jpeg version 80.0 compiled with liblzma version 50020052; using 50020052 compiled with libpng version 1.6.37; using 1.6.37 compiled with MiKTeX Application Framework version 4.8; using 4.8 compiled with MiKTeX Core version 4.24; using 4.24 compiled with MiKTeX Archive Extractor version 4.1; using 4.1 compiled with MiKTeX Package Manager version 4.10; using 4.10 compiled with openssl version OpenSSL 3.0.2 15 Mar 2022; using OpenSSL 3.0.2 15 Mar 2022 compiled with uriparser version 0.9.6 compiled with xpdf version 4.04 compiled with zlib version 1.2.11; using 1.2.11 </code></pre> <p>The problem is issued on GitHub as well: <a href="https://github.com/MiKTeX/miktex/issues/1468" rel="nofollow noreferrer">https://github.com/MiKTeX/miktex/issues/1468</a></p> <p>But I need a quick fix for now. How can I fix it?</p> <p>Should I move to TeXLive?</p> <p>According to the official doc (<a href="https://miktex.org/howto/miktex-console" rel="nofollow noreferrer">https://miktex.org/howto/miktex-console</a>), I need to reset the TeX installation to the initial state using the <code>Cleanup</code> in the MiKTeX Console. Then I can uninstall it. But the Console is not opening. Then what should I do?</p>
947071
947071
2024-03-20T06:00:58.853
2024-03-20T06:00:58.853
MiKTeX Console has closed unexpectedly in Ubuntu 22.04 and switching to TeXLive
[ "latex", "texlive", "miktex" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-20T07:25:32.757", "id": "2645898", "postId": "1507954", "score": "0", "text": "https://askubuntu.com/q/1358106/947071", "userDisplayName": null, "userId": "947071" } ]
null
[]
null
null
null
null
null
1507956
1
null
2024-03-19T10:45:11.587
0
49
<p>That's my first question and maybe the hardest to answer. I wish you could help me with this matter which is wifi hard Blocked in my Linux machine and can't get the wifi up. The story begin when i have dual booted my windows and <strong>Ubuntu 22.04.4 LTS distro</strong> my wifi was working perfectly fine in both OS's idk why but someday my wifi decided to stop in every Linux thing!</p> <p>When you type the <code>rfkill list all</code> command in the terminal you will see response like this</p> <pre><code>0: phy0: Wireless LAN Soft blocked: no Hard blocked: yes </code></pre> <p>Here what i did.</p> <p>I have read every forum in the internet and tried every solution possible for it.</p> <p><em>Like turning off the battery and ac cable.</em></p> <p><em>I've also tried to boot other Linux distros with usb bootable iso to see if it's a version issue or not (ParroOS, Debian, arch Linux, core Linux, fedora, LinuxMint and many many more ).</em></p> <p><em>Tried to removing the Pin 20 in my wireless card.</em></p> <p><em>Tried to BlackList WMI and many more things.</em></p> <p><em>Tried to restore the bios settings, it doesn't really have that much of a setting.</em></p> <p><em>Tried to removing RF-kill and reinstall it (I Don't know what I'm doing anymore)</em></p> <p><em>Tried to turn off the Fast boot setting in windows.</em></p> <p>And nothing have worked!!!</p> <p>My Device is <strong>Pavilion G6</strong> and wifi card is <strong>Ralink 5390r</strong> (The default manufacture)</p> <p>Note that the wifi working fine in the windows system and no issues at all.</p> <p>Please help me with it i really need it and can't afford a new wifi adapter it's too much expensive in my city. Thank you.</p>
1776316
1776316
2024-03-19T10:57:58.227
2024-03-19T10:57:58.227
Wifi is HardBlocked and i cannot get it up no matter what i do
[ "networking", "drivers", "wireless", "interface" ]
0
12
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T12:18:35.487", "id": "2645754", "postId": "1507956", "score": "0", "text": "Can you Check in Windows If It is a p", "userDisplayName": null, "userId": "966203" }, { "creationDate": "2024-03-19T12:23:36.680", "id": "2645756", "postId": "150795...
null
[]
null
null
null
null
null
1507959
1
null
2024-03-19T12:12:17.760
0
103
<p>I am facing this issue using ProtonVPN on Ubuntu, it was working well a few days ago. I have also tried to reinstall it several times but nothing seems to work. Please if anyone got this before, here's the ouput :</p> <pre><code>Traceback (most recent call last): File &quot;/usr/bin/protonvpn-app&quot;, line 33, in &lt;module&gt; sys.exit(load_entry_point('proton-vpn-gtk-app==4.2.0', 'console_scripts', 'protonvpn-app')()) File &quot;/usr/lib/python3/dist-packages/proton/vpn/app/gtk/__main__.py&quot;, line 34, in main controller = Controller.get(executor) File &quot;/usr/lib/python3/dist-packages/proton/vpn/app/gtk/controller.py&quot;, line 56, in get executor.submit(controller.initialize_vpn_connector).result() File &quot;/usr/lib/python3.10/concurrent/futures/_base.py&quot;, line 458, in result return self.__get_result() File &quot;/usr/lib/python3.10/concurrent/futures/_base.py&quot;, line 403, in __get_result raise self._exception File &quot;/usr/lib/python3/dist-packages/proton/vpn/app/gtk/controller.py&quot;, line 89, in initialize_vpn_connector self._connector = await self._api.get_vpn_connector() File &quot;/usr/lib/python3/dist-packages/proton/vpn/core/api.py&quot;, line 54, in get_vpn_connector vpn_connector = await VPNConnector.get_instance(settings) File &quot;/usr/lib/python3/dist-packages/proton/vpn/connection/vpnconnector.py&quot;, line 66, in get_instance await cls._instance.initialize_state(initial_state) File &quot;/usr/lib/python3/dist-packages/proton/vpn/connection/vpnconnector.py&quot;, line 149, in initialize_state await self._update_state(state) File &quot;/usr/lib/python3/dist-packages/proton/vpn/connection/vpnconnector.py&quot;, line 250, in _update_state new_event = await state_tasks File &quot;/usr/lib/python3/dist-packages/proton/vpn/connection/states.py&quot;, line 176, in run_tasks await self.context.kill_switch.disable() File &quot;/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/nmkillswitch.py&quot;, line 77, in disable await self._ks_handler.remove_full_killswitch_connection() File &quot;/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/killswitch_connection_handler.py&quot;, line 202, in remove_full_killswitch_connection await self._remove_connection(_get_connection_id(permanent=False)) File &quot;/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/killswitch_connection_handler.py&quot;, line 228, in _remove_connection await _wrap_future(self.nm_client.remove_connection_async(connection)) File &quot;/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/nmclient.py&quot;, line 230, in remove_connection_async self._run_on_glib_loop_thread(_remove_connection_async).result() File &quot;/usr/lib/python3.10/concurrent/futures/_base.py&quot;, line 458, in result return self.__get_result() File &quot;/usr/lib/python3.10/concurrent/futures/_base.py&quot;, line 403, in __get_result raise self._exception File &quot;/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/nmclient.py&quot;, line 118, in wrapper future.set_result(function(*args, **kwargs)) File &quot;/usr/lib/python3/dist-packages/proton/vpn/killswitch/backend/linux/networkmanager/nmclient.py&quot;, line 217, in _remove_connection_async handler_id = device.connect(&quot;state-changed&quot;, _on_interface_state_changed) AttributeError: 'NoneType' object has no attribute 'connect'``` </code></pre>
1598478
1598478
2024-03-19T12:13:28.880
2024-03-27T22:00:59.250
Launching ProtonVPN On Ubuntu 22.04 Error - AttributeError: 'NoneType' object has no attribute 'connect'
[ "networking", "python", "vpn" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507960
1
null
2024-03-19T12:15:20.560
0
38
<p>I have a problem with wifi connection, the wifi is disconnecting after some time. The wifi is connecting if I restart the pc and after some time disconnecting again.</p> <p>I ran the command:</p> <pre><code>sudo dmsg </code></pre> <p>I got the output regarding network:</p> <pre><code>[ 3213.081109] rtw_8822ce 0000:04:00.0: mac power on failed [ 3213.081113] rtw_8822ce 0000:04:00.0: failed to power on mac [ 3215.125625] rtw_8822ce 0000:04:00.0: failed to poll offset=0x5 mask=0x2 value=0x0 [ 3215.125644] rtw_8822ce 0000:04:00.0: mac power on failed [ 3215.125648] rtw_8822ce 0000:04:00.0: failed to power on mac [ 3217.149774] rtw_8822ce 0000:04:00.0: failed to poll offset=0x5 mask=0x2 value=0x0 [ 3217.149792] rtw_8822ce 0000:04:00.0: mac power on failed [ 3217.149796] rtw_8822ce 0000:04:00.0: failed to power on mac [ 3229.030430] rtw_8822ce 0000:04:00.0: failed to poll offset=0x5 mask=0x2 value=0x0 [ 3229.030448] rtw_8822ce 0000:04:00.0: mac power on failed [ 3229.030452] rtw_8822ce 0000:04:00.0: failed to power on mac [ 3231.056196] rtw_8822ce 0000:04:00.0: failed to poll offset=0x5 mask=0x2 value=0x0 </code></pre> <p>If I run the command:</p> <pre><code>sudo ip link show wlp4s0 </code></pre> <p>I got output as:</p> <pre><code>3: wlp4s0: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000 link/ether d8:c0:a6:57:3c:11 brd ff:ff:ff:ff:ff:ff </code></pre> <p>I've tried using command:</p> <pre><code>sudo ip link set wlp4s0 up </code></pre> <p>I've tried restarting the network with the commmand:</p> <pre><code>sudo systemctl restart NetworkManager </code></pre> <p>But It didn't work.</p> <p>My pc is Azus TUF FX505</p>
1776023
null
null
2024-03-19T12:15:20.560
Wifi disconnecting after some time in Ubuntu 22.04.4 LTS, REL8822 CE
[ "drivers", "22.04", "network-manager", "pci" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507961
1
null
2024-03-19T12:19:35.607
0
56
<p>I installed Ubuntu alongside Windows several times, but Windows boot manager (WBM) repeatedly kept erasing GRUB. My solution was to immediately move WBM to a lower booting priority after installing Ubuntu, before WBM can cause any harm. However, I am afraid that once I boot into Windows, WBM will again erase GRUB. What should I do to prevent that?</p>
369951
null
null
2024-03-19T12:19:35.607
Dual boot with Windows 10 - how can I stop Windows from erasing GRUB?
[ "dual-boot", "grub2", "windows-10" ]
0
5
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T18:10:10.187", "id": "2645822", "postId": "1507961", "score": "1", "text": "Unless using the very old BIOS/MBR configuration where there is only one MBR, the issue is both Windows & Ubuntu/grub with updates will reset boot so that system is first in boot order. You ...
null
[]
null
null
null
null
null
1507965
1
null
2024-03-19T13:17:20.807
-1
87
<p>I have installed Ubuntu under WSL. I am now trying to install Ubuntu desktop. I have tried several times. I get many errors such as: Failed to preset unit. Transport endpoint is not connected. Now stuck on 75% for hours. Not a great first experience.</p> <p>As an amateur I'm not sure what I can add. Installed is Ubuntu 22.04.3 LTS. I then typed in &quot;sudo apt install ubuntu-desktop&quot;. It immediately started doing this but occasionally get stuck as follows:</p> <blockquote> <p>&quot;Failed to reload daemon: Transport endpoint is not connected.&quot;</p> </blockquote> <p>It is now showing 80% so it is still installing but with errors it seems. It is now 5 hours.</p> <pre><code>Setting up ubuntu-advantage-desktop-daemon (1.10~22.04.1) ... Failed to reload daemon: Transport endpoint is not connected Failed to get unit file state for ubuntu-advantage-desktop-daemon.service: Transport endpoint is not connected Failed to retrieve unit state: Transport endpoint is not connected ubuntu-advantage-desktop-daemon.service is a disabled or a static unit, not starting it. Setting up libsm6: amd64 (2:1.2.3-1build2) ... </code></pre>
1776345
1749634
2024-03-20T07:17:05.647
2024-03-21T11:15:47.003
Ubuntu desktop does not install
[ "software-installation", "windows-subsystem-for-linux" ]
1
7
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T13:34:56.897", "id": "2645766", "postId": "1507965", "score": "0", "text": "Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.", "userDis...
null
[ { "accepted": null, "body": "<p>Ubuntu running on WSL is not meant to run a full-featured Ubuntu desktop. From the WSL doc, <a href=\"https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps\" rel=\"nofollow noreferrer\">Run Linux GUI apps on the Windows Subsystem for Linux</a>:</p>\n<blockquote>\n<...
null
null
2024-03-19T16:32:54.213
null
null
1507970
1
null
2024-03-19T13:59:59.067
0
22
<p>I have a remote ubuntu machine that connects via sstp-connect to Microsoft RRAS server. The issue is when Internet connection drops, sstp disconnects and you have to reconnect it manually. How can I force it to retry connection for unlimited amount of time and tries until Internet connection restores?</p> <p><a href="https://i.stack.imgur.com/41xal.png" rel="nofollow noreferrer">VPN is configured via network-manager-sstp-gnome gui</a></p>
1541977
1541977
2024-03-19T15:57:50.953
2024-03-19T15:57:50.953
sstp-client auto-reconnect in ubuntu
[ "vpn" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507971
1
null
2024-03-19T14:21:03.860
0
21
<p>My Ubuntu 20.04 now only boots to the start screen shown below and hangs there. I want to get to a terminal but I cannot seem to make that happen. I have tried all of the restart/key combinations like shift, exc, F 1-12. Nothing seems to work - I just get to the same screen. Additionally, I have created a 20.04 bootable flash drive using another Ubuntu computer. Similarly, there are no F keys that will boot to the flash drive.</p> <p>Just prior to this happening I was trying to open an image file in GIMP. Gimp said it could not access the resource (the image file on the second SSHD). Thinking there was some path or permissions issue I tried to move the image to my home folder and got a 'not enough memory' error. Thinking I had run out of memory I tried to purged the trash folder as there was a heap of stuff in there. I got a message that I did not have permissions to delete some items in trash.</p> <p>I was logged in as my regular account and there are no other user accounts on this computer. In response I turned off the computer. On restart on got the screen shown below.</p> <p>How do I get to the terminal?</p> <p><a href="https://i.stack.imgur.com/LpKkU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LpKkU.jpg" alt="enter image description here" /></a></p>
733748
733748
2024-03-21T19:40:15.177
2024-03-21T19:40:15.177
Ubuntu boots to start screen - Bootable USB fails
[ "20.04", "boot-repair" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507972
1
null
2024-03-19T14:24:06.153
-1
31
<p>Online guides from google on using kdump and the crash utility point to using kernel debug symbols with the crash utility. I'm not able to find the debug symbols package for Jammy.</p> <p>How can I find the steps for debugging kernel panics on Jammy?</p> <p>Version: 22.04.3 LTS Jammy Jellyfish Kernel: 6.5.0-25-generic</p>
1776358
null
null
2024-03-19T14:24:06.153
How to debug kernel panics on Jammy
[ "22.04", "crash" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507973
1
null
2024-03-19T14:42:44.193
-1
43
<p>I'm currently using the Ubuntu 22.04 Docker Image for work. I thought if I used a tag that would keep the Image constant until I noticed a month ago that the Ubuntu 22.04 image got updated.</p> <p>I noticed that each update came with a SHA hash digest that I could also use to pull the image. My problem is how can I know which version of Ubuntu 22.04 gets pulled based on the digest I used?</p> <p>Right now, the latest version is Ubuntu 22.04.4. I'd like to make sure that that's the one I'm getting. I haven't found documentation that associates the digest with the Ubuntu version.</p>
1776356
null
null
2024-03-19T16:00:24.450
Docker: How to know what version of Ubuntu 22.04 is referred to an Index Digest?
[ "22.04", "docker" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>Welcome to the ask Ubuntu forum.</p>\n<p>I'm not sure I'm understanding your question, but this may be a simple solution.</p>\n<p>From Terminal:</p>\n<p><code>lsb_release -a</code></p>\n<p>This will give a description, release number, and the codename. Mine shows Ubuntu 22.0...
null
null
null
null
null
1507974
1
null
2024-03-19T14:49:13.467
-1
49
<p>Installed using an ISO on a usb stick. Followed basic YouTube tutorial. The installation process is going just fine until I restart my computer after the installation is complete and I remove the usb. I get the Ubuntu loading screen, and then it just goes blank. I’m supposed to see the login page. Any suggestions?</p> <p>I tried reinstalling with the option “automatically log in”. Now, after the Ubuntu loading screen I get the pink jellyfish wallpaper (instead of a blank screen). However it’s only the wallpaper. There’s no control to be had here, no mouse or anything.</p>
1776367
1776367
2024-03-19T15:22:16.330
2024-03-20T01:54:38.813
Trouble installing Ubuntu on MacBook Pro 2009
[ "boot", "system-installation", "usb", "iso", "macbook-pro" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>Try using another ubuntu version like Xenial (Ubuntu Xenial Xerus 16.04 LTS) or Zesty (Ubuntu 17.04 Zesty Zapus).\nHope this helps - Jaicob</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2024-03-20T18:52:20.353", "id": "2645999", ...
null
null
null
null
null
1507976
1
null
2024-03-19T15:10:26.210
0
25
<p>opening rar file with archive manager works without problem, also they work in nemo, is there a fix for those in nautilus?</p> <p><a href="https://i.stack.imgur.com/yIgk0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yIgk0.png" alt="enter image description here" /></a></p>
1773171
1773171
2024-03-19T15:22:48.407
2024-03-19T15:22:48.407
Error on both rightclick options of nautilus extract to and extract here
[ "22.04", "nautilus" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507977
1
null
2024-03-19T15:13:36.903
0
66
<p>i have recently updated ubuntu version this is my current versions Distributor ID: Ubuntu Description: Ubuntu 23.10 Release: 23.10 Codename: mantic the issue for me rn is that i cant connect to my bluetooth devices like speakers and headsets, not sure of the reason, i tried to uninstall bluetooth drivers and reinstall (by help of google) still it didn't help tried to check bluetooth service status, it's all working and fine, i can turn on bluetooth, but when i try to connect to a device listed on available devices it loads for 10 sec and doesn't really connect to the device, any specific reason or fix for this issue? i tried this to get active devices</p> <pre><code>user@me:~$ sudo hcitool scan &lt;mac addr&gt; boAt Stone 260 user@me:~$ sudo bluetoothctl Agent registered [bluetooth]# connect &lt;mac addr&gt; Device &lt;mac addr&gt;. not available </code></pre> <p>mac addr was same still it couldn't connect yes i am sure the device is also set to pair, also this issue i just started facing since today after updating systems</p>
1776375
1776375
2024-03-19T15:14:39.367
2024-03-25T14:01:26.080
can't connect to bluetooth device after updating to new version
[ "networking", "bluetooth", "bluez", "bluetooth-speaker" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>I had a similar problem.</p>\n<p>If it helps, yo can look at my question:</p>\n<p><a href=\"https://askubuntu.com/questions/1508364/ubuntu-cant-connect-a-bluetooth-headphones-after-a-update\">Ubuntu can&#39;t connect a bluetooth headphones after a update</a></p>\n<p>To sum up...
null
null
null
null
null
1507983
1
null
2024-03-19T15:42:40.417
0
124
<p>It seems that my Linux kernel auto-updated today, which caused my computer to lose internet access. When I checked the hardware with the command <code>sudo lshw -c network</code>, I got the result of &quot;network UNCLAIMED&quot;. After trying all sorts of things, I was finally able to fix it by rolling back my kernel version to 6.5.0-25-generic(earlier than the current version).</p> <p>So what exactly is causing this problem?</p>
1776378
1450948
2024-03-20T07:17:12.020
2024-03-20T07:17:12.020
ubuntu desktop 22.04 LTS kernel version: linux-6.5.0-27-generic causes my network UNCLAIMED
[ "networking", "drivers", "kernel", "22.04" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T16:12:27.453", "id": "2645797", "postId": "1507983", "score": "0", "text": "Probably, you have a hand-compiled driver for your WiFi. You will need to rebuild it for the current kernel.", "userDisplayName": null, "userId": "25618" }, { "creationDate":...
null
[]
null
null
null
null
null
1507986
1
null
2024-03-19T15:49:21.440
1
27
<p>I installed all OpenSCAP packages on RHEL 9.2 VM and then remotely evaluated &amp; remediated the CIS level 1 Server profile benchmarks on an Ubuntu 22.04 VM without any issues. The issue only occurs when I try to use a custom profile that I created using the autotailor command. Below is the error I ran into.</p> <p>The reason for customizing the profile is there are some benchmarks that we need to exclude from the default Level 1 Server profile.</p> <p>All commands I am using are from the OpenSCAP user manual (<a href="https://static.open-scap.org/openscap-1.3/oscap_user_manual.html#_creating_tailoring_files" rel="nofollow noreferrer">https://static.open-scap.org/openscap-1.3/oscap_user_manual.html#_creating_tailoring_files</a>)</p> <pre><code>[root@localhost openscap]# oscap-ssh root@xx.x.x.xx 22 xccdf eval --remediate --profile xccdf_org.ssgproject.content_profile_ssg-ubuntu2204-ds-1.2-custom --results ssg-ubuntu2204-ds-1.2-remediation-custom-results.xml --results-arf ssg-ubuntu2204-ds-1.2-arf-custom-results.xml ssg-ubuntu2204-ds-1.2-tailoring_1.xml Connecting to 'root@xx.x.x.xx' on port '22'... root@xx.x.x.xx's password: Connected! Copying input file 'ssg-ubuntu2204-ds-1.2-tailoring_1.xml' to remote working directory '/tmp/tmp.8KTqEvg4Pj'... ssg-ubuntu2204-ds-1.2-tailoring_1.xml 100% 656 1.2MB/s 00:00 Starting the evaluation... OpenSCAP Error: Unable to open file: '/tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml' [../../../src/source/oscap_source.c:284] Unable to open file: '/tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml' [../../../src/source/oscap_source.c:284] Unable to open file: '/tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml' [../../../src/source/oscap_source.c:284] Unable to open file: '/tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml' [../../../src/source/oscap_source.c:284] Unable to open file: '/tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml' [../../../src/source/oscap_source.c:284] Unrecognized document type for: /tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml [../../../src/source/oscap_source.c:330] Unable to open file: '/tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml' [../../../src/source/oscap_source.c:284] Unable to open file: '/tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml' [../../../src/source/oscap_source.c:284] Invalid (null) ((null)) content in /tmp/tmp.8KTqEvg4Pj/file:///usr/share/openscap/ssg-ubuntu2204-ds-1.2.xml [../../../src/XCCDF/xccdf_session.c:628] oscap exit code: 1 Copying back requested files... File &quot;/tmp/tmp.8KTqEvg4Pj/results.xml&quot; not found. Failed to download '/tmp/tmp.8KTqEvg4Pj/results.xml' Failed to copy the results file back to local machine! [root@localhost openscap]# </code></pre> <p>The end goal is to be able to use a custom CIS Level 1 Server profile to both evaluate and remediate an Ubuntu 22.04 VM remotely through a RHEL 9.2 VM. Any help with this issue is appreciated.</p>
1776182
1776182
2024-03-20T17:15:49.160
2024-03-20T17:15:49.160
Unable to evaluate + remediate CIS level 1 server benchmarks using a custom OpenSCAP profile on Ubuntu 22.04
[ "22.04" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1507987
1
null
2024-03-19T15:57:11.577
-1
29
<p>I have removed a mount point on fstab. Since restarting i can still see the location it was mounted to but all that is in there is a file named &quot;a&quot;.</p> <p>What is this file? <img src="https://i.stack.imgur.com/b4c2o.png" alt="enter image description here" /></p>
1776382
85695
2024-03-19T18:19:17.747
2024-03-19T18:19:17.747
removed fstab mount, all that is left is an "a" file
[ "fstab" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T17:24:00.537", "id": "2645814", "postId": "1507987", "score": "0", "text": "You must have mistyped a command, resulting in an empty file. Nothing to worry about. Delete it.", "userDisplayName": null, "userId": "149708" }, { "creationDate": "2024-03-1...
null
[]
null
null
null
null
null
1507989
1
null
2024-03-19T16:17:56.843
-1
61
<p>I installed VirtualBox form the official website but it fails to start any VMs <a href="https://i.stack.imgur.com/S7l5A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S7l5A.png" alt="enter image description here" /></a></p> <p>Trying to follow the instructions doesn't help. <a href="https://i.stack.imgur.com/pWQvN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pWQvN.png" alt="enter image description here" /></a></p> <p>I also followed <a href="https://askubuntu.com/questions/1035030/this-system-is-currently-not-set-up-to-build-kernel-modules-when-trying-to-ins">this guide</a> and <a href="https://www.geeksforgeeks.org/fix-broken-packages-on-linux/" rel="nofollow noreferrer">this</a> to try to solve it but didn't make any difference.</p> <p>I'm running out of ideas. Anyone knows how to solve this? Thanks for the help!</p> <p>I find it quite disappointing that supposedly stable versions of Ubuntu and VirtualBox don't work out of the box with clear installation instructions</p>
600696
null
null
2024-03-19T17:32:23.950
VirtualBox doesn't start any VMs on Ubuntu 22.04
[ "kernel", "22.04", "virtualbox" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>Virtualbox uses a &quot;kernel module&quot; to do its thing.</p>\n<p>Just as the text says above, you haven't got the tools to create that module.<br />\nSO: Your Virtualbox installation is not complete...</p>\n<p><code>$ sudo apt install build-essential</code> # will install...
null
null
null
null
null
1507990
1
null
2024-03-19T16:24:41.913
-2
39
<p>I have a dual book Surface pro 7 with Windows 10 and Ubuntu 22 installed. I can get out on Internet with Windows and also with my sgin Android pad. But not with my Ubuntu 22. With Ubuntu I get a question mark on my internet icon. It does not help me to deactivate the question mark. What info should I share so you may get a clue on what is going on with Internet?</p> <p>SOLUTION</p> <p>That will not help the Ubuntu team. But I got internet again installing Linux Mint. Now I am back in the Linux world I prefer over Windows. I wonder however why Ubuntu did not allow me to connect to Internet. Question mark continuously....</p>
1382290
1382290
2024-03-26T18:43:14.783
2024-03-26T18:43:14.783
Internet connection problem with Ubuntu 22 - SOLVED
[ "networking", "internet" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-26T19:01:19.447", "id": "2647106", "postId": "1507990", "score": "0", "text": "Installing mint not a helpful \"solution\" and doesn't help pinpoint the original issue. I don't think the details you have provided would be enough to solve your Ubuntu connection issues", ...
null
[]
null
null
null
null
null
1507993
1
null
2024-03-19T16:33:34.343
-1
19
<p>I have learned a lot doing this and now I’m a bit hung up on this next part.</p> <ol> <li>This is a 2009 15-inch MacBook Pro which has had internal components swapped out, such as a Samsung SSD and apparently 2 NVIDIA GeForce GPUs / graphics cards (a 9600M GT and a 9400M I believe).</li> <li>I did a standard Ubuntu installation from a USB drive because Apple no longer supports OS updates on a Mac this old, so it was semi-unusable because without up to date browsers you can’t use many modern websites. I overwrote the entire disk with Ubuntu so there is no longer any Mac OS X on the disk at all.</li> <li>It generally works, but there are some odd little bugs and performance issues. Sometimes after a certain sequence of actions the screen gets stuck in a weird way where it won’t open application windows anymore even though it says the application is open. Sometimes it gets frozen and you have to reboot.</li> <li>I did some system tests and my working assumptions is that the computer is too hot, the battery is old, and it has proprietary graphics cards inside that Ubuntu doesn’t know how to handle by default.</li> <li>I’m planning on cleaning the fan with compressed air and reapplying thermal paste, and replacing the battery, but today I wondered if the performance issues would be mainly linked to something on the software level, so I decided to try to install the Nvidia drivers. I ran some commands and saw my Ubuntu is using the Nouveau driver by default, I think.</li> <li>It may have been possible to install additional drivers from the Software and Updates application under Additional Drivers, but when I go there, nothing shows up like an additional Nvidia graphics driver detected for installation.</li> <li>So I went to the Nvidia site to download the driver manually. I did find the exact driver for GeForce 9600M GT. It downloaded with the same name as GeForce 9600 GT, so I’m wondering if there is one single driver installer that works for both the mobile and desktop versions of the graphics card.</li> <li>I ran the installer a few times and got various issues that I addressed one by one. I can’t have an X server running while it’s installing, so I changed a certain part of a file from <code>splash</code> to <code>splash 3</code> and did <code>grub-update</code>, then rebooted, to boot into a tty with <code>gdm</code> not launched. It asked me if I wanted to use DKMS, first I said yes, but there was some error so then I tried “no”; that seemed to get me further in the installation. I also had to disable Nouveau to get through the installer.</li> <li>The hang-up now is it gives me an error that it cannot find the gcc version number in the <code>/proc/version</code> string. I have looked at it myself and I can clearly see <code>gcc-12</code> at one part of the string. The installer gives me the option to proceed without worrying about the gcc version check, or to abort and edit the file to include the gcc version.</li> </ol> <p>I tried to do it without the gcc version check but the build failed. I have checked and am pretty sure I have plenty of functioning gcc versions installed - 11, 12.</p> <p>I assume my gcc itself works perfectly fine. I assume my /proc/version string is probably also fine.</p> <p>My best guess might be, the installer itself is having some issue? Does it have anything to do with this being an older computer?</p> <p>The graphics cards aren’t even listed as “legacy” on the Nvidia site, so I wouldn’t think the installer is like deprecated.</p> <p>Why can’t it see the GCC version number? And even if it can’t, why can’t it still invoke GCC normally and use it successfully in the build? This is a fresh Ubuntu installation, my GCC should be just fine.</p>
1771938
null
null
2024-03-19T16:33:34.343
Nvidia GeForce 9600M GT driver installer cannot find GCC version number in /proc/version
[ "drivers", "nvidia", "graphics", "compiling", "gcc" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T17:46:13.790", "id": "2645816", "postId": "1507993", "score": "2", "text": "too new gcc for that old(?!) driver?", "userDisplayName": null, "userId": "289138" } ]
null
[]
null
null
null
null
null
1507996
1
null
2024-03-19T17:18:44.023
-1
8
<p>Can anyone help me with this issue.</p> <p>I was working on ubuntu vm which was fine, I'm able to install any package and update/upgrade the os until recently when I tried to install a package and update using <code>sudo apt update</code>, but the output says</p> <pre><code>0% [connecting to archive.ubuntu.com (91.189.91.81)] Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease Ign:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) cannot initiate the connection to archive.ubuntu.com:80 (91.189.91.83). - connect (101: Network is unreachable) cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::103). - connect (101: Network is unreachable) cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::101). - connect (101: Network is unreachable) W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) cannot initiate the connection to archive.ubuntu.com:80 (91.189.91.83). - connect (101: Network is unreachable) cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::103). - connect (101: Network is unreachable) cannot initiate the connection to archive.ubuntu.com:80 </code></pre> <p>I'm able to ping all ip addresses and the archive.ubuntu.com successfully.</p> <p><a href="https://i.stack.imgur.com/iSBQO.png" rel="nofollow noreferrer">dig archive.ubuntu.com</a></p> <p>The archives on the <code>/etc/apt/sources.list</code> file are all set to <code>http://archive.ubuntu.com/ubuntu.</code></p> <p>I tried changing the nameserver to <code>8.8.8.8 and 8.8.4.4</code> on the <code>/etc/resolve.conf</code> file but to no avail.</p> <p>I don't use proxy server and I did have stable network connection. I can ping all the archives IP successfully.</p> <p>How can I get this to work again please.</p>
1771108
1771108
2024-03-19T17:20:16.217
2024-03-19T17:20:16.217
Unable to apt update but can ping ubuntu.com/archive.ubuntu.com
[ "apt", "server", "20.04", "updates", "update-manager" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
2024-03-19T17:24:16.170
null
null
1507997
1
null
2024-03-19T17:18:45.307
-1
51
<h1>UPDATE</h1> <p>I found that doing a copy-paste from the host machine to the VM gives an &quot;Error while copying&quot;, but, doing &quot;skip all&quot; the file is still copied</p> <hr /> <p>I'm running Ubuntu 22.04 on a 64-bit Intel Mac with VMware Fusion Player 13.5.1.</p> <p>VM installation gave no problems, it works regularly and is up to date.</p> <p>On the other hand, the tools that handle copy/paste and drag &amp; drop from the host machine to the Ubuntu virtual machine are not good at all.</p> <p>Any file I try to drag to the Ubuntu desktop gives me error &quot;an invalid drag type was used&quot;.</p> <p>I don't know if it is a problem with the settings or the version of the open-vm-tools (version 2:12.3.5-3~ubuntu 22.04.1 is installed).</p>
1776330
1776330
2024-03-22T09:50:37.843
2024-03-22T09:50:37.843
open-vm-tools drag & drop doesn't work
[ "22.04", "vmware", "drag-and-drop" ]
0
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-21T09:49:01.560", "id": "2646138", "postId": "1507997", "score": "0", "text": "thanks you for spelling and text correction, @Karel", "userDisplayName": null, "userId": "1776330" } ]
null
[]
null
null
null
null
null
1508000
1
null
2024-03-19T17:46:02.717
-1
41
<p>After connecting my bluetooth headset I am able to listen to audio with the A2DP sink profiles. However, when I want to use my mic and switch to HSP/HFP for this, I have no input nor output audio. It's not a problem of my headset because I also tried a second one which has the same problem.</p> <p>I am on TuxedoOS 2 (which is essentialy ubuntu &quot;22.04.4&quot;) and using pipewire/bluez.</p> <p>Switching the profile and starting audio results in the following output from</p> <pre><code>journalctl -f --user </code></pre> <p>LOG</p> <pre><code>mrt 19 18:43:23 tuxedoos pipewire-pulse[8344]: mod.protocol-pulse: client 0x60dd7d33e740 [PulseAudio Volume Control]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error) mrt 19 18:43:23 tuxedoos pipewire-pulse[8344]: mod.protocol-pulse: client 0x60dd7d267a80 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error) mrt 19 18:43:23 tuxedoos wireplumber[8343]: (bluez_input.00_04_32_8E_48_A2.0-107) running -&gt; error (Received error event) mrt 19 18:43:23 tuxedoos wireplumber[8343]: (bluez_output.00_04_32_8E_48_A2.1-100) suspended -&gt; error (Received error event) mrt 19 18:43:23 tuxedoos wireplumber[8343]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_00_04_32_8E_48_A2/fd48 mrt 19 18:43:23 tuxedoos pipewire[8340]: pw.node: (bluez_input.00_04_32_8E_48_A2.0-107) running -&gt; error (Received error event) mrt 19 18:43:23 tuxedoos pipewire[8340]: pw.node: (bluez_output.00_04_32_8E_48_A2.1-100) suspended -&gt; error (Received error event) mrt 19 18:43:23 tuxedoos pipewire[8340]: pw.link: 0x61a0a9a7f830: one of the nodes is in error out:error in:suspended mrt 19 18:43:23 tuxedoos pipewire[8340]: pw.link: 0x61a0a9c21350: one of the nodes is in error out:error in:suspended </code></pre>
1776399
null
null
2024-03-19T17:46:02.717
Ubuntu/pipewire/bluez: headset not working with HSP/HFP profile
[ "bluez", "pipewire" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1508002
1
null
2024-03-19T18:01:21.497
-1
62
<p>Ubuntu 20.04 is infected with nood rat malware, ClamAV is coming back clean. Does anyone have the process for manual cleaning this?</p>
1776404
1776404
2024-03-19T18:27:48.853
2024-03-19T18:27:48.853
Ubuntu 20.04 infected with nood rat malware, clamav is coming back clean. Does anyone know how to manually clean this?
[ "20.04", "webserver", "malware" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T18:22:09.990", "id": "2645825", "postId": "1508002", "score": "0", "text": "How do you see this \"malware\" ?", "userDisplayName": null, "userId": "614422" }, { "creationDate": "2024-03-19T18:30:35.037", "id": "2645826", "postId": "1508002", ...
null
[]
null
null
null
null
null
1508004
1
null
2024-03-19T18:08:55.600
0
50
<p>I am using Ubuntu 22.04.</p> <p>Recently I was wondering if I can go to the OS files and edit them.</p>
1757482
1749634
2024-03-21T07:28:26.893
2024-03-21T07:28:26.893
if Linux is open source does that mean I can see the code of ( Ubuntu 22.04.4 )
[ "22.04", "source-code" ]
0
4
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T18:11:20.033", "id": "2645823", "postId": "1508004", "score": "4", "text": "Yes, that's pretty much the definition of \"open source\". But what do you really mean? Can you edit your question to make it more specific? What files? What part of the OS? Do you want to r...
null
[]
null
null
2024-03-21T07:49:17.010
null
null
1508006
1
null
2024-03-19T18:57:12.220
-1
19
<p>Have a dual-boot system (Ubuntu 22.04 and Win10) running on a Lenovo Thinkpad.</p> <p>No issues with either until last week when booting into Ubuntu partition started to take ~10-15mins from typical 60s.</p> <p>Was able to troubleshoot and identify that the issue arises when one of my 3 external HDs is connected to the laptop. Not seeing anything in <code>/var/log/syslog</code>, and have included output from the debugging commands I've seen mentioned. Not sure how useful as I removed the problem-causing HD to get into the system:</p> <pre><code>chris@chris-X1C6:~$ systemd-analyze blame 1min 40.340s fstrim.service 40.929s apt-daily-upgrade.service 26.476s plymouth-quit-wait.service 13.852s apt-daily.service 6.576s NetworkManager-wait-online.service 5.565s gpu-manager.service 5.252s plexmediaserver.service 4.819s plocate-updatedb.service 4.160s qemu-kvm.service 2.784s snapd.service 1.846s fwupd.service 1.436s systemd-backlight@backlight:intel_backlight.service 1.274s mysql.service 731ms systemd-fsck@dev-disk-by\x2duuid-0c2e04fe\x2d9691\x2d4db4\x2da0c1\x2dabc269f2460c.service chris@chris-X1C6:~$ systemd-analyze critical-chain The time when unit became active or started is printed after the &quot;@&quot; character. The time the unit took to start is printed after the &quot;+&quot; character. graphical.target @29.201s └─multi-user.target @29.201s └─plymouth-quit-wait.service @2.723s +26.476s └─systemd-user-sessions.service @2.695s +14ms └─network.target @2.643s └─NetworkManager.service @2.269s +364ms └─dbus.service @2.264s └─basic.target @2.255s └─sockets.target @2.255s └─snapd.socket @2.237s +17ms └─sysinit.target @2.231s └─systemd-backlight@backlight:intel_backlight.service @6.069s +1.436s └─system-systemd\x2dbacklight.slice @1.287s └─system.slice @290ms └─-.slice @290ms </code></pre>
951772
null
null
2024-03-19T18:57:12.220
Boot into Ubuntu takes forever when HDD is connected
[ "boot", "dual-boot", "debugging" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-20T02:47:52.047", "id": "2645877", "postId": "1508006", "score": "1", "text": "Do you have NTFS partitions that are hibernated or need chkdsk or ext4 partition(s) that need fsck? Some settings you can change, still apply for newer versions: https://askubuntu.com/questi...
null
[]
null
null
null
null
null
1508008
1
null
2024-03-19T19:11:02.827
-1
27
<p>I recently started using Ubuntu. This is a start-up error I came across just a day after the installation. The error message shows:</p> <pre><code>failed to start snapd.service-snap daemon. </code></pre> <p>The system gets struck in this error and never progresses further. Kindly let me know how to fix this. This is happening in startup and I don't have access to the terminal during this point.</p> <p><a href="https://i.stack.imgur.com/wgHiR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wgHiR.jpg" alt="enter image description here" /></a></p>
1776411
94914
2024-03-20T06:11:45.617
2024-03-20T06:11:45.617
Startup failure- snapd.service
[ "kubuntu" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1508009
1
null
2024-03-19T19:47:23.653
-1
29
<p>Any request like <code>sudo apt-get install ***</code> starts the installation process, but when unpacking it throws an error, after which some packages are installed and work fine, some do not work fine, and some do not show up as installed.</p> <pre><code>dpkg: error processing package openmpi-bin (--configure): installed openmpi-bin package post-installation script subprocess returned error exit status 2 dpkg: dependency problems prevent configuration of mpi-default-bin: mpi-default-bin depends on openmpi-bin; however: Package openmpi-bin is not configured yet. dpkg: error processing package mpi-default-bin (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libcoarrays-openmpi-dev:amd64: libcoarrays-openmpi-dev:amd64 depends on openmpi-bin; however: Package openmpi-bin is not configured yet. dpkg: error processing package libcoarrays-openmpi-dev:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libopenmpi-dev:amd64: libopenmpi-dev:amd64 depends on openmpi-bin (&gt;= 3.0.0-1); however: Package openmpi-bin is not configured yet. dpkg: error processing package libopenmpi-dev:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libboost-mpi-python1.74.0: libboost-mpi-python1.74.0 depends on mpi-defauNo apport report written because the error message indicates it's a follow-up error from a previous failure. No apport report written because the error message indicates it's a follow-up error from a previous failure. No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached lt-bin; however: Package mpi-default-bin is not configured yet. dpkg: error processing package libboost-mpi-python1.74.0 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libboost-mpi-python1.74-dev: libboost-mpi-python1.74-dev depends on libboost-mpi-python1.74.0 (= 1.74.0-14ubuntu3); however: Package libboost-mpi-python1.74.0 is not configured yet. dpkg: error processing package libboost-mpi-python1.74-dev (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libboost-mpi-python-dev: libboost-mpi-python-dev depends on libboost-mpi-python1.74-dev; however: Package libboost-mpi-python1.74-dev is not configured yet. dpkg: error processing package libboost-mpi-python-dev (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libboost-all-dev: libboost-all-dev depends on libboost-mpi-python-dev; however: PackageNo apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached libboost-mpi-python-dev is not configured yet. dpkg: error processing package libboost-all-dev (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mpi-default-dev: mpi-default-dev depends on libopenmpi-dev; however: Package libopenmpi-dev:amd64 is not configured yet. dpkg: error processing package mpi-default-dev (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libboost-mpi1.74-dev: libboost-mpi1.74-dev depends on mpi-default-dev; however: Package mpi-default-dev is not configured yet. No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached dpkg: error processing package libboost-mpi1.74-dev (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libboost-mpi-dev: libboost-mpi-dev depends on libboost-mpi1.74-dev; however: Package libboost-mpi1.74-dev is not configured yet. dpkg: error processing package libboost-mpi-dev (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports has already been reached Errors were encountered while processing: openmpi-bin mpi-default-bin libcoarrays-openmpi-dev:amd64 libopenmpi-dev:amd64 libboost-mpi-python1.74.0 libboost-mpi-python1.74-dev libboost-mpi-python-dev libboost-all-dev mpi-default-dev libboost-mpi1.74-dev libboost-mpi-dev E: Sub-process /usr/bin/dpkg returned an error code (1) </code></pre> <p>I tried the following:</p> <pre><code>sudo apt clean sudo dpkg --configure -a sudo apt -f install sudo dpkg --remove --force-remove-reinstreq openmpi-bin sudo apt update sudo apt install openmpi-bin sudo apt autoremove sudo apt update &amp;&amp; sudo apt upgrade </code></pre> <p>But <code>sudo dpkg --remove --force-remove-reinstreq openmpi-bin</code> answer:</p> <pre><code>dpkg: dependency problems prevent removal of openmpi-bin: mpi-default-bin depends on openmpi-bin. libopenmpi-dev:amd64 depends on openmpi-bin (&gt;= 3.0.0-1). libcoarrays-openmpi-dev:amd64 depends on openmpi-bin. dpkg: error processing package openmpi-bin (--remove): dependency problems - not removing Errors were encountered while processing: openmpi-bin </code></pre> <p>This answer from <a href="https://askubuntu.com/questions/855359/dependency-errors-prevent-all-apt-commands-from-running-package-libappstream-g">this</a> and <a href="https://askubuntu.com/questions/202321/package-dbus-is-not-configured-yet">this</a> also can not help me.</p> <pre><code>sudo apt-get clean sudo apt-get update sudo apt-get upgrade sudo apt-get install -f </code></pre> <p>I tried everything from apt update to restart. What can I do to remove this error and install packages correctly?</p>
1776339
null
null
2024-03-19T19:47:23.653
Can't install anything with apt install in ubuntu
[ "apt", "package-management", "dpkg" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1508011
1
1508017
2024-03-19T20:02:33.257
5
785
<p>I noticed packages have version constraints in their metadata (e.g., <a href="https://packages.ubuntu.com/focal/git" rel="noreferrer">git</a>). What algorithm does APT use to satisfy these dependencies?</p> <p>E.g., <a href="https://spack.readthedocs.io/en/latest/" rel="noreferrer">Spack</a> uses <a href="https://potassco.org/clingo/" rel="noreferrer">Clingo</a> as its dependency solver, Conda and Mamba use <a href="https://github.com/openSUSE/libsolv" rel="noreferrer">libsolv</a>, <a href="https://pip.pypa.io/en/stable/topics/dependency-resolution/" rel="noreferrer">Pip</a> uses its own custom backtracking solver.</p>
124782
null
null
2024-03-19T21:09:20.697
What dependency solver does APT use?
[ "apt", "package-management", "dependencies" ]
1
1
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T20:09:42.180", "id": "2645833", "postId": "1508011", "score": "0", "text": "https://pmhahn.github.io/apt-dependency-resolver/", "userDisplayName": null, "userId": "15811" } ]
{ "accepted": true, "body": "<p>APT pre-dates the idea of dependency resolution being an interesting property of a system to be studied independently of the program which performs the dependency resolution, so APT's dependency resolution algorithm is basically: &quot;Whatever <a href=\"https://salsa.debian.org/apt-team/apt\" rel=\"noreferrer\">the source code of APT</a> happens to do&quot;.</p>\n<p>In particular, APT was (one of) the first package manager(s) to provide dependency resolution at all, so there was no reason to discuss its algorithm independent of APT and, for example, compare it to RPM's, because RPM didn't have dependency resolution.</p>\n<p>Now, of course, the developers of APT haven't just coded this up randomly, but my point is: the algorithm doesn't have a name, because at the time, it was the only one, and so there was no reason to talk about the algorithm without also talking about APT and vice versa.</p>\n<p>There is a little bit of <a href=\"https://salsa.debian.org/apt-team/apt#dependency-resolution\" rel=\"noreferrer\">information in the README section about Debugging</a>:</p>\n<blockquote>\n<h3>Dependency resolution</h3>\n<p>APT works in its internal resolver in two stages: First all packages are visited and marked for installation, keep back or removal. Option <code>Debug::pkgDepCache::Marker</code> shows this. This also decides which packages are to be installed to satisfy dependencies, which can be seen by <code>Debug::pkgDepCache::AutoInstall</code>. After this is done, we might be in a situation in which two packages want to be installed, but only one of them can be. It is the job of the <code>pkgProblemResolver</code> to decide which of two packages 'wins' and can therefore decide what has to happen. You can see the contenders as well as their fight and the resulting resolution with <code>Debug::pkgProblemResolver</code>.</p>\n</blockquote>\n<p>Here's a <a href=\"https://salsa.debian.org/apt-team/apt/-/blob/main/apt-pkg/algorithms.cc?ref_type=heads#L7-11\" rel=\"noreferrer\">fun little comment from the source code</a>:</p>\n<blockquote>\n<pre class=\"lang-cc prettyprint-override\"><code>/* ######################################################################\n\n Algorithms - A set of misc algorithms\n\n The pkgProblemResolver class has become insanely complex and\n very sophisticated, it handles every test case I have thrown at it\n to my satisfaction. Understanding exactly why all the steps the class\n does are required is difficult and changing though not very risky\n may result in other cases not working.\n \n ##################################################################### */\n</code></pre>\n</blockquote>\n<p>The blog article <a href=\"https://pmhahn.github.io/apt-dependency-resolver/\" rel=\"noreferrer\">Debian APT dependency resolver</a> in <a href=\"https://askubuntu.com/questions/1508011/what-dependency-solver-does-apt-use#comment2645833_1508011\">Rinzwind's comment</a> goes into a lot more detail. It was written by a package maintainer who was confused about a strange thing that happened with their package, and dives into minute details of the algorithm.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2024-03-19T20:58:30.077", "id": "1508017", "lastActivityDate": "2024-03-19T21:09:20.697", "lastEditDate": "2024-03-19T21:09:20.697", "lastEditorDisplayName": null, "lastEditorUserId": "1961", "ownerDisplayName": null, "ownerUserId": "1961", "parentId": "1508011", "postTypeId": "2", "score": "12" }
[ { "accepted": true, "body": "<p>APT pre-dates the idea of dependency resolution being an interesting property of a system to be studied independently of the program which performs the dependency resolution, so APT's dependency resolution algorithm is basically: &quot;Whatever <a href=\"https://salsa.debian....
null
null
null
null
null
1508013
1
null
2024-03-19T20:27:44.937
-1
29
<p>I am trying to do something I'm sure I have achieved easily in the past. I want to write write a bash script which opens a new terminal and then runs the following command &quot;picocom -b 115200 /dev/ttyACM0&quot;&quot; and then keeps the terminal window open to act as a serial monitor. I wrote the following script and made it excutable:</p> <pre><code>#!/bin/bash # Open a new terminal window and run picocom gnome-terminal -- picocom -b 115200 /dev/ttyACM0 </code></pre> <p>The script runs without error but a second terminal doesn't open. Even if I run &quot;gnome-terminal -- picocom -b 115200 /dev/ttyACM0&quot; directly in a terminal a second terminal doesn't open.</p> <p>I have even tried this using xterm instead of gnome-terminal but I cannot get a second terminal to open and run a command, though entering simply &quot;gnome-terminal&quot; will open a clean new terminal.</p> <p>Edit: The picocom program was simply executing and exiting and closing the terminal window with both gnome-terminal and xterm, as suggested by steeldriver. The solution was to use &quot;;exec.sh&quot; in the command. I find it hard to understand why someone has voted this question down when it is a legitimate and factual question that now has a solution.</p>
626979
626979
2024-03-21T07:31:59.327
2024-03-21T07:31:59.327
Cannot get gnome-terminal to open new terminal and run command in it
[ "gnome-terminal" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T23:12:00.083", "id": "2645858", "postId": "1508013", "score": "2", "text": "Is it possible that the picocom command is simply exiting, causing the terminal to close immediately? Have you tried something like `gnome-terminal -- sh -c 'picocom -b 115200 /dev/ttyACM0 ;...
null
[]
null
null
null
null
null
1508014
1
null
2024-03-19T20:28:43.253
1
42
<p>Raspberry Pi Imager only lets you install regular Ubuntu instead of Lubuntu, Xubuntu, Ubuntu MATE, etc. Figuring that I could just change the desktop environment on the Pi itself I installed Ubuntu desktop. The only thing I did on this installation of Ubuntu is connect to Wi-Fi, update all the preinstalled software, install the ubuntu-mate-desktop package, log out, then select MATE on the gear icon on the bottom right of the login screen. Entering the password just restarts the login screen as if nothing happened, however it will let me log back in to GNOME if I check the Ubuntu option instead. Whatever the problem it is with the default settings for the Ubuntu installation that Raspberry Pi Imager gives you.</p> <p>I don't think the problem is with MATE itself because to check, I installed a bunch of other desktop environments, and &quot;Ubuntu&quot; is still literally the only option on this list that works. Every other one just restarts the login screen in the exact same way</p> <p><a href="https://i.stack.imgur.com/UqjC9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UqjC9.jpg" alt="enter image description here" /></a></p>
1776426
94914
2024-03-19T23:29:48.727
2024-03-19T23:29:48.727
Can't log in to any desktop environment other than GNOME on Raspberry Pi 5
[ "login", "raspberrypi", "mate" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T20:59:56.477", "id": "2645842", "postId": "1508014", "score": "0", "text": "You've not provided what to me is the basic starting point, what Ubuntu product & release of that product you're asking about. A default Desktop install only includes the GNOME Desktop (*wh...
null
[]
null
null
null
null
null
1508015
1
null
2024-03-19T20:32:56.513
-1
95
<p>I am getting a very strange behavior... I am running an Ubuntu 22.04 on a newly created oci instance (arm)</p> <p>I've just created the instance a few minutes ago, i did no changes and i try to setup Password ssh (as key ssh is the only possible way to ssh into the machine when you create the instance).</p> <p>I've set the password for the ubuntu account.</p> <pre><code>passwd ubuntu </code></pre> <p>I've enabled <code>PasswordAuthentication yes</code> in /etc/ssh/sshd_config.</p> <p>I've restarted sshd both with <code>systemctl restart sshd</code> and <code>systemctl stop sshd</code> wait a minute <code>systemctl start sshd</code>.</p> <p>And for some whatever reason I am unable to login.</p> <p>If i do ssh ubuntu@my_machine i get &quot;Permission denied (publickey)&quot;.</p> <p>I know for a fact that this is the way to do it, I did it in the past and i saved the &quot;traces&quot; of what i did then and it was the exact same thing, and that time it worked.</p> <p>Also, based on this &quot;official&quot; procedure from oracle, this is the way to do it...</p> <p><a href="https://support.oracle.com/knowledge/Oracle%20Cloud/2931479_1.html" rel="nofollow noreferrer">OCI Compute – How to Enable Password Based Authentication on Linux Instance (Doc ID 2931479.1)</a></p> <p>I don't think it has to do with my computer. I tried from another one and i get the same thing. I also tried from another oci instance to ssh into this one and i get the same thing.</p> <p>What am i missing here?</p>
745967
null
null
2024-03-20T01:57:35.033
SSH Permission denied (publickey) on Password login
[ "22.04", "ssh", "password", "oracle", "sshd" ]
1
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<p>Do you have a <code>.conf</code> file in the <code>/etc/ssh/sshd_config.d/</code> directory? If so, open that and see if <code>PasswordAuthentication</code> is set to <code>No</code></p>\n<p>You should be able to change it there, or simply delete the file and restart ssh.</p>...
null
null
null
null
null
1508016
1
null
2024-03-19T20:46:04.957
-1
120
<p>I have linux ubuntu installed on my Lenovo Ideapad3, with Realtek network adapter. I connect to any wifi, since last Thursday. I tried as written in many blogs, one of them works. Which was to switch 6.5.0-21-generic version of kernel when booting my laptop. That way it only connects to old router which is 2.4Ghz. As I understood while reading all these days many articles, I turned off my Tp link modem Archer C6 separately for 2.4 Ghz and 5Ghz, changed to 802.11n but does not work anyway. I blacklisted kernel drivers in modprobe.d/blacklist.conf and then even bring back balcklisted module. Cannot go any further, would appreciate any assistance.</p> <p><code>https://pastebin.ubuntu.com/p/Zj5Zm3Prt4/</code></p> <pre><code>$ lsmod | grep rtw_8852be rtw_8852be 12288 0 rtw_8852b 409600 1 rtw_8852be rtw89pci 94208 1 rtw_8852be $ systemctl status NetworkManager.service ● NetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2024-03-19 23:47:45 +04; 25min ago Docs: man:NetworkManager(8) Main PID: 854 (NetworkManager) Tasks: 3 (limit: 16482) Memory: 11.7M CPU: 977ms CGroup: /system.slice/NetworkManager.service └─854 /usr/sbin/NetworkManager --no-daemon Mar 20 00:10:07 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;info&gt; [1710879007.7888] device (p2p-dev-wlp2s0): supplicant management interface state: &gt; Mar 20 00:10:17 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;info&gt; [1710879017.9037] device (wlp2s0): supplicant interface state: disconnected -&gt; sca&gt; Mar 20 00:10:17 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;info&gt; [1710879017.9037] device (p2p-dev-wlp2s0): supplicant management interface state: &gt; Mar 20 00:10:19 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;warn&gt; [1710879019.0586] device (wlp2s0): Activation: (wifi) association took too long, f&gt; Mar 20 00:10:19 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;info&gt; [1710879019.0587] device (wlp2s0): state change: config -&gt; failed (reason 'ssid-no&gt; Mar 20 00:10:19 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;info&gt; [1710879019.0590] manager: NetworkManager state is now DISCONNECTED Mar 20 00:10:19 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;warn&gt; [1710879019.0592] device (wlp2s0): Activation: failed for connection 'TP-LINK_54EA&gt; Mar 20 00:10:19 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;info&gt; [1710879019.0594] device (wlp2s0): state change: failed -&gt; disconnected (reason 'n&gt; Mar 20 00:10:21 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;info&gt; [1710879021.4152] device (wlp2s0): supplicant interface state: scanning -&gt; disconn&gt; Mar 20 00:10:21 administrator-IdeaPad-3-15ABA7 NetworkManager[854]: &lt;info&gt; [1710879021.4153] device (p2p-dev-wlp2s0): supplicant management interface state: &gt; $ ip link 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: wlp2s0: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000 link/ether f4:6a:dd:78:a4:91 brd ff:ff:ff:ff:ff:ff $ nmcli device status DEVICE TYPE STATE CONNECTION wlp2s0 wifi disconnected -- p2p-dev-wlp2s0 wifi-p2p disconnected -- lo loopback unmanaged -- $ lsmod | grep rtw rtw_8852be 12288 0 rtw_8852b 409600 1 rtw_8852be rtw89pci 94208 1 rtw_8852be rtw89core 880640 2 rtw89pci,rtw_8852b mac80211 1720320 2 rtw89pci,rtw89core cfg80211 1318912 3 rtw89core,mac80211,rtw_8852b $ rfkill list 0: ideapad_wlan: Wireless LAN Soft blocked: no Hard blocked: no 1: ideapad_bluetooth: Bluetooth Soft blocked: yes Hard blocked: no 2: hci0: Bluetooth Soft blocked: yes Hard blocked: no 3: phy0: Wireless LAN Soft blocked: no Hard blocked: no ~$ lspci -nnk -d ::0280 02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852] Subsystem: Lenovo Device [17aa:4853] Kernel driver in use: rtw89_8852be Kernel modules: rtw89_8852be, rtw_8852be </code></pre>
1776429
1776429
2024-03-20T16:09:51.900
2024-03-20T16:09:51.900
Ubuntu 22.04 LTS and kernel module 6.5.0-25-generic does not connect to any wifi network
[ "networking", "drivers", "kernel" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-20T16:32:42.250", "id": "2645965", "postId": "1508016", "score": "0", "text": "Unfortunately nope. It only gives in detail what information I need to give not the solution", "userDisplayName": null, "userId": "1776429" }, { "creationDate": "2024-03-20T1...
null
[]
null
null
null
null
null
1508018
1
null
2024-03-19T21:27:44.637
-1
27
<p>Just 30 minutes before writing this question I installed Ubuntu on an external 500 GB HDD I had lying around (so I could mess around in Linux when I'm in the school computer lab), and I did so by booting from a 32 GB USB thumb drive which I put the Ubuntu iso on with Rufus.</p> <p>I opened the installer and <strong>triple</strong> checked that I wasn't installing stuff on my main Windows drive, so I clicked continue and after some time the installation finished.</p> <p>I was still scared that I might've fucked up something and somehow installed stuff on my main drive, so I booted up the PC after removing the thumb drive, and... <em>boom.</em> Black screen with a GRUB command line(?). I started panicking, so I shut down again and opened the boot menu, and there it was: under my main drive, there was a UEFI &quot;ubuntu&quot; boot option, and under it was Windows Boot Manager. Windows boots perfectly fine, and all my files are here, <em>but why the hell did it install GRUB on my main drive when I clearly selected the external HDD as the install destination???</em></p> <p>I tried moving WBM up in the boot order settings, but it won't let me for some reason. <strong>How can I uninstall GRUB so I don't have to go through this mess every time I want to use my PC??</strong></p> <p>P.S. sorry for making such a long post for what seems to be a pretty easy problem to solve, I just wanted to give full context to anyone reading.</p>
1776434
null
null
2024-03-19T21:27:44.637
Need help with uninstalling GRUB from my Windows PC
[ "grub2" ]
0
6
CC BY-SA 4.0
[ { "creationDate": "2024-03-19T21:39:14.343", "id": "2645846", "postId": "1508018", "score": "1", "text": "This is a known bug in the Ubuntu 22.04 installer (Ubiquity). 23.10 uses the subiquity installer, and does not display the bug. Copy all files in your internal disk's UEFI partition to the ...
null
[]
null
null
null
null
null
1508022
1
null
2024-03-19T21:35:46.703
0
111
<p>There are <a href="https://ubuntu.com/tutorials/configure-ssh-2fa" rel="nofollow noreferrer">directions on configuring 2FA for SSH</a>. However, I'm interested in mandating 2FA for logal sign in. For example, normally, the login might look like this:</p> <pre class="lang-none prettyprint-override"><code>ubuntu login: cocomac Password: </code></pre> <p>However, I'd like it to prompt me for a (valid) 2FA code after entering my password for additional security[1].</p> <p>I'm specifically interested in Ubuntu Server, although Ubuntu Desktop (any flavor) answers are acceptable. Any supported (non-EOL) version is fine.</p> <p>How can I add 2FA for local sign ins on Ubuntu?</p> <hr> <p>[1] For sake of the question, assume physical security of the system isn't an issue.</p>
1438484
null
null
2024-03-21T23:20:08.360
How to require 2FA for local Ubuntu login?
[ "server", "login", "security", "two-factor-authentication" ]
2
0
CC BY-SA 4.0
[]
null
[ { "accepted": null, "body": "<ol>\n<li><p>Install the <code>Google PAM</code> package through the terminal. <code>PAM</code>, an abbreviation for <code>Pluggable Authentication Module</code>, is a mechanism that provides an extra layer of authentication on the Linux platform.</p>\n<pre><code>sudo apt instal...
null
null
null
null
null
1508026
1
null
2024-03-19T23:14:49.337
-3
122
<p>I just installed Ubuntu via the Raspberry imager, so I was connected to wifi just fine using Raspberry OS on my SD card, but Ubuntu is telling me keys are required and it's not getting connected.</p> <p>When I try to connect via the cli I get the following error message.</p> <pre class="lang-none prettyprint-override"><code>Error: Connection activation failed: Secrets were required, but not provided. </code></pre> <p>[wireless]<br /> vendor Broadcom<br /> no soft blocked</p> <p><a href="https://i.stack.imgur.com/vc4UF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vc4UF.jpg" alt="enter image description here" /></a></p>
1577286
94914
2024-03-21T01:18:00.300
2024-04-01T16:37:09.883
Can't connect to WiFi network
[ "wireless", "broadcom", "raspberrypi" ]
2
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-20T00:05:58.900", "id": "2645864", "postId": "1508026", "score": "1", "text": "By \"Passwords or Encryption keys\" it means the password for the network.", "userDisplayName": null, "userId": "1749634" }, { "creationDate": "2024-03-20T04:54:41.583", ...
null
[ { "accepted": null, "body": "<p>The Authentication required window is prompting you to enter the password for the wireless network. Enter the wifi password for PIANO108, so that you can connect to the internet via this available network's wifi.</p>\n<p>Sometimes restarting the NetworkManager service can res...
null
null
null
null
null
1508027
1
null
2024-03-20T00:01:42.160
-1
39
<p>I tried to press <kbd>Esc</kbd> or <kbd>Shift</kbd> when booting the machine, but neither of them are working. I need to rescue my soduers file in <em>Advanced options for Ubuntu</em>. Attaching the disk to another machine is not working as well, since disk was encrypted by TPM full disk encryption feature of Ubuntu 23.10, during installation there is no asking for input passphrase for encryption. I cannot unlock this encryption disk on another machine, but I have the recovery key output from the <code>snap recovery --show-keys</code> command.</p>
1771775
94914
2024-03-20T00:07:58.280
2024-03-20T00:07:58.280
How to enter Advanced options for Ubuntu in Ubuntu 23.10?
[ "23.10", "tpm", "rescue-mode" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1508031
1
null
2024-03-20T01:09:43.090
-1
21
<p>Weird problem I have on ubuntu 23.10/i3wm. Whenever I put the computer to sleep using <code>systemctl sleep</code>, and I wake it up, a lot of the previously opened GPU accelerated apps just go unresponsive/blank and need restarting (apps like Godot, browser, discord, Spotify, among others that have visual bugs but focusing them makes them rerender and fixes the problem). What could cause this problem/how can I fix it?</p> <p>Here is some h/w-info:</p> <ul> <li><strong>GPU</strong>: msi nvidia gtx 1650 super</li> <li><strong>Driver</strong> <strong>version</strong>: 545</li> <li><strong>OS</strong>: ubuntu 23.10 x64</li> <li><strong>Kernel</strong>: 6.5.0-25-generic</li> </ul>
1776459
1450948
2024-03-20T07:17:33.930
2024-03-20T07:17:33.930
GPU accelerated apps go unresponsive after waking from sleep. (Nvidia)
[ "drivers", "nvidia", "graphics", "suspend", "23.10" ]
0
0
CC BY-SA 4.0
[]
null
[]
null
null
null
null
null
1508032
1
null
2024-03-20T01:12:45.580
-3
27
<p>I just installed Broadcom wireless network driver on my Ubuntu 22.04 computer, so that I won't have to rely on a USB adapter anymore to connect to the internet, but it didn't work. I still could not connect to wireless networks and also, my i3wm started behaving strangely. When I open my terminal with <code>mod + return</code> I'm just greeted with a blurred portion of my screen which seems to be from picom trying to blur the background when I open an app and even though I dont't see any text or cursor I can tell that my terminal is running and if i type the <code>exit</code> command, and press Enter the blurred window disappears as if the terminal just closed, so I uninstalled the driver (though I still have the zip file) to see if things would go back to normal, but they didn't. Furthermore I can't even connect to the internet through USB tethering with my phone anymore, so I'm unable to reinstall the driver.</p> <p>I just realized that my problem might be because when I rebooted my system after installing the driver, I only enrolled my MOK and didn't change the Secure Boot settings because when I run <code>lspci --vv</code> on my terminal (using regular GNOME) the capability section of the hardware showing there shows <code>&lt;access denied&gt;</code>.</p> <p>Also, when I switch to gnome at login instead of i3 I can open my terminal and other apps normally but I still can't connect to any wireless networks.</p>
1748052
1748052
2024-03-20T16:08:46.410
2024-03-20T16:08:46.410
Broadcom wireless network driver broke i3wm
[ "networking", "drivers", "broadcom", "i3-wm" ]
0
3
CC BY-SA 4.0
[ { "creationDate": "2024-03-20T01:28:24.977", "id": "2645867", "postId": "1508032", "score": "0", "text": "I just realised that my problem might be because when I rebooted my system after installing the driver, I only enrolled my MOK and didn't change secure boot settings cuz when I run `lspci --...
null
[]
null
null
null
null
null
1508036
1
null
2024-03-20T02:53:48.533
-1
25
<p>My laptop has a strange &quot;trait&quot; when the bios starts up I hear a strange sound, but as soon as the initialization was over it would click off. Today I installed ubuntu and the same sound I hear when booting the pc I now hear every time I play audio. I tried following the instructions in this <a href="https://askubuntu.com/questions/899021/how-to-fix-bang-and-olufsen-audio-for-hp-laptops/1120269#1120269">thread</a>, but after this manipulation the sound just stopped playing.</p> <pre><code>OS: Ubuntu 23.10 x86_64 Host: Victus by HP Laptop 16-e0xxx Kernel: 6.5.0-9-generic CPU: AMD Ryzen 5 5600H with Radeon G GPU: AMD ATI Radeon Vega Series / Ra GPU: NVIDIA GeForce RTX 3060 Mobile </code></pre>
1776474
null
null
2024-03-20T02:53:48.533
HP Victus 16-e0008ur strange squeaking noise when playing audio
[ "drivers", "sound", "speakers" ]
0
2
CC BY-SA 4.0
[ { "creationDate": "2024-03-20T03:21:08.393", "id": "2645879", "postId": "1508036", "score": "0", "text": "Could be a capacitor failing, can you look inside your machine (with the power OFF)?", "userDisplayName": null, "userId": "25618" }, { "creationDate": "2024-03-20T03:24:01.4...
null
[]
null
null
null
null
null
1508038
1
null
2024-03-20T03:44:18.693
0
47
<p>I'm not asking how to enable/disable Night Light light via cli. (<code>gsettings get org.gnome.settings-daemon.plugins.color night-light-enabled</code>)</p> <p>I'd like to run a script each time Night Light activates or deactivates. (And I assume that there will only be triggers if Night Light is actually <strong>enabled.</strong>)</p> <p>One simple example: Run <code>gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'</code> when Night Light <strong>activates</strong> and <code>gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'</code> each time it <strong>deactivates.</strong></p> <p>Is there a way to run a custom script on Night Light trigger?</p>
101985
null
null
2024-03-20T03:44:18.693
How to run a script when Night Light is triggered
[ "22.04", "themes", "gnome-shell", "dbus", "night-light" ]
0
6
CC BY-SA 4.0
[ { "creationDate": "2024-03-20T05:34:21.653", "id": "2645885", "postId": "1508038", "score": "2", "text": "Hi @Majal. Are you ok with an extension? this is just the beginning. If you are Ok then I will try.", "userDisplayName": null, "userId": "739431" }, { "creationDate": "2024-0...
null
[]
null
null
null
null
null