Issue running a custom Windows app on Ubuntu using Wine and Crossover https://askubuntu.com/questions/1564912/issue-running-a-custom-windows-app-on-ubuntu-using-wine-and-crossover

I have a semi-custom app that was made for Windows, but I would like to try to get it running on Ubuntu. I installed wine, bottles, winetricks, and Crossover.

The app does install and creates the desktop icon correctly. When I launch the app it makes me enter the data path (which is normal on the first launch), so I enter \\\\192.168.2.112\\qds\\assessor5 which is the working path and database path. It allows me to save the path. Then I should click exit and relaunch the app, and it would take me a login screen (on Windows).

What it does here instead is, when I click exit I get the following error:

Config-GetValueBasedOnkey. Object reference not set to an instance of an object

This happens 5 times.

The next error is:

Cannot establish a connection to database.  Contact your IT for assistance.

When the app is launched it should be accessing a file called \\192.168.2.112\qds\assessor5\assessor.config to get the full configuration and run commands. I have permissions to that file, and I can open it in a text editor (although it is not legible)

Does anyone have any experience making something like this work on Ubuntu with the added programs?

Firefox Looses History after Each Update [closed] https://askubuntu.com/questions/1564910/firefox-looses-history-after-each-update

Why does Firefox loose History after each update. Every time I run updates Firefox looses all of it's history.

Cannot install NVIDIA drivers for lowlatency kernel https://askubuntu.com/questions/1564909/cannot-install-nvidia-drivers-for-lowlatency-kernel

Background

I am using an Ubuntu system (24.04.4 LTS) to develop Psychtoolbox code, a common tool used in the vision sciences to present stimuli in a controlled and precise way. The system has two displays. One is used to show the visual stimuli for demonstration purposes during development, the other is used for coding etc.

The machine has a GPU, GeForce GTX 1070. I would like to install the NVIDIA drivers to operate the graphics card for improved performance. Unfortunately, however, the proprietary drivers cannot be installed, i.e., nvidia-smi returns:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

A peculiarity about this case is that I succeeded at installing the driver for the kernel 6.8.0-106-generic. Crucially though, it did not succeed for 6.8.0-106-lowlatency. The lowlatency kernel is recommended for Psychtoolbox because it provides better temporal performance. Therefore I would like the NVIDIA driver to run on the lowlatency kernel.

Solution attempts

I checked that the NVIDIA hardware is detected by typing lspci | grep -i nvidia, which indeed indicated the presence of the correct graphics card:

04:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
04:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)

I used lsmod | grep nvidia to check the current driver status but it returned nothing. I also used dmesg | grep -i nvidia to check if any NVIDIA driver is loaded and it returned what appears to be related only to the audio device:

[    4.631308] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:04:00.1/sound/card1/input6
[    4.631393] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/0000:04:00.1/sound/card1/input7
[    4.631509] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/0000:04:00.1/sound/card1/input8
[    4.631623] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/0000:04:00.1/sound/card1/input9

I tried different methods to install the NVIDIA drivers. I used Ubuntu's "Software & Updates" GUI > "Additional Drivers", where I selected the nvidia-driver-535 because it is labelled "proprietary, tested". I also tried installing the drivers from the Terminal with ubuntu-drivers autoinstall, which sometimes installed a more recent driver version. So I also tried installing the 535 version from the Terminal. All approaches, however, caused the same problem.

I then tried to look into why the NVIDIA drivers work fine for the generic kernel but not the lowlatency kernel. One difference I found was that the file nvidia.ko existed only in the folder /lib/modules/6.8.0-106-generic but not in /lib/modules/6.8.0-106-lowlatency. Interestingly, the timestamp for the file in the "generic kernel" folder looked recent. So I suspect that perhaps the installation of the NVIDIA drivers was built in the wrong location. Alternatively, one might expect the files to be built in the folders for all installed kernels by default, in which case it is interesting that the files were not built for the lowlatency kernel, which I am interested in.

I also dabbled with dkms, which I think is a method to manage drivers across multiple kernels but my understanding of this is so superficial that it is difficult to report what I did here.

Questions

  1. What else can I try to get the NVIDIA drivers to work on the lowlatency kernel?
  2. Would it make a difference if I somehow installed a specific, older version of the lowlatency kernel to see if it works well with the NVIDIA drivers? I suspect there must be a way to install a specific version.
  3. Why do the driver installations succeed for the generic but not the lowlatency kernel?

Thanks & best Michael

Why a 🚫 keeps popping on my Ubuntu 24.04.4 and interrupting my audio/video, unable to stream any multimedia https://askubuntu.com/questions/1564908/why-a-keeps-popping-on-my-ubuntu-24-04-4-and-interrupting-my-audio-video-una

I am unable to view any multimedia over any browser, Chrome or Firefox, YouTube videos, Spotify audios, and general video streaming websites like Udemy, etc.

I'm also unable to play any local videos on the system. On system video applications or VLC media, it keeps exiting or stops playing.

image for the reference

Can't copy file to a specific folder on HDD [closed] https://askubuntu.com/questions/1564902/cant-copy-file-to-a-specific-folder-on-hdd

I can't copy file to specific folder, but I can copy the file to the drive elsewhere. file is video, plays without issue on vlc. Drives are set to auto mount at startup

the error is:

error while copying "filename"

there was an error copying the file into /mnt/*

error opening file "/mnt/*": input/output error

Ubuntu 20.04.6 LTS

Accidentally run mv on / https://askubuntu.com/questions/1564900/accidentally-run-mv-on

Help, I accidentally ran

find / ! -type d -mtime +1534 -exec mv {} 2021/ \;

Instead of

find ./ ! -type d -mtime +1534 -exec mv {} 2021/ \;

While trying to sort my files based on mod year

Fortunately I didn't use sudo and immediately cancelled the command after one-two seconds, but there's already 361 files moved to folder 2021. I'm not sure what I should do, please help me

Finding old patches for uw-imap https://askubuntu.com/questions/1564897/finding-old-patches-for-uw-imap

This is not applicable to the c-client2007 library package. I already know about that so please don't think I'm asking for this or asking for dovecot.

I need to build the original uw-imapd daemon on Ubuntu 24.04.4 with SSL. The non-SSL option of this does build and work - with a pile of warnings - but Openssl1.1 broke many things and one of them was building with uw-imap.

There is a package labeled uw-imap but it is just a partial, it's the c-client2007 libraries that have had a variety of patches added to them. They still build with the patches and so are still available but they are unmaintained. Originally, the uw-imap program not just contained the c-client library but the entire server, until the server part stopped building then whoever was maintaining it at the time basically stripped out the server part. Thats the frustrating part about this project - at some point in the past the maintainer didn't create a new package name for just the client libraries. So it is really hit or miss finding anything with many rabbitholes.

What I'd like to do is find the LAST version of the old uw-imap package that was the full package, with it's patches, then extract that and try building it on Ubuntu 24. But I'm not sure where to look for this. The c-client package source is at http://deb.debian.org/debian/pool/main/u/uw-imap/uw-imap_2007f~dfsg-7.debian.tar.xz but I don't know how to go back in time basically and see when this strippage of the server daemon happened.

Any suggestions? (and please don't waste time saying "run dovecot" since I already run several Dovecot mailservers)

How do I unlock LUKS encrypted Ubuntu 24.04 (ext4) using a USB drive? https://askubuntu.com/questions/1564892/how-do-i-unlock-luks-encrypted-ubuntu-24-04-ext4-using-a-usb-drive

I installed Ubuntu 24.04 as the only OS in my laptop. During installation I chose the advanced option of LVM and LUKS disk encryption with `ext4`. I did not use zfs. Everything is working fine.

I want to create a special USB drive with a decryption key so that if the USB drive is plugged into the laptop before it boots, the laptop will not ask for the LUKS passphrase. However, if the USB drive is not present the laptop will ask for the passphrase as usual.

Q: How do I set up LUKS and the USB drive such that if the drive is present the laptop boots without asking for the passphrase?

This question is similar to Configure Ubuntu 22.04 (ZFS) for automatic LUKS unlock on-boot via USB drive however, my system is ext4 formatted, not zfs.

Thanks

Remove the first install of Ubuntu after installing a later version alongside in a dual boot system https://askubuntu.com/questions/1564889/remove-the-first-install-of-ubuntu-after-installing-a-later-version-alongside-in

I have Windows 11 and Ubuntu 24.04.2 LTS installed and Ubuntu became corrupted whilst installing version 25.?? alongside. As a result it failed to boot. I have reported a bug as the install crashed almost at the end.

I decided to install another Ubuntu 24.04.2 LTS alongside and remove the first install as a quick fix as all my data is backed up.

In Gparted I see Windows 11 partition(s) followed by a / partition for the first install. Next is a /home (but there is only one instance). After this comes another / partition which I assume is the working 'alongside' install.

I unmounted the first / partition, removed it using Gparted, used the free space to extend /home, updated Grub and rebooted.

Grub then presented me with both Ubuntu installs, the first one working correctly and the second failed to boot. I was surprised that the first / partition was still showing in Gparted.

When I made the 'alongside' install I expected the see two / and /home partitions but there was only one /home.

My questions are:

  1. How to fully remove the first install completely without interfering with the 'alongside' version as I assume the only /home must be related to it.

  2. Should there have been two /home partitions?

Relevant fdisk entries are:

/dev/nvme0n1p6 499712000  558307327  58595328  27.9G Linux filesystem

/dev/nvme0n1p7 558307328  948475903 390168576   186G Linux filesystem

/dev/nvme0n1p8 948475904 1000212479  51736576  24.7G Linux filesystem
  

Thank you.

{makem@makem:~$ lsblk -e 7 -f -o +partuuid; cat /etc/fstab; efibootmgr
NAME FSTYPE FSVER LABEL         UUID                                 FSAVAIL FSUSE% MOUNTPOINTS PARTUUID
nvme1n1
                                                                                                
├─nvme1n1p1
│    vfat   FAT32 SYSTEM        40DB-4F92                             221.2M    14% /boot/efi   3d16b11e-68f4-4c98-a752-9c7e0f57cf99
├─nvme1n1p2
│                                                                                               4cf00a5b-51d4-487e-84ee-477f3c1adb64
├─nvme1n1p3
│    ntfs         Recovery      F026DBCE26DB9446                                                96905358-d5bb-403f-873a-9fa0cf546bd9
├─nvme1n1p4
│    ntfs         Windows       CE6CDDE46CDDC77D                                                1011dac3-cce1-4c89-aea4-3b6b5c720e48
├─nvme1n1p5
│    ntfs                       26D45D80D45D52E3                                                e2e70571-97fa-40fa-95e9-2cbc9c1b3ea5
├─nvme1n1p6
│    ext4   1.0                 0f3c0f82-6e79-4881-a6a7-e838886d2736       0    97% /media/makem/0f3c0f82-6e79-4881-a6a7-e838886d2736
│                                                                                               fe26a543-d82f-4d89-acdd-71cdeb24c58a
├─nvme1n1p7
│    ext4   1.0                 d5131952-e6bb-44ba-ac4c-66907ab24261  119.2G    29% /media/makem/d5131952-e6bb-44ba-ac4c-66907ab24261
│                                                                                               3b3247f3-d6f8-464f-b958-a22b381de3a5
└─nvme1n1p8
     ext4   1.0                 35d543ee-e3d8-4333-b194-cf2d27cb5785    9.3G    56% /           acb9f12c-048b-4f47-b2c0-9b4607f815dc
nvme2n1
                                                                                                
├─nvme2n1p1
│    ext4   1.0   data          1c48a4ef-44cc-4905-ba94-abdefd677e8e                            8472d22b-01
└─nvme2n1p2
     ext4   1.0   latest_backup f44028d0-9b4a-4721-853d-0d379cc38e5b  820.5G     0% /media/makem/latest_backup
                                                                                                8472d22b-02
nvme0n1
                                                                                                
├─nvme0n1p1
│                                                                                               2903feb6-1b76-40bf-8874-85cd48439c4c
└─nvme0n1p2
     ntfs         games         E07CD0EB7CD0BD8A                                                be32eb6d-0f20-4d4e-9aac-2af4bf8f2a77
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p8 during curtin installation
/dev/disk/by-uuid/35d543ee-e3d8-4333-b194-cf2d27cb5785 / ext4 defaults 0 1
# /boot/efi was on /dev/nvme0n1p1 during curtin installation
/dev/disk/by-uuid/40DB-4F92 /boot/efi vfat defaults 0 1
/swap.img   none    swap    sw  0   0
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0000,0001,0002,0003
Boot0000* Windows Boot Manager  HD(1,GPT,3d16b11e-68f4-4c98-a752-9c7e0f57cf99,0x800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000031000100000010000000040000007fff0400
Boot0001* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0002* UEFI:Removable Device BBS(130,,0x0)
Boot0003* UEFI:Network Device   BBS(131,,0x0)
Boot0004* Ubuntu    HD(1,GPT,3d16b11e-68f4-4c98-a752-9c7e0f57cf99,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
makem@makem:~$ 
}

Xubuntu 25.10 was the version I tried and which failed.

Review:

I now understand that having installed the second instance of Xubuntu alongside and without choosing a separate /home that new files are in /. That being so, I am wondering if there will be any benefit in trying the fix the initial Xubuntu install which did have a /home partition. When I access that I see that many folders are marked with an 'X'. These are root and without access.

I would however like to keep it and Windows 11 as it has games for my kids if it does not cause a lot of trouble for helpers.

need smart card https://askubuntu.com/questions/1564881/need-smart-card

anybody know how to write script to install this apple program on ubuntu25

https://filedn.eu/lQCsBV1gupV0Sbfx4YtvTSf/SCProxy-Buypass-1.5.3.1.5.3/

any help appreciated

Using zsync to download a large file fails https://askubuntu.com/questions/1564878/using-zsync-to-download-a-large-file-fails

I am trying to download a large file using zsync

zsync https://cdimages.ubuntu.com/daily-live/20260316/resolute-desktop-amd64.iso.zsync

I get the error message: -

failed on url https://cdimages.ubuntu.com/daily-live/20260316/resolute-desktop-amd64.iso.zsync

could not read control file from ``https://cdimages.ubuntu.com/daily-live/20260316/resolute-desktop-amd64.iso.zsync

(Note: the URLs do change periodically. I've tried before and after it changes.)

It does seem to download (the control file) from the url through a browser (firefox). I am using instructions from https://ostechnix.com/zsync-file-transfer-utility-download-new-parts-file/

What am I doing wrong?

Regarding the linked answer.

How do I update an ISO with zsync?

This doesn't address the problem I had at all. In fact it doesn't even mention it. (That is, it works with a http (unencrypted) and not an https (encrypted) link. (It would be nice if the error given was a bit more specific.) Also, in my particular case I will be checking its signature separately so it not an issue to me.

What is the purpose of the SSH settings in System Settings GUI of Ubuntu 24.04 LTS? https://askubuntu.com/questions/1564851/what-is-the-purpose-of-the-ssh-settings-in-system-settings-gui-of-ubuntu-24-04-l

I enable it, but I can't access it through ssh.

I know I need to install ssh/sshd via apt install because I'm know `ssh/sshd`.

The GUI does not prompt me anything, this is a so bad design for new user.

enter image description here

enter image description here

enter image description here

Error 802: system not yet initialized when running CUDA container after NVIDIA driver reinstall on DGX — torch.cuda.is_available() crashes https://askubuntu.com/questions/1564666/error-802-system-not-yet-initialized-when-running-cuda-container-after-nvidia-d

Background / What was working:

I have an NVIDIA DGX server running Ubuntu. Previously, I had driver 535.216 installed (CUDA 12.2), and everything worked fine — including a vLLM Docker container that uses PyTorch 2.9.0+cu129 (CUDA 12.9 internally). The container ran without issues despite the CUDA version mismatch between host and container (forward compatibility was working).

What I did:

  1. Ran apt upgrade and saw nvidia-driver-590 (CUDA 13.1) recommended, so I installed it.

  2. After installing 590, the vLLM container stopped working with:

RuntimeError: Unexpected error from cudaGetDeviceCount(). 
Error 802: system not yet initialized
  1. I tried to roll back. I ran apt install nvidia-drvier-535 but it installed as 535.288

  2. I couldn't get back to the original version

  3. Restarting the server didn't help.

Current state:

  • nvidia-smi works on the host, shows Driver 535.288, CUDA 12.2

  • nvidia-smi inside the container also shows 535.288, CUDA 12.9

  • Docker container toolkit was missing after the purge and had to be reinstalled manually

When I exec into the container and run Python:

>>> import torch 
>>> torch.__version__ '
2.9.0+cu129' 
>>> torch.version.cuda 
'12.9' 
>>> torch.cuda.is_available() # process crashes here, no output returned ``

Key observation:

The same container with CUDA 12.9 worked fine on driver 535.216 before I touched anything. So the CUDA version mismatch between host (12.2) and container (12.9) is not the root cause — it was working before via forward compatibility. Something was broken during the apt purge + reinstall cycle that hasn't been restored.

How should I approach to fix this problem?

Error Stack:

traceback (most recent call last):
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 722, in worker_main
ERROR [multiproc_executor.py]     worker = WorkerProc(*args, **kwargs)
ERROR [multiproc_executor.py]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 538, in __init__
ERROR [multiproc_executor.py]     wrapper.init_worker(all_kwargs)
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/worker_base.py", line 255, in init_worker
ERROR [multiproc_executor.py]     worker_class = resolve_obj_by_qualname(
ERROR [multiproc_executor.py]                    ^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/utils/import_utils.py", line 122, in resolve_obj_by_qualname
ERROR [multiproc_executor.py]     module = importlib.import_module(module_name)
ERROR [multiproc_executor.py]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
ERROR [multiproc_executor.py]     return _bootstrap._gcd_import(name[level:], package, level)
ERROR [multiproc_executor.py]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
ERROR [multiproc_executor.py]   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
ERROR [multiproc_executor.py]   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
ERROR [multiproc_executor.py]   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
ERROR [multiproc_executor.py]   File "<frozen importlib._bootstrap_external>", line 999, in exec_module
ERROR [multiproc_executor.py]   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_worker.py", line 54, in <module>
ERROR [multiproc_executor.py]     from vllm.v1.worker.gpu_model_runner import GPUModelRunner
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/worker/gpu_model_runner.py", line 140, in <module>
ERROR [multiproc_executor.py]     from vllm.v1.spec_decode.eagle import EagleProposer
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/spec_decode/eagle.py", line 30, in <module>
ERROR [multiproc_executor.py]     from vllm.v1.attention.backends.flash_attn import FlashAttentionMetadata
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/attention/backends/flash_attn.py", line 230, in <module>
ERROR [multiproc_executor.py]     class FlashAttentionMetadataBuilder(AttentionMetadataBuilder[FlashAttentionMetadata]):
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/attention/backends/flash_attn.py", line 251, in FlashAttentionMetadataBuilder
ERROR [multiproc_executor.py]     if get_flash_attn_version() == 3
ERROR [multiproc_executor.py]        ^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/attention/utils/fa_utils.py", line 49, in get_flash_attn_version
ERROR [multiproc_executor.py]     3 if (device_capability.major == 9 and is_fa_version_supported(3)) else 2
ERROR [multiproc_executor.py]                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/vllm_flash_attn/flash_attn_interface.py", line 70, in is_fa_version_supported
ERROR [multiproc_executor.py]     return _is_fa3_supported(device)[0]
ERROR [multiproc_executor.py]            ^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/vllm/vllm_flash_attn/flash_attn_interface.py", line 51, in _is_fa3_supported
ERROR [multiproc_executor.py]     if torch.cuda.get_device_capability(device)[0] < 9 \
ERROR [multiproc_executor.py]        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/torch/cuda/__init__.py", line 598, in get_device_capability
ERROR [multiproc_executor.py]     prop = get_device_properties(device)
ERROR [multiproc_executor.py]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/torch/cuda/__init__.py", line 614, in get_device_properties
ERROR [multiproc_executor.py]     _lazy_init()  # will define _get_device_properties
ERROR [multiproc_executor.py]     ^^^^^^^^^^^^
ERROR [multiproc_executor.py]   File "/usr/local/lib/python3.12/dist-packages/torch/cuda/__init__.py", line 410, in _lazy_init
ERROR [multiproc_executor.py]     torch._C._cuda_init()
ERROR [multiproc_executor.py] RuntimeError: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 802: system not yet initialized
INFO  [multiproc_executor.py:709] Parent process exited, terminating worker
INFO  [multiproc_executor.py:709] Parent process exited, terminating worker
INFO  [multiproc_executor.py:709] Parent process exited, terminating worker
INFO  [multiproc_executor.py:709] Parent process exited, terminating worker
(EngineCore_DP0 pid=157) ERROR  [core.py:843] EngineCore failed to start.
(EngineCore_DP0 pid=157) ERROR  [core.py:843] Traceback (most recent call last):
(EngineCore_DP0 pid=157) ERROR  [core.py:843]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 834, in run_engine_core
(EngineCore_DP0 pid=157) ERROR  [core.py:843]     engine_core = EngineCoreProc(*args, **kwargs)
(EngineCore_DP0 pid=157) ERROR  [core.py:843]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) ERROR  [core.py:843]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 610, in __init__
(EngineCore_DP0 pid=157) ERROR  [core.py:843]     super().__init__(
(EngineCore_DP0 pid=157) ERROR  [core.py:843]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 102, in __init__
(EngineCore_DP0 pid=157) ERROR  [core.py:843]     self.model_executor = executor_class(vllm_config)
(EngineCore_DP0 pid=157) ERROR  [core.py:843]                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) Process EngineCore_DP0:
(EngineCore_DP0 pid=157) ERROR  [core.py:843]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 97, in __init__
(EngineCore_DP0 pid=157) ERROR  [core.py:843]     super().__init__(vllm_config)
(EngineCore_DP0 pid=157) ERROR  [core.py:843]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 101, in __init__
(EngineCore_DP0 pid=157) ERROR  [core.py:843]     self._init_executor()
(EngineCore_DP0 pid=157) ERROR  [core.py:843]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 174, in _init_executor
(EngineCore_DP0 pid=157) ERROR  [core.py:843]     self.workers = WorkerProc.wait_for_ready(unready_workers)
(EngineCore_DP0 pid=157) ERROR  [core.py:843]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157) ERROR  [core.py:843]   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 660, in wait_for_ready
(EngineCore_DP0 pid=157) ERROR  [core.py:843]     raise e from None
(EngineCore_DP0 pid=157) ERROR  [core.py:843] Exception: WorkerProc initialization failed due to an exception in a background process. See stack trace for root cause.
(EngineCore_DP0 pid=157) Traceback (most recent call last):
(EngineCore_DP0 pid=157)   File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
(EngineCore_DP0 pid=157)     self.run()
(EngineCore_DP0 pid=157)   File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
(EngineCore_DP0 pid=157)     self._target(*self._args, **self._kwargs)
(EngineCore_DP0 pid=157)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 847, in run_engine_core
(EngineCore_DP0 pid=157)     raise e
(EngineCore_DP0 pid=157)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 834, in run_engine_core
(EngineCore_DP0 pid=157)     engine_core = EngineCoreProc(*args, **kwargs)
(EngineCore_DP0 pid=157)                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 610, in __init__
(EngineCore_DP0 pid=157)     super().__init__(
(EngineCore_DP0 pid=157)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core.py", line 102, in __init__
(EngineCore_DP0 pid=157)     self.model_executor = executor_class(vllm_config)
(EngineCore_DP0 pid=157)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 97, in __init__
(EngineCore_DP0 pid=157)     super().__init__(vllm_config)
(EngineCore_DP0 pid=157)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/abstract.py", line 101, in __init__
(EngineCore_DP0 pid=157)     self._init_executor()
(EngineCore_DP0 pid=157)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 174, in _init_executor
(EngineCore_DP0 pid=157)     self.workers = WorkerProc.wait_for_ready(unready_workers)
(EngineCore_DP0 pid=157)                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=157)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/executor/multiproc_executor.py", line 660, in wait_for_ready
(EngineCore_DP0 pid=157)     raise e from None
(EngineCore_DP0 pid=157) Exception: WorkerProc initialization failed due to an exception in a background process. See stack trace for root cause.
(APIServer pid=1) Traceback (most recent call last):
(APIServer pid=1)   File "/usr/local/bin/vllm", line 10, in <module>
(APIServer pid=1)     sys.exit(main())
(APIServer pid=1)              ^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/main.py", line 73, in main
(APIServer pid=1)     args.dispatch_function(args)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/cli/serve.py", line 60, in cmd
(APIServer pid=1)     uvloop.run(run_server(args))
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 96, in run
(APIServer pid=1)     return __asyncio.run(
(APIServer pid=1)            ^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 195, in run
(APIServer pid=1)     return runner.run(main)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
(APIServer pid=1)     return self._loop.run_until_complete(task)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/uvloop/__init__.py", line 48, in wrapper
(APIServer pid=1)     return await main
(APIServer pid=1)            ^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 1819, in run_server
(APIServer pid=1)     await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 1838, in run_server_worker
(APIServer pid=1)     async with build_async_engine_client(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 183, in build_async_engine_client
(APIServer pid=1)     async with build_async_engine_client_from_engine_args(
(APIServer pid=1)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 210, in __aenter__
(APIServer pid=1)     return await anext(self.gen)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/entrypoints/openai/api_server.py", line 224, in build_async_engine_client_from_engine_args
(APIServer pid=1)     async_llm = AsyncLLM.from_vllm_config(
(APIServer pid=1)                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 223, in from_vllm_config
(APIServer pid=1)     return cls(
(APIServer pid=1)            ^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/async_llm.py", line 134, in __init__
(APIServer pid=1)     self.engine_core = EngineCoreClient.make_async_mp_client(
(APIServer pid=1)                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 121, in make_async_mp_client
(APIServer pid=1)     return AsyncMPClient(*client_args)
(APIServer pid=1)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 810, in __init__
(APIServer pid=1)     super().__init__(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/core_client.py", line 471, in __init__
(APIServer pid=1)     with launch_core_engines(vllm_config, executor_class, log_stats) as (
(APIServer pid=1)          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1)   File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
(APIServer pid=1)     next(self.gen)
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 903, in launch_core_engines
(APIServer pid=1)     wait_for_engine_startup(
(APIServer pid=1)   File "/usr/local/lib/python3.12/dist-packages/vllm/v1/engine/utils.py", line 960, in wait_for_engine_startup
(APIServer pid=1)     raise RuntimeError(
(APIServer pid=1) RuntimeError: Engine core initialization failed. See root cause above. Failed core proc(s): {}
WARNING 03-09 05:48:00 [argparse_utils.py:195] With `vllm serve`, you should provide the model as a positional argument or in a config file instead of via the `--model` option. The `--model` option will be removed in v0.13.
(APIServer pid=1) INFO 03-09 05:48:00 [api_server.py:1772] vLLM API server version 0.12.0
Cant resize windows https://askubuntu.com/questions/1515824/cant-resize-windows

After upgrading to 24.04 yesterday and rebooting this morning, I am unable to resize some apps like Slack and VS Code. When hovering the mouse over the edge of the app, I dont see the double arrow icon.

Chrome and Firefox are unexpected. So might be electron apps?

Any ideas? Its making the desktop unusable.

Using chromium with vulkan https://askubuntu.com/questions/1477966/using-chromium-with-vulkan

My system has 2 GPUs: Intel integrated, and AMD RX580. Both of these are found by vulkan-info --summary plus an additional cpu implementation.

Devices:
========
GPU0:
    apiVersion         = 1.3.238
    driverVersion      = 23.0.2
    vendorID           = 0x8086
    deviceID           = 0x4680
    deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
    deviceName         = Intel(R) UHD Graphics 770 (ADL-S GT1)
    driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
    driverName         = Intel open-source Mesa driver
    driverInfo         = Mesa 23.0.2
    conformanceVersion = 1.3.0.0
    deviceUUID         = fd8cf190-0bdb-4dd5-b941-a7eb5b383e9c
    driverUUID         = 9bb8225e-db2e-6a20-282d-526794955fa9
GPU1:
    apiVersion         = 1.3.238
    driverVersion      = 23.0.2
    vendorID           = 0x1002
    deviceID           = 0x67df
    deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
    deviceName         = AMD Radeon RX 580 Series (RADV POLARIS10)
    driverID           = DRIVER_ID_MESA_RADV
    driverName         = radv
    driverInfo         = Mesa 23.0.2
    conformanceVersion = 1.2.7.1
    deviceUUID         = 00000000-0100-0000-0000-000000000000
    driverUUID         = 414d442d-4d45-5341-2d44-525600000000
GPU2:
    apiVersion         = 1.3.238
    driverVersion      = 0.0.1
    vendorID           = 0x10005
    deviceID           = 0x0000
    deviceType         = PHYSICAL_DEVICE_TYPE_CPU
    deviceName         = llvmpipe (LLVM 15.0.7, 256 bits)
    driverID           = DRIVER_ID_MESA_LLVMPIPE
    driverName         = llvmpipe
    driverInfo         = Mesa 23.0.2 (LLVM 15.0.7)
    conformanceVersion = 1.3.1.1
    deviceUUID         = 6d657361-3233-2e30-2e32-000000000000
    driverUUID         = 6c6c766d-7069-7065-5555-494400000000

Yet, when I try to use chromium with vulkan using $ chromium --enable-features=Vulkan,webgpu, I get:

Warning: vkCreateInstance: Found no drivers!
Error: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
    at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:416)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:302)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:232)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:492)

What I tried:

  • Using --gpu-active-vendor-id=0x1001 on the command line to force AMD
  • Using --gpu-active-vendor-id=0x8086 on the command line to force Intel
  • X11 vs Wayland
  • google-chrome (r115) versus ubuntu chromium snap (r114)

Why do vulkaninfo and chromium contradict each other on the existance of vulkan drivers?

$ inxi -G
Graphics:
  Device-1: Intel AlderLake-S GT1 driver: i915 v: kernel
  Device-2: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    driver: amdgpu v: kernel
  Display: wayland server: X.Org v: 1.22.1.8 with: Xwayland v: 22.1.8
    compositor: gnome-shell v: 44.2 driver: X: loaded: amdgpu,modesetting
    unloaded: fbdev,radeon,vesa dri: iris gpu: i915 resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel UHD Graphics 770
    (ADL-S GT1)
Are there any AWS S3 browser for ubuntu 20.04? https://askubuntu.com/questions/1321971/are-there-any-aws-s3-browser-for-ubuntu-20-04

Are there any AWS S3 browser for ubuntu 20.04?

I saw a lot of options but most of the links are dead or are not maintained .

How to install Logitech software on Linux (for G432 HeadPhone -- Micro Not Recognised with In/Out audio Jack)? https://askubuntu.com/questions/1273609/how-to-install-logitech-software-on-linux-for-g432-headphone-micro-not-recog
  • I cannot receive sound from the micro of my Logitech G432 7.1 Headphone while connected by Audio (In/Out) Jack Socket.

Maybe I could install Logitech software(such as G Hub (?)), to improve the compatibility between Linux and my headphone, but the software are only provided for Windows, or Mac OS, but not for GNU/Linux (Of Course, wine does not want to works with G Hub...)

Is there an alternative on Linux to improve my experience with this headphone ? (Maybe some audio settings could be made with PulseAudio or others as this article may suggest.

I discovered a really nice project (open razer), that could satisfy my needs, but it concerns Razer materials.

NB. This is not really a "vital need", because I can use quite normally this headphone with the USB adapter, but I am still interested. (even if only it is to free a USB port...)

Cannot exit from login screen TTY1 https://askubuntu.com/questions/1214887/cannot-exit-from-login-screen-tty1

I was trying to learn how TTY's (teletypes or virtual terminals) in Ubuntu 18.04 work, so I pressed Ctrl+Alt+F1 , and the Login screen showed. According to the post " How do I switch between console mode and GUI in 17.10 and newer? ", I sould be able to return to GUI by pressing Ctrl+Alt+F2 . However, that did not work and nothing happened.

Keep in mind that, after pressing Ctrl+Alt+F1, what the corresponding Login Screen showed was a black screen with around 20 lines of white text, and with a blinking cursor at the bottom of the last line of text.

I then tried to switch to TTY3, TTY4, TTY5, TTY6 or TTY7, by pressing Ctrl+Alt+F3-7 ; however, none of that worked and nothing happened. The screen kept showing the Login Screen, with the same white text and the blinking cursor.

I finally had to use the REISUB method to restart my PC. This is the second time I launch TTY1 and something similar happened on the first one.

Edit:
I cannot type anything onto that TTY1. The cursor blinks but when I press any key from the alphabet, nothing shows up.
Regarding the white text I mentioned, the first time the problem happened, the screen showed very similar text to the text showed the second time the problem happened, with only few numbers changed. One of those changes is a different number in the fourth line, right after 'inode'. A transcription is as follows :

/dev/sdb2: clearing orphaned inode 4719982 (uid=1000, gid=1000, mode=0100644, si
/dev/sdb2: clearing orphaned inode 4718655 (uid=1000, gid=1000, mode=0100644, si
/dev/sdb2: clearing orphaned inode 4725500 (uid=1000, gid=1000, mode=0100644, si
/dev/sdb2: clearing orphaned inode 4719982 (uid=121, gid=1000, mode=0100644, size
/dev/sdb2: clean, 544187/7299072 files, 9720508/29173760 blocks

[OK] started LSB: automatic crash report generation.
[OK] started LSB: record successful boot for Grub. [OK] Created slice User Slice of gdm.
Starting User Manager for UID 121...
[OK] Started Session c1 of user gdm.
(there are more lines here in the middle, which I can transcribe if people ask for it)
[OK] Started Thunderbolt system service.
[OK] Started PackageKit Daemon.

So, why can't I exit from TTY1?
How can I fix this?

Which SIP-Client or SIP Phone is supported by Ubuntu 18.04.3 LTS or 19.10? https://askubuntu.com/questions/1192744/which-sip-client-or-sip-phone-is-supported-by-ubuntu-18-04-3-lts-or-19-10

I recently switched from Windows to Ubuntu and it's hard to stop loving the new change. I need help in regards to finding an SIP phone which is compatible with Ubuntu 18.04.3 LTS or 19.10, and including a recording feature. I researched on Google, Ubuntu 14 supports SFL but that's missing latest version while searching in Ubuntu software store.

How to put YAD form fields value into variable after submit? https://askubuntu.com/questions/1187335/how-to-put-yad-form-fields-value-into-variable-after-submit

How to put YAD form fields value into variable after submit?

My script actually looks like this:

#!/bin/bash

default_jpg='/';
default_mp3='/';
default_resolution='1920:1080';
default_filename="/";

OUTPUT=$(yad \
  --title="JPG and MP3 to MP4" \
  --form \
    --text="Options" \
    --separator="," \
    --field="JPG:FL" \
    --field="MP3:FL" \
    --field="Resolution" \
    --field="MP4 (Output):SFL" \
    --button="Create MP4":1 \
    "$default_jpg" \
    "$default_mp3" \
    "$default_resolution" \
    "$default_filename" \
  ) accepted=$?

if ((accepted == 1)); then
  jpgfile=$(   awk -F, '{print $1}' <<<$OUTPUT)
  mp3file=$(   awk -F, '{print $2}' <<<$OUTPUT)
  resolution=$(awk -F, '{print $3}' <<<$OUTPUT)
  filename=$(  awk -F, '{print $4}' <<<$OUTPUT)

  echo $jpgfile $mp3file $resolution $filename
fi

I fail to put the values of the form fields into variable. If this would work instead of just echoing the variables I would like to use them in this command:

ffmpeg -r 1 -loop 1 -i "$jpgfile" -i "$mp3file" -acodec copy -r 1 -shortest -vf scale=$resolution "$filename"

Please tell me what is wrong :(

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

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

Tries

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

it report errors:

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

ValueError: Namespace Gtk not available

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

sudo apt-get install libgtk-3-dev

However, it still report the same errors.

How could solve the problem?

Macchanger returns error in the terminal https://askubuntu.com/questions/1078860/macchanger-returns-error-in-the-terminal

I am using Ubuntu 18.04 bionic. When I try to change my mac address using the macchanger on the terminal I get this error message:

[ERROR] Could not change MAC: interface up or insufficient permissions: Operation not permitted

How can I solve this?

How do I display filetype with ls? https://askubuntu.com/questions/1028506/how-do-i-display-filetype-with-ls

I am ignorant as to whether ls is capable of displaying a filetype column.

Doing a quick online search and searching the man did not reveal such a capability. Is it capable of doing this?

Clarification: This is especially helpful if files do not have an extension.

Update

As of 2018-04-28 the answers have been quite interesting however they did not provide what I was looking for. More specifically,

  • file does give the actual filetypes but it doesn't integrate well with ls. Specifically, I use ls -lhtrpG --group-directories-first --color=always

  • ls -F is an ls solution however it provides symbols not a column of actual filetypes.

For this reason I have not marked any of the answers as the answer I am looking for.

How to improve FPS performance in Gnome? https://askubuntu.com/questions/907258/how-to-improve-fps-performance-in-gnome

Problem: Moving windows, accessing the Activities overlay etc. is jerky and not smooth.

I'm running Ubuntu Gnome (hey, soon I'll just be able to say Ubuntu!) on 17.04. My hardware is a 4k screen with Intel® HD Graphics 530 (Skylake GT2) running on i7-6700HQ CPU @ 2.60GHz × 8 with 16GB RAM.

I don't think it should be jerky.

What I've tried

I've tried uninstalling xserver-xorg-video-intel, as recommended on a redit post (which refers to a note on a Debian package saying it's deprecated), although I could not find the xorg.conf.d/20-intel.conf referred to in that post. There was no noticeable difference.

I've tried running the Wayland session. (click your name in the gdm log in screen, use the cog icon to select Gnome on Wayland, then enter your password). If anything this is worse, although I have no way to measure this except my eyes.

Ubuntu 16.04 Dual monitor doesn't work after booting https://askubuntu.com/questions/763230/ubuntu-16-04-dual-monitor-doesnt-work-after-booting

I've done an Ubuntu 16.04 fresh installation and now my dual monitors don't work after booting.

This is what happens during booting:

  1. When I boot, the main monitor works and asks for my HD password (I've chosen to encrypt the HD during Ubuntu 16.04 install). The second monitor is out of signal.

  2. Ubuntu asks for my user password. Sometimes it appears on the first monitor, sometimes on the second monitor. However, only the first is active (so when it appears on the second monitor I have to guess it is there). Nonetheless, it still works like it is being displayed.

  3. When using Ubuntu, only the first display will be active. I have to open the display setting, deactivate the second monitor (yes, Ubuntu thinks it is activated, even though it is not working), and the reactivate the second monitor.

    I have to do this every time I boot. Sometimes the monitor settings window appears at the second monitor (thus, I cannot change the settings).

Now I've detached the second monitor and every time after boot I plug it in and then change the display settings.

Any ideas of what the problem might be?

apt-get install nfs-common specific version https://askubuntu.com/questions/710308/apt-get-install-nfs-common-specific-version

Short question: I have reason to install a specific version of nfs-common on a new machine. I want to install 1:1.2.8-6ubuntu1.1. I believe that I need to sudo apt-get install nfs-common, but I'm not sure how to specify the version. I've tried the obvious of:

$ sudo apt-get install nfs-common=1:1.2.8-6ubuntu1.1
E: Version '1:1.2.8-6ubuntu1.1' for 'nfs-common' was not found

Long question: I'm trying to install nfs-common over a docker image. At first attempt, I just did apt-get install nfs-common. This failed, presumably because:

The problem is that nfs-common has been updated in the backports repo, but portmap has not, and the new nfs-common and old portmap are not compatible. So to install it either disable backports, or use force version to install the previous version of nfs-common.

— Source: Crunchbang.org: [SOLVED] nfs install failure.

OK, I'm happy to force a previous version of nfs-common. This would match another machine that was setup months ago, presumably before the latest version was available. Going to that machine and running apt-cache policy nfs-common, I see it has installed 1:1.2.8-6ubuntu1.1. Looking at man pages for it and:

  1. How to install specific version of some package?
  2. How to install specific Ubuntu packages, with exact version?

I see that I need to do something like apt-get install nfs-common=1:1.2.8-6ubuntu1.1. However, I cannot figure out the exact syntax. When I tried the above, I received E: Version '1:1.2.8-6ubuntu1.1' for 'nfs-common' was not found. I received the same error if I used 1:1.2.8-6ubuntu1.2, which is the default version that's installed.

Obviously I'm not understanding something about the version specified, and I can't seem to find any examples on the web for installing a specific version of nfs-common (or some component that I can map to installing an old nfs-common).

Any help would be appreciated.

Additional note: I tried following the advice at Debian User Forums: nfs-common and dpkg errors. I had to add an apt-get update. However, doing the apt-get install nfs-common ended up failing with

dpkg: error processing package nfs-common (--configure):
 subprocess installed post-installation script returned error exit status 10
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 nfs-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
MSSQL connection from Ubuntu https://askubuntu.com/questions/578934/mssql-connection-from-ubuntu

I need an easy and complete tutorial for making a MSSQL connection from Ubuntu.

I think I installed FreeTDS and UnixODBC but configurations are very complicated I didn't understand the issue.

I followed this tutorial: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/wiki/Platform-Installation---Ubuntu

But I failed.

root@hackmachine:~# isql -v example.com XXXXX XXXXXXX
[IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified
[ISQL]ERROR: Could not SQLConnect

root@hackmachine:~#

Edit:

Before this edit /etc/odbcinst.ini and /etc/odbc.ini was empty.

I added these lines to /etc/odbcinst.ini :

[FreeTDS]
Description     = TDS driver (Sybase/MS SQL)
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
Setup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so
CPTimeout       =
CPReuse         =
FileUsage       = 1

I added these lines to /etc/odbc.ini :

[project_development]
Driver = FreeTDS
Description     = ODBC connection via FreeTDS
Trace           = No
Servername      = developer
Database        = project_development

[project_test]
Driver = FreeTDS
Description = ODBC connection via FreeTDS
Trace = No
Servername = developer
Database = test

[project_production]
Driver = FreeTDS
Description = ODBC connection via FreeTDS
Trace = No
Servername = production
Database = project_production

I didn't make any changes on /etc/freetds/freetds.conf since the very beginning.

Still, nothing has changed.

Firefox does not connect outside proxy while other browsers do https://askubuntu.com/questions/545867/firefox-does-not-connect-outside-proxy-while-other-browsers-do

Little background: I am behind a proxy, where we use "automatic proxy config URL" on http://webproxy.mycompany.com:8080

During typing of this question I also tried Chromium browser which seems to be working. However, Firefox and terminal seem to be not working properly:

Setup of my Ubuntu:

System Settings - Network Proxy - Configuration URL http://webproxy.mycompany.com:8080 - applied system wide

Firefox:

Edit - Preferences - Network

Here I tried: Note - the "no use" means = cannot connect outside mycompany.com intranet

  1. Automatic Proxy configuration URL - http://webproxy.mycompany.com:8080 - no use
  2. Use system proxy settings - no use
  3. Autodetect - no use

The error I am getting when trying to reach askubuntu.com:

Unable to connect

Firefox can't establish a connection to the server at askubuntu.com.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Setup of Chromium - I am not that advanced user here, but it seems it takes system settings

system setup

/etc/environment

http_proxy=http://webproxy.mycompany.com:8080
https_proxy=http://webproxy.mycompany.com:8080
ftp_proxy=http://webproxy.mycompany.com:8080
no_proxy=.mycompany.com

sudo visudo

Defaults        env_keep = "http_proxy https_proxy ftp_proxy"

In terminal, I can effectively run sudo apt-get update but pinging google says this:

PING www.google.com (74.125.136.147) 56(84) bytes of data.
--- www.google.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9070ms

How to force Firefox and terminal to reach outside world?

Edit Firefox works on other machines in the same network, so it cannot be security setting on the proxy

EasyBCD can't find Ubuntu? https://askubuntu.com/questions/322125/easybcd-cant-find-ubuntu

I tried to install win7 + ubuntu 12.04 on my Dell Inspiron 17R, win7 first ubuntu second using U disk. At first I installed win7 and ubuntu under ATA and AHCI mode and successfully created entry for ubuntu using EasyBCD, but neither of these two modes can use Intel Rapid Storage Tech (I suffered blue screen when I installed the drive).

Thus I switched to Intel Smart Response Tech mode and re-installed the two systems. However, when I tried to add new entry for ubuntu (add new entry -> Linux/BSD -> Device), the EasyBCD can't find the partition of ubuntu (it can find ubuntu under ATA and ACHI mode). How to solve this problem?

Can I display Chrome/Chromium tabs in the top panel? https://askubuntu.com/questions/207921/can-i-display-chrome-chromium-tabs-in-the-top-panel

Is it possible to display chrome/chromium tabs in the top panel of ubuntu 12.10?