My /dev/sda2 flaged as msftdata but have no windows10 after deul boot [closed] https://askubuntu.com/questions/1568202/my-dev-sda2-flaged-as-msftdata-but-have-no-windows10-after-deul-boot

I installed linux mint cinnamon as a duel boot. All seemed OK, until I got a message about only having 1Gb of storage left. As I have a 1Tb disc I loaded gparted to have look, (in the mean time I tried to load windows10, no windows!) On gparted /dev/sda1 was showing as microsoft reserved patition and sda2 as basic data partition, flagged msftdata and ext4, but as I said there is no windows on my computer just an error message if i try to boot windows. Any idea what I can do?

Black screen interrupting installation-phase of Ubuntu 26.04 https://askubuntu.com/questions/1568200/black-screen-interrupting-installation-phase-of-ubuntu-26-04

I have installed Ubuntu, and have added "nomodeset" due to my PC not reacting on the loading screen while installing Ubuntu. Now I'm stuck with this screen: enter image description here

What does that mean? And what is the solution to that problem?

San Disk sd card partitioning is unknown(pmbr) [closed] https://askubuntu.com/questions/1568199/san-disk-sd-card-partitioning-is-unknownpmbr

I'll try to summerize this the best I can, sorry in advance for any errors english isn't my first language.

I bought a San Disk sd card specifically to download games from steam into it but at some point whenever I tried to download a game or transfer a game's file from my 'home' storage to the sd card, I'd get an error pop-up and couldn't finish the download. So I tried randomly modifying the sd card's partition and file system after a quick only search.(I do realize now how stupid of an idea that was, especially since I didn't look online long enough...)

In the end I think I might've just turned the card useless since I can't modify anything or transfer/download anything into the sd card. When I try to mount the SD card I just get a "can't mount file" message.

These are the details of the SD card in the media and etc manager:

   Model: SK128
   Size: 128GB(127.999.672.320 bytes) 
   Partitioning: Unknown (PMBR)
   Contents: Unallocated Space
   Device: /dev/mmcblk0

I'd be really grateful if anyone could help. I don't care much about retrieving the lost data, I just want the SD card to work again.(I'm on Linux Mint 21.3 MATE64-bit if it matters..)

Landscape CVE list not updating https://askubuntu.com/questions/1568198/landscape-cve-list-not-updating

The Landscape server only reports the CVE until May 7, 2026. It does not show any vulnerabilities on newer machines. What could be the problem?

No signal from Displayport https://askubuntu.com/questions/1568193/no-signal-from-displayport

I am currently encountering an issue with my computer monitor link in Display-port.

My setup:

  • Ubuntu 24.04.4 LTS (64-bit)
  • NVIDIA 1080Ti
  • First monitor plugged with HDMI (no issues, work just fine)
  • Second monitor plugged with Display-port (detected, but not video signal). I can even move the mouse into the second monitor area.
erzatz@erzatz-All-Series:~$ xrandr
Screen 0: minimum 8 x 8, current 5120 x 1600, maximum 32767 x 32767
HDMI-0 connected primary 2560x1600+0+0 (normal left inverted right x axis y axis) 345mm x 215mm
   2560x1600     59.94*+
   2560x1080     59.94  
   1920x1080     59.94  
   1680x1050     59.95  
   1440x900      59.89  
   1360x765      60.00  
   1280x1024     60.02  
   1280x720      60.00    59.94  
   1152x648      60.00  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94  
DP-0 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     60.00*+ 144.00   120.00   100.00  
   1920x1080    119.88    60.00    59.94    50.00  
   1280x1024     75.02    60.02  
   1280x720      59.94    50.00  
   1024x768     119.99    99.97    75.03    70.07    60.00  
   800x600      119.97    99.66    75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480      119.52    99.77    75.00    72.81    59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
erzatz@erzatz-All-Series:~$ ddcutil detect
Display 1
   I2C bus:  /dev/i2c-3
   DRM connector:           card1-HDMI-A-1
   EDID synopsis:
      Mfg id:               UGD - UNK
      Model:                MD160QH
      Product code:         5654  (0x1616)
      Serial number:        
      Binary serial number: 539166984 (0x20230908)
      Manufacture year:     2022,  Week: 37
   VCP version:         2.2

Display 2
   I2C bus:  /dev/i2c-4
   DRM connector:           card1-DP-1
   EDID synopsis:
      Mfg id:               AOC - UNK
      Model:                Q27B36X
      Product code:         9987  (0x2703)
      Serial number:        XI7RCHA015899
      Binary serial number: 15899 (0x00003e1b)
      Manufacture year:     2025,  Week: 51
   VCP version:         2.2

Results of ubuntu-drivers devices:

erzatz@erzatz-All-Series:~$ ubuntu-drivers devices
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
== /sys/devices/pci0000:00/0000:00:03.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B06sv00001043sd000085E2bc03sc00i00
vendor : NVIDIA Corporation
model : GP102 [GeForce GTX 1080 Ti]
driver : nvidia-driver-580-server - distro non-free
driver : nvidia-driver-470-server - distro non-free
driver : nvidia-driver-390 - third-party non-free
driver : nvidia-driver-565 - third-party non-free
driver : nvidia-driver-580 - distro non-free
driver : nvidia-driver-535 - distro non-free recommended
driver : nvidia-driver-535-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin

It was working fine before I tried to connect it through a KVM dock.
This one: https://www.avaccess.com/products/idock-b23/ Then I remove it from my setup.

But since then, my monitor is no longer showing any signal, but is well detected:
My screen showing the displays connected, we can see that both screen are connected

I've tried:

  • Changed my cable.
  • Changed the monitor.
  • Unplugged and re-plug the monitor's power.
  • Update my NVIDIA's drivers
  • Visual check of the GPUs Display-port integrity (no apparent issues)

Does anyone have any idea how to fix this problem?

Unmounting hard drive (system drive) to check for errors https://askubuntu.com/questions/1568188/unmounting-hard-drive-system-drive-to-check-for-errors

Ubuntu 26.04 LTS. Desktop PC.

My PC suffered a sudden power loss a few days ago and now goes through a prolonged process before it finally allows booting in to the OS.

The display seems to be indicating errors caused the power loss. I want to check it for errors, but I'm told I need to unmount it first.

How do I unmount the drive where the OS is located? Will my PC still operate?

This is a bit of what the displays shows: enter image description here

Stylus pressure sensitivity not registering outside settings tab https://askubuntu.com/questions/1568187/stylus-pressure-sensitivity-not-registering-outside-settings-tab

New to the OS so excuse me if the solution is obvious. I have a Huion Tablet GT-156 model with official ubuntu compatible drivers installed, though for whatever reason my the device does not register pressure from the stylus on any software I've tested it on. It's puzzling because the only time I could get it to display strokes from the pen is on the Test Settings drop down in the ubuntu system settings tab; anywhere else the only thing that gets mapped is positioning of the stylus. Is it possible a system process is suppressing inputs?

Only place it works is here

Ubuntu 26.04 LTS Desktop

Laptop screen not responding upon opening https://askubuntu.com/questions/1568186/laptop-screen-not-responding-upon-opening

I have a Lenovo V15-ADA with Ubuntu 26.04 recently installed.

Upon closing the laptop, the screen locks as expected. When I reopen the laptop, the screen stays dark and I am forced to hard reset the computer.

This problem also occurs after the computer has been hibernating. Whether I move the mouse or press a key in attempt to turn the screen on, I get no response.

"The user name could not be found" error when connecting with Samba https://askubuntu.com/questions/1568180/the-user-name-could-not-be-found-error-when-connecting-with-samba

I have a Ubuntu server running in my home. Mostly for streaming movies and such but we just got a laptop for the kids and I was trying to set up samba so I can share files from my windows desktop to the laptop, but I'm running into a snag. When I attempt to connect to the share it asks me for my username and password but then I get a message that windows cannot access this network resource:

when I read log.aragorn (name of my desktop) I get

[2026/07/05 17:50:08.185990,  0] ../../source3/param/loadparm.c:3448(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/winshare failed. Permission denied

I have created a samba user and added it to the sambashare group.

permissions of my shared file are this:

drwxrwxr-x 2 neal neal 4096 Jul  5 17:34 winshare

my conf file is below (I removed all comments to make it easier to read.

#======================= Global Settings =======================

[global]

           hosts allow = 192.168.0.0/16
           hosts deny = 0.0.0.0/0
           server min protocol = SMB2

   workgroup = WORKGROUP

   server string = %h server (Samba, Ubuntu)

#### Networking ####


;   interfaces = 127.0.0.0/8 eth0

;   bind interfaces only = yes



#### Debugging/Accounting ####

   log file = /var/log/samba/log.%m

   max log size = 1000

   logging = file

   panic action = /usr/share/samba/panic-action %d


####### Authentication #######

   server role = standalone server

   obey pam restrictions = yes

   unix password sync = yes

   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

   pam password change = yes

   map to guest = bad user

########## Domains ###########

;   logon path = \\%N\profiles\%U
;   logon drive = H:
;   logon script = logon.cmd

; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############

;   include = /home/samba/etc/smb.conf.%m

;   idmap config * :              backend = tdb
;   idmap config * :              range   = 3000-7999
;   idmap config YOURDOMAINHERE : backend = tdb
;   idmap config YOURDOMAINHERE : range   = 100000-999999
;   template shell = /bin/bash

   usershare allow guests = yes

#======================= Share Definitions =======================

;[homes]
;   comment = Home Directories
;   browseable = no

;   read only = yes

;   create mask = 0700

;   directory mask = 0700

;   valid users = %S

;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   read only = yes

;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
;   write list = root, @lpadmin
[winshare]
path = /srv/samba/winshare
guest ok = yes
browsable = yes
read only = no
writeable = yes
force user = username
Ubuntu 26.04 terminal font change https://askubuntu.com/questions/1568154/ubuntu-26-04-terminal-font-change

I am using Ubuntu 26.04 with the default GNOME desktop.

I want to change the font and font size in the Terminal, but I cannot find the Preferences option. Most tutorials say to open Terminal and go to Preferences, but that option does not exist in my installation.

I tried:

  • Checking the Terminal menu (top-right/hamburger menu).
  • Right-clicking inside the Terminal window.
  • Looking through the application settings.

None of these show a Preferences option.

Questions:

  1. Has the Terminal application changed in Ubuntu 26.04?
  2. How can I change the Terminal font and font size?
  3. If the Preferences menu was removed, what is the new way to configure the Terminal?

If needed, I can provide screenshots of the Terminal window and menu.

How to create a directory and change my working directory to the new directory? [duplicate] https://askubuntu.com/questions/1568151/how-to-create-a-directory-and-change-my-working-directory-to-the-new-directory

I am new to Ubuntu and have just installed it on my laptop. My first move is to install yWriter to port some of my projects. On the install page for Linux the instructions are to change your terminal location to a newly created folder containing yWriter, however I have only just opened a terminal window for the first time today and have no idea how to change it's present working directory.

edit: here is the guide on the yWriter website. https://www.spacejock.com/yWriter7_Linux.html as you can see, after the initial terminal commands the instructions are to "change your location to that folder", which is a bit too vague for a total noob like me. I tried a couple of cd commands but they all ended with location not found, and I didn't want to mess around too much for fear of doing something I couldn't undo. And I have winetricks installed and was able to copy and paste the first lines just fine

Within the standard desktop on 24.04, how can I move the icons on the left hand side? https://askubuntu.com/questions/1568142/within-the-standard-desktop-on-24-04-how-can-i-move-the-icons-on-the-left-hand

I am using Ubuntu 24.04.

Currently, with the standard unity-like desktop (because my preferred choice of gnome flashback/compiz/lightdm doesn't currently work properly). If I have multiple instances of the same application, e.g. spreadsheets, I wish to keep them in a specific order in the icon strip on the left hand side. I can do this by creating them in the order I want, but sometimes they seem to get moved on their own.

I want to move them back to my preferred order without having to close and reopen them all. All the answers I've found online suggest that you can drag and drop them, but this doesn't seem to work. Once dragged, wherever I try to drop them, they gain a small "no entry" sign (circle with a diagonal line through it) and simply fall back to where they started.

firefox disable auto update https://askubuntu.com/questions/1568120/firefox-disable-auto-update

I'm running Ubuntu 22.04.5 LTS and recently installed FireFox 152 through the apt install channel.

When I open Settings/About Firefox, I see the Firefox updates is set to "Updates are managed by your operating system." There doesn't seem to any longer be a setting to check for updates manually or to notify me that an update is available so that I can chose when to do the update.

I opened about:config and changed app.update.auto from True to False, but that had no effect.

I would like to be able to disable the automatic updates so that I have control over when the updates happen. What are the steps to do this?

Additional info: Prior to today I was using Snap to update Firefox. Something went haywire with the auto update that broke Firefox, so I no longer care to use Snap.

More info: I added a config file to /etc/apt/preferences.d so that firefox should no longer be using snap.

$ apt policy firefox
firefox:
  Installed: 152.0.4+build1-0ubuntu0.22.04.1~mt1
  Candidate: 152.0.4+build1-0ubuntu0.22.04.1~mt1
  Version table:
     1:1snap1-0ubuntu2 -1
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
 *** 152.0.4+build1-0ubuntu0.22.04.1~mt1 1001
       1001 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

The only information I'm looking for is: "How can I configure firefox so that it will notify me when updates are available so that I can choose when to apply the updates." It's just that simple. If there are config setting changes to allow that behavior, that will be the perfect solution.

DNS failiue, resolv.conf link is OK, resolvd is running https://askubuntu.com/questions/1568093/dns-failiue-resolv-conf-link-is-ok-resolvd-is-running

I'm running Ubuntu 22.04 on one of my laptops and suddenly DNS doesn't work. It works on all of the other machines on my network. Addressing nodes on my network by IP works. Pinging google or its nameservers gets no response. Resolv.conf looks fine, resolvd is running. Any ideas?

Here's the output from systemctl status systemd-resolved.service

e - Network Name Resolution
     Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2026-07-02 08:52:54 PDT; 1h 33min ago
       Docs: man:systemd-resolved.service(8)
             man:org.freedesktop.resolve1(5)
             https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
             https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
   Main PID: 836 (systemd-resolve)
     Status: "Processing requests..."
      Tasks: 1 (limit: 9192)
     Memory: 7.7M
        CPU: 241ms
     CGroup: /system.slice/systemd-resolved.service
             ??836 /lib/systemd/systemd-resolved

Jul 02 08:52:54 system76-pc systemd[1]: Starting Network Name Resolution...
Jul 02 08:52:54 system76-pc systemd-resolved[836]: Positive Trust Anchors:
Jul 02 08:52:54 system76-pc systemd-resolved[836]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Jul 02 08:52:54 system76-pc systemd-resolved[836]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.17>
Jul 02 08:52:54 system76-pc systemd-resolved[836]: Using system hostname 'system76-pc'.
Jul 02 08:52:54 system76-pc systemd[1]: Started Network Name Resolution.
Jul 02 08:52:58 system76-pc systemd-resolved[836]: wlp0s20f3: Bus client set default route setting: yes
Jul 02 08:52:58 system76-pc systemd-resolved[836]: wlp0s20f3: Bus client set DNS server list to: 8.8.8.8, 8.8.4.4, 1.1.1.1, 192.168.0.1
lines 1-23/23 (END)

I don't see anything amiss.

RAID6 disk overrwritten during boot by upgrade from Ubuntu 12 to 26 https://askubuntu.com/questions/1567988/raid6-disk-overrwritten-during-boot-by-upgrade-from-ubuntu-12-to-26

I have RAID6 disks running well on a old server running Ubuntu 12 with an old mdadm v3.2.5. That RAID is built directly on the disk, not into a partition.

I moved my 5 disks to my new server, with fresh install of Ubuntu 26.

When I boot my new server, the RAID is not created, and a partition is created on the 5 disks! I can not understand how Ubuntu can write to the disks without asking!

If a bring back the disk to my old server, it will not be created, but I can recreate it with the command

mdadm --create /dev/md125 --assume-clean --level=6 --raid-devices=5 /dev/sde /dev/sdd /dev/sdf /dev/sdc /dev/sdb

How can I prevent my new Ubuntu 26 from creating a partition on the 5 RAID disks. I just want UBUNTU to do nothing with them during boot. Than I could use mdadm to assemble, or create the RAID6.

I have played with grub to set to skip option to fsck, and it did not solve my problem. Something else is creating those partitions.

Here is what is created on my 5 RAID6 disks by something

sdb                         8:16   0   2.7T  0 disk
└─sdb1                      8:17   0    16M  0 part
sdc                         8:32   0   2.7T  0 disk
└─sdc1                      8:33   0    16M  0 part
sdd                         8:48   0   2.7T  0 disk
└─sdd1                      8:49   0    16M  0 part
sde                         8:64   0   2.7T  0 disk
└─sde1                      8:65   0    16M  0 part
sdf                         8:80   0   2.7T  0 disk
└─sdf1                      8:81   0    16M  0 part
Can I forward command from one ssh to another device? https://askubuntu.com/questions/1567975/can-i-forward-command-from-one-ssh-to-another-device

Here's the thing, I recently replace my phone and somehow termius can't run on background. So can I ssh to my router and send command via ssh to my laptop so my phone can disconnect and my computer still running the command and using my router as an anchor?

A delay of 9 seconds between printing jobs in TSC TE310 printer on Ubuntu 24.04 https://askubuntu.com/questions/1554403/a-delay-of-9-seconds-between-printing-jobs-in-tsc-te310-printer-on-ubuntu-24-04

I am facing a delay of 9 seconds between printing jobs. Printer is TSC TE310 label printer and OS is Ubuntu 24.04 LTS and connected throught USB. The 1st print comes instantly without any delay through the printer but job reamins processing for approx 9 seconds in printer queue. for 2nd jobs same repates.

How to make persistent LiveUSB Ubuntu stick https://askubuntu.com/questions/1541696/how-to-make-persistent-liveusb-ubuntu-stick

I remember that some years ago there wan an app that enabled you to make persistent USB drive. There was a slider and you were able to set the amount of persistent space on the USB drive.

Now it seems it is not working anymore. I tried mkusb, but it is not working. I am trying to install Ubuntu 20.04.1 persistent image on live USB.

Ubuntu 24.04 "Printing stopped" https://askubuntu.com/questions/1540169/ubuntu-24-04-printing-stopped

I'm new to Ubuntu, used DOS when I was a kid. Able to install Label Range LP320 Thermal Label printer through the terminal. I got "Printing stopped" message using 24.04.

Ubuntu 22.04: Icons in system tray and many system applications replaced by red prohibited/stop symbol or legacy icons https://askubuntu.com/questions/1521958/ubuntu-22-04-icons-in-system-tray-and-many-system-applications-replaced-by-red

After updating my system a while ago, I noticed that multiple icons within the Desktop environment were replaced by compatibility mode icons (or at least very outdated ones) and red stop/prohibited symbols (see screenshots). These are all system icons meaning that also all system apps are affected (e.g. Terminal (+ symbol for multiple tabs), many parts of settings, the "Show apps" symbol in the taskbar, ...).

This guy seemed to have a similar problem, but his provided fix did not help in my case: Red icons in Ubuntu 22.04

I tried multiple suggestions by friends and colleagues and the internet, nothing worked or brought back the icons:

  1. Update icon cache
  2. Reinstall Ubuntu Desktop
  3. Reinstall Gnome
  4. Reinstall all packages using icons by searching the links that point to /usr/share/icons/

Does anyone have additional solutions I can try out? Missing these is especially frustrating in apps that heavily rely on their icons and when there is no additional description until being hovered.

If any questions arise, either due to missing details or my German language settings, I will happily clarify the question.

System Information:

  • Ubuntu 22.04
  • X11 Desktop
  • Gnome
  • No further customization

Replaced application symbol Example of missing icons in Settings app and system tray

sshd banner exchange error messages https://askubuntu.com/questions/1447172/sshd-banner-exchange-error-messages

Starting yesterday, began seeing thousands of messages like this in the auth.log

sshd[3635916]: banner exchange: Connection from 202.142.184.68 port 24571: invalid format

Almost 17,000 occurrences of the same ip address shown above, and about 500 occurrences of various other ip addresses. The ports are always changing, and I wonder if this is a brute force attempt. I have ufw enabled which includes this rule I added several minutes ago

Anywhere DENY IN 202.142.184.68

but that hasn't stopped the messages. iplocation places the ip address in Pakistan. I have ssh set up to allow connections from only one port, and it's not the default port for ssh. For my userid on the server, I ssh (Putty) without a password, using a secure key.

Any way to stop these sshd connection attempts, or whatever they are. Should I try fail2ban as mentioned in How can I stop ssh bots from trying to SSH in as root?

BTW, server is 22.04.1

should I delete var or usr directories https://askubuntu.com/questions/1433975/should-i-delete-var-or-usr-directories

Disk Capacity 256.1 GB

Ubuntu 22.04.1 LTS OS Type 64-bit GNOME Version 42.4 Windows System Wayland

I am running out of disk space. My computer keeps telling me so.

Can I delete usr or var? there folders are 6 and 11 GB, respectively. That's a lot of disk space.

Here are the results of sudo du -hxd1 /var

108K    /var/tmp
4.0K    /var/local
4.8G    /var/lib
4.0K    /var/crash
132K    /var/spool
4.0K    /var/mail
4.0K    /var/metrics
1.6G    /var/log
4.0K    /var/opt
16K /var/ipp-usb
11M /var/snap
5.6M    /var/backups
58M /var/cache
6.4G    /var

Here are the results of df -h

Filesystem      Size  Used Avail Use% Mounted on
tmpfs           771M  2.7M  768M   1% /run
/dev/nvme0n1p3   19G   19G     0 100% /
tmpfs           3.8G     0  3.8G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/nvme0n1p5  203G   67G  126G  35% /home
/dev/nvme0n1p1  483M   32M  451M   7% /boot/efi
tmpfs           771M  2.4M  769M   1% /run/user/1001
/dev/nvme0n1p2  4.4G  3.1G  1.4G  69% /media/michael/PQSERVICE

Here are the results of journalctl --disk-usage

Archived and active journals take up 1.5G in the file system.
How to list packages manually installed by snap? https://askubuntu.com/questions/1261242/how-to-list-packages-manually-installed-by-snap

I'd like to get a list of packages installed manually by snap and be able to find out whether a foobar package was installed manually by system installer.

For example:

$ snap list
Name                 Version                     Rev   Tracking         Publisher     Notes
canonical-livepatch  9.5.5                       95    latest/stable    canonical✓    -
core                 16-2.45.2                   9665  latest/stable    canonical✓    core
core18               20200707                    1880  latest/stable    canonical✓    base
discord              0.0.10                      109   latest/stable    snapcrafters  -
gnome-3-28-1804      3.28.0-17-gde3d74c.de3d74c  128   latest/stable    canonical✓    -
gnome-3-34-1804      0+git.3009fc7               36    latest/stable/…  canonical✓    -
gtk-common-themes    0.1-36-gc75f853             1506  latest/stable/…  canonical✓    -
ripgrep              12.1.0                      9     latest/stable    icey          classic
simplenote           1.20.0                      368   latest/stable    snapcrafters  -
slack                4.7.0                       25    latest/stable    slack✓        classic
snap-store           3.36.0-80-g208fd61          467   latest/stable/…  canonical✓    -
snapd                2.45.2                      8542  latest/stable    canonical✓    snapd
zoom-client          5.1.422789.0705             92    latest/stable    ogra          -

Here, core, core18 were not manually installed by me (at least not explicitly), so my try was:

$ snap list | grep -v Publisher | grep -v canonical | awk '{print $1}' | tr '\n' ' '
discord ripgrep simplenote slack zoom-client

However, I'm not sure if this is the right way to exclude automatically installed packages. Is there any neat way of doing that from the command line?

Startup device error status: { DRDY ERR } and error: { ABRT }. What could it be? https://askubuntu.com/questions/839347/startup-device-error-status-drdy-err-and-error-abrt-what-could-it-be

Startup error photos:

ata1.00: status: { DRDY ERR }
ata1.00: error: { ABRT }
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: BMDMA stat 0x5
ata1.00: failed command: READ DMA
ata1.00: cmd c8/00:20:00:c1:e7/00:00:00:00:00/ee tag 0 dma 16384 in
         res 51/04:20:00:c1:e7/00:00:00:00:00/ee Emask 0x1 (device error)

Any ideas?

How can I set up multiseat with only one physical graphics card? https://askubuntu.com/questions/817982/how-can-i-set-up-multiseat-with-only-one-physical-graphics-card

I have an Ubuntu computer running 16.04, and I only have one graphics card.

Specs

My brother and I constantly fight over who gets to use it, so I'm trying to do everyone a favor and install multiseat.

  • I would be seat0, with the VGA port, a mouse, a keyboard, and the headphone jacks on the back of the computer.

  • He would be seat1, with the DVI-D port, a mouse, a keyboard, and the headphone jacks on the front of the computer.

  • We would share the Wi-Fi dongle to connect to the internet.

I am completely at a loss on how to do this. What files do I create, where do they go, and what do I put in them? A well-formatted answer (not an online guide) would be nice.

The output of lspci:

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation C220 Series Chipset Family H81 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
01:00.1 System peripheral: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
02:01.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
02:05.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
02:07.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
02:09.0 PCI bridge: PLX Technology, Inc. PEX 8609 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch with DMA (rev ba)
03:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
05:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
06:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
08:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

The output of ls /dev/input/by-path/:

pci-0000:00:14.0-usb-0:1:1.2-event-kbd
pci-0000:00:14.0-usb-0:2:1.0-event-kbd
pci-0000:00:14.0-usb-0:7:1.0-event-mouse
pci-0000:00:14.0-usb-0:1:1.2-event-mouse
pci-0000:00:14.0-usb-0:3.1:1.0-event-mouse
pci-0000:00:14.0-usb-0:7:1.0-mouse
pci-0000:00:14.0-usb-0:1:1.2-mouse
pci-0000:00:14.0-usb-0:3.1:1.0-mouse
platform-eeepc-wmi-event
Undetected wireless https://askubuntu.com/questions/745697/undetected-wireless

I have Ubuntu Mate 15.10 on a USB flash drive. I booted into it and looked to connect to my wifi and it was not listed in my networking connections. I looked in network connections in the system menu and it doesn't have any wireless adapters listed. Only the ethernet.

I've run lsusb and my wireless adapter is listed there. I just don't know where to go from here in getting it running. Learning this as I go.

Thanks for any help.

EDIT 1 - Here is the output from lsusb:

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 006 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0  
Bus 006 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse  
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 001 Device 003: ID 0781:5406 SanDisk Corp. Cruzer Micro U3  
Bus 001 Device 002: ID Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  

EDIT 2 - Output from usb-devices | awk '/8171/' RS= and output from iwconfig

ubuntu-mate@ubuntu-mate:~$ usb-devices | awk '/8171/' RS=  
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0  
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1  
P:  Vendor=0bda ProdID=8171 Rev=02.00  
S:  Manufacturer=Manufacturer Realtek   
S:  Product=RTL8188S WLAN Adapter   
S:  SerialNumber=  
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA  
I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8712u  

=====

ubuntu-mate@ubuntu-mate:~$ iwconfig  
                      unassociated  Nickname:"rtl_wifi"  
          Mode:Auto  Access Point: Not-Associated   Sensitivity:0/0    
          Retry:off   RTS thr:off   Fragment thr:off  
          Power Management:off  
          Link Quality:0  Signal level:0  Noise level:0  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0  
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0  

enp3s0    no wireless extensions.  

lo        no wireless extensions.  
Configure Xorg to work from integrated GPU https://askubuntu.com/questions/547769/configure-xorg-to-work-from-integrated-gpu

I am using Ubuntu 14.04LTS, with an Intel CPU + integrated graphics, with a GTX650 GPU. I asked this question on SO but they said it was offtopic.

I want to use my GPU for debugging CUDA code and for that I need to change display to integrated only. This is the error I get when I try to debug it currently:

"All cuda devices are used for display and cannot be used while debugging"

I went into the BIOS and switched primary display to iGPU (the integrated one, HD4600). Nothing came out of the GPU ports anymore (in terms of display) and I plugged my monitors into the motherboard. Only one of the monitors works. Normally I have them like:

|[Monitor 1, VGA]| |[Monitor 2, DVI]|

In that configuration, with iGPU, nothing is displayed on Monitor 1 (it's black, but the computer knows it's there - the green light is on and all my windows open on it). The only way to get it to work is to swap Monitor 2 to VGA and Monitor 1 to DVI.

If I enter lspci | grep VGA into Terminal, I get this:

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GTX 650] (rev a1)

Running xrandr gives me:

Screen 0: minimum 8 x 8, current 3360 x 1050, maximum 16384 x 16384
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
VGA1 connected 1680x1050+0+0 474mm x 296mm
   1680x1050      60.0*+
   1600x1000      60.0 +
   1280x1024      75.0     72.0     60.0  
   1440x900       75.0     59.9  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   800x600        72.2     75.0     60.3  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
DP1 disconnected
HDMI1 disconnected
HDMI2 connected 1680x1050+1680+0 474mm x 296mm
   1680x1050      60.0*+
   1600x1000      60.0 +
   1280x1024      75.0     72.0     60.0  
   1440x900       75.0     59.9  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   800x600        72.2     75.0     60.3  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
HDMI3 disconnected
VIRTUAL1 disconnected

It isn't an HDMI connection, I don't know why it thinks it is. With the GPU, it knows it's DVI. Anyway...

This is the xorg.conf (if I change it, it just overwrites it):

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "intel"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "SNA"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

This is my 10-monitors.conf file in /usr/share/X11/xorg.conf.d/:

  GNU nano 2.2.6                                      File: /usr/share/X11/xorg.conf.d/10-monitors.conf                                                                                   

Section "Monitor"
    Identifier     "VGA1"
EndSection

Section "Monitor"
    Identifier     "HDMI2"
EndSection

Section "Device"
   Identifier      "intel0"
   Driver          "intel"
   BusID           "PCI:0@0:2:0"
EndSection

Section "Device"
   Identifier      "intel1"
   Driver          "intel"
   BusID           "PCI:0@0:2:0"
EndSection

Section "Screen"
   Identifier     "Screen0"
   Device         "intel0"
   Monitor        "VGA1"
   DefaultDepth   24
   SubSection     "Display"
      Depth       24
      Modes       "1680x1050" "1920x1080"
   EndSubSection
EndSection

Section "Screen"
   Identifier     "Screen1"
   Device         "intel1"
   Monitor        "HDMI2"
   DefaultDepth   24
   SubSection     "Display"
      Depth       24
      Modes       "1680x1050" "1920x1080"
   EndSubSection
EndSection

This still doesn't permit my CUDA code to be debugged. If I run lsof /dev/nvidia* I get:

COMMAND  PID     USER   FD   TYPE  DEVICE SIZE/OFF  NODE NAME
compiz  1659 cinnamon  mem    CHR 195,255          11805 /dev/nvidiactl
compiz  1659 cinnamon  mem    CHR   195,0          11806 /dev/nvidia0
compiz  1659 cinnamon   11u   CHR 195,255      0t0 11805 /dev/nvidiactl
compiz  1659 cinnamon   12u   CHR   195,0      0t0 11806 /dev/nvidia0
compiz  1659 cinnamon   13u   CHR   195,0      0t0 11806 /dev/nvidia0
compiz  1659 cinnamon   14u   CHR   195,0      0t0 11806 /dev/nvidia0

So I guess Compiz (X server?) is using it still. How do I stop it from using it?

How to install libqt4-webkit? https://askubuntu.com/questions/512843/how-to-install-libqt4-webkit

New version of Skype requires libqt4-webkit, but when i trying to install it i get this error:

web@web-X501A1 ~ $ sudo apt-get install libqt4-webkit
[sudo] password for web: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libqt4-webkit
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 9,140 B of archives.
After this operation, 133 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libqt4-webkit
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ quantal-updates/universe libqt4-webkit i386 4:4.8.3+dfsg-0ubuntu3.4
  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/q/qt4-x11/libqt4-webkit_4.8.3+dfsg-0ubuntu3.4_i386.deb  404  Not Found [IP: 91.189.91.15 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Already tried apt-get update and --fix-missing

Mount LUKS encrypted hard drive at boot https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot

I have Xubuntu 14.04 on a SSD device (the HOME was encrypted correctly during intallation), additionally I have a HDD with a encrypted partition with extra data which I would like to mount in /mnt/hdd. For making these I followed the next steps:

(Previously I had encrypted the disk with LUKS following this post http://www.marclewis.com/2011/04/02/luks-encrypted-disks-under-ubuntu-1010/)

Check the UUID

sudo blkid 
/dev/sda1: UUID="b3024cc1-93d1-439f-80ce-1b1ceeafda1e" TYPE="crypto_LUKS"

Make a keyfile with the right passphrase and save it in my HOME (which is also encrypted).

sudo dd if=/dev/urandom of=/home/[USERNAME]/.keyfiles/key_luks bs=1024 count=4
sudo chmod 0400 .keyfiles/key_luks

Add the key

sudo cryptsetup luksAddKey /dev/sda1 /home/zeugor/.keyfiles/key_luks

New entry in /etc/crypttab

hddencrypted UUID=b3024cc1-93d1-439f-80ce-1b1ceeafda1e /home/[USERNAME]/.keyfiles/key_luks luks

Update the initial ramdisk

sudo update-initramfs -u -k all

Then, to test it, I used the follow command to start cryptdisks:

sudo cryptdisks_start hddencrypted 
 * Starting crypto disk...                                                       
 * hddencrypted (starting)..
 * hddencrypted (started)... 

To check hddencrypted was mapped:

ls /dev/mapper/
control  hddencrypted

Create a mount point

mkdir /mnt/hdd

New entry in /etc/fstab

/dev/mapper/hddencrypted /mnt/hdd ext4 defaults 0 2

Validate fstab without reboot:

sudo systemctl daemon-reload
sudo mount -a

Mount the encrypted partition on boot

Now I have mount it in/mnt/hdd as I proposed. But I wold like to make this automatically after reboot. But before I can log in, I get this error:

the disk drive for /mnt/hdd is not ready yet or not permit

All this makes me think that /etc/crypttab can't access to the keyfile which is located in my HOME (other encrypted partition). I don't know the order which the system follows to unencrypted and mounts the units. My HOME should be unencrypted before my HDD for giving access to read the keyfile.

I would appreciate any insight as to why this happens.

UPDATE: If I locate the keyfile in /boot (no encrypted), instead of in my /home/[USERNAME] (encrypted) the /dev/sda1 and update the entry in /etc/crypttab is perfectly mounted on boot time.

How do I remap my Ubuntu keyboard shortcuts to match OSX? https://askubuntu.com/questions/368437/how-do-i-remap-my-ubuntu-keyboard-shortcuts-to-match-osx

I'm using Ubuntu in VirtualBox on Mac. As I switch frequently, I would like to use the same shortcuts. Please, does anyone know how to have the same shortcuts on Ubuntu, as they are on Mac?

Specifically, I would like to Copy, Paste, Select All, ... work with Cmd+C, Cmd+V, Cmd+A, ... (even in terminal - no Ctrl+Shift, just Ctrl).

I tried to change Keyboard Layout to Apple Laptop, but that didn't help.