New answers tagged

0

I think I have solution for the problem, at list for me it was working. Driver manager is not installing properly the driver, so in synaptic package manager I was searching the nvidia-340 what I was installing earlier in Additional drivers app. Marked for installation the nvidia-340 missing dependencies. Restarted the pc.


2

As soon as possible uncleanly turn off the VM and do nothing that would suppose a write to its disk (don't ever turn it on again). Then you could use something like photorec on the VM disk image.


0

For me following 3 easy steps helped to resolve the issue. 1) Increasing Video Memory 2) Enabling 3D acceleration 3) Disabling updates while installation of ubuntu. For demo purpose watch this video --> https://youtu.be/uqhMprx9g_U


0

Backup is not only a way to secure your datas from an external disaster, but also a way to prevent from human errors. If you want your system to be 24×7 available, RAID is the good answer. If you want it to store datas modified by humans, and be able to rollback a change, you’d better use the secondary disk in an external device, and "regularly" store the ...


2

Excessive field sudo crontab -e -u root edits crontab for the user root. This is different than the system-wide crontab (/etc/crontab). The former uses entries in a form of m h dom mon dow command and the latter uses m h dom mon dow user command You used the latter syntax where you should have used the former. The tool tried to run root /home/...


1

You used the @ prefix, which means the /bin/sh executable will receive this argument list: {[0] = "/usr/share/select_primary_card.sh"} instead of the expected one: {[0] = "/bin/sh", [1] = "/usr/share/select_primary_card.sh"} By convention, the zeroth item in the argument list always contains the program's own name and is more or less ignored by most ...


0

I ended up running fsck on the last partition. This seems to have solved the problem (although I still don't know how the filesystem got corrupted in the first place).


0

To everyone driven mad by this issue:The issue is caused by the guest additions. It is unpractical to work without those. This post contains a bunch of good information. Drag & Drop seems to be the issue here. Dragging a file from host to guest seem to restore the functionality, so I'll run with DnD disabled from now on and hopefully the issue will not ...


0

xsane seems to only save to individual files - one for each page. I use gscan2pdf which does save to a multi-page pdf.


0

I finally got it working by using a different external port in my router settings (instead of port 22). I don't understand what was the problem before, but it works now !


0

I was able to resolve this by completely uninstalling Samba, then reinstalling. I'm not sure what was missed or failed during the first install. Oh well.


1

Much like systemd-boot or GRUB is a boot manager which needs an 'entries' file or a grub.cfg telling it what to boot, Windows Bootmgfw.efi is also a boot manager that needs a config file telling it which OS to boot. So it is not enough to just copy the files, you also have to create the configuration. The officially provided tool for installing a Windows ...


0

Pop!_OS installer would normally just add its files to ESP (EFI System Partition). You may have accidentally chosen to format it during installation or it was damaged when resizing failed. The standard course of action in this situation is to restore from backups. Let this be a lesson: make regular backups of entire system (partition images for non-data ...


0

You can give your users (or groups) limited sudo access to just these commands. Use visudo to edit the sudoers file (sudo configuration). It will open it in default editor and validate it once you're done to prevent breaking sudo. Add these at the end: usernameOr%Groupname ALL=(root) NOPASSWD: cryptsetup luksOpen /dev/dev1 mapper_name1 usernameOr%Groupname ...


1

You're trying to use a systemd unit file as a sysvinit script, and that won't work. systemd unit files are declarative, and sysvinit scripts are shell scripts that contain commands to start and stop the server in question. As a consequence, the shell is being invoked on your unit file, which isn't a valid shell script. You may wish to install the ...


1

You are mixing two orthogonal problems. One is "I want to type less into my terminal to search for packages" and that can be solved by putting something like this into your ~/.bashrc (or equivalent for other shells): alias as="apt-cache search" Then you just need to write as foo to do an apt-cache search foo. Configure this as you like. Or your question ...


1

I'd guess you have a RAID controller. You haven't set up software RAID, but there's a hardware RAID underneath which manages things by itself and exposes disks to OS as a single logical device (HP LOGICAL VOLUME). Look for controller's messages on boot. You have to press something to access its settings. Unfortunately separating disks into independent ...


1

As of 2020, using evince (v3.36, on Ubuntu 20.04 it's just called "Document Viewer"), I can save a PDF form (just using CTRL+S, e.g., saving as a different file name), and then open the new PDF again, and continue editing the form. (Adobe no longer supports Acrobat Reader for Linux. The latest native Linux version is 9.5.5 dated from 26/04/2013.)


0

You are addressing the site by its IP address 186.2.163.90, and encountering the following problems: The certificate is only valid for the following names: *.sci-hub.tw, sci-hub.tw The certificate expired on Sunday 3 May 2020. If you use instead the website sci-hub.tw in the URL and the certificate was totally refused, then you could fix it by removing it ...


1

Not all that works on Windows PowerShell, will work with PowerShell Core on Windows/OSX/*Nix by design and vice versa. They are two separate environments, with separate codebases, etc... I'm a Windows type, but, I've not had this issue on OSX/*Nix (kali). But the Update-Help cmdlet does work on Ubuntu, see this article and instructions (snippet above) ... ...


0

https://developer.nvidia.com/cuda/wsl Now it is. You can install a WSL 2, that has CUDA and with it TensorFlow support. Then you can install PyCharm and configure it to to work with WSL: https://www.jetbrains.com/help/pycharm/using-wsl-as-a-remote-interpreter.html#


1

There is no sudo in PowerShell natively. That is what -RunAs is for, but generally not the same thing either. There are modules that are wrappers that try to emulate it. Yet, not the same thing. These have been around before PSCore (PowerShellv6/7 existed), so no guarantee that they will work in those versions. Find-Module -Name '*sudo*' | Format-Table -...


3

If I understand correctly, you would like to use PowerShell in Ubuntu but you will need the sudo command. You can do bash -c "sudo <bash command>". sudo usually doesn't work in PowerShell because it is a Unix Executable so you will need to use sudo with a Bash command. As pointed out by others, runas is your best option in PowerShell. Note that you ...


2

It appears you did not successfully add the PPA (additional repository) to your container, as instructed in your first link. The instructions on that site indicate that you need to know which version of Debian you're running. The quickest way to do that on many Linux distributions is cat /etc/os-release Based on your ouptut from apt update I suspect you ...


0

Thanks for your comments, I fixed it. I install Window beside Ubuntu, Fast Startup of Window make disk not unmount. However, when I switch to Ubuntu, driver NTFS see that disk's mounting, so it mount read-only. So I run ntfsfix (additionally, turn of fast startup on Window) and it worked.


1

Use pip3 instead of pip I will assume you are using the Python3 version so you can install pip3 with sudo apt-get install python3-pip then you can install whatever you wanted starting with; pip3 install All the best :)


0

In (f). Build LibVorbis: https://git.xiph.org/vorbis.git change to https://github.com/xiph/vorbis.git And also add to baseline dependencies: libogg-dev, it needs by LibVorbis


0

Ok so it turns out you have to use C:/Users/black/.ssh/homeUbuntu/id_rsa.pub for it to work correctly on windows.


1

Here is a comprehensive explanation. https://askubuntu.com/questions/194651/why-use-apt-get-upgrade-instead-of-apt-get-dist-upgrade If you want things to "just work", you probably want apt-get dist-upgrade to ensure dependencies are resolved. I just use sudo apt-get update followed by upgrade on my Kali machine. It asks occasionally if I wish to ...


0

Open xterm The standard terminal emulator for the X Window System in your OS, if it isn't, you can install it from Ubuntu software Type sudo update-alternatives --config python3 Choose "python3.6" as a default


0

Try https://tipsonubuntu.com/2018/04/28/change-lid-close-action-ubuntu-18-04-lts/ It worked for me on 20.04LTS


0

On another PC, download the Windows 10 media creation tool and use it to make a win 10 installer on USB change boot order so USB is first, hdd second boot from installer on screen after languages, choose repair this pc, not install. choose troubleshoot choose reset this PC might need to wipe it all as I don't know what settings it would have if you deleted ...


1

Mediafire now allows to download from the IP you have requested. So 1st you need to download the page using following command curl -O "http://www.mediafire.com/file/6ddhdfg/db.zip/file" Once the file is downloaded, find the URL inside the file like http://download*.mediafire.com/* and then use the command wget to download the file wget http://download*....


0

The short answer was tmux Ubuntu 20.04 upgrades tmux to 3.0a. This has a number of breaking changes. In my case bind -tvi-copy C-Up scroll-up becomes bind -Tcopy-mode C-Up send -X scroll-up as documented here https://github.com/tmux/tmux/blob/master/CHANGES The fact that there is an error in my .tmux.conf seems to prevent the whole file from being obeyed, ...


0

I know this issue is 2 years old, but just for any one else browsing this issue Looking at your supervisor .conf setup, you have an application error log that you can have a read of, try the following command: sudo nano /var/log/webapi.err.log I was getting a SIGABRT message as my application could load a poorly structured JSON, identified only in the ...


0

first you need to see the ubuntu system log with this command sudo gedit /var/log/syslog and if you will see this error "execv( /usr/sbin/tcpd ) failed: No such file or directory" then run this command sudo apt-get install tcpd it will solve your problem (if not then you need to search your system error on google)


2

You can install miniconda (no sudo needed) via $ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh $ bash Miniconda3-latest-Linux-x86_64.sh and then install htop $ conda install -c conda-forge htop Another option is to try this gist.


0

nvidia-driver-local-repo-ubuntu1804-440.64.00_1.0-1_amd64.deb is the name of the driver provided by NVIDIA for the Tesla from that web page you provided, so it's not Ubuntu, it's NVIDIA causing the issue. Therefore, I suggest you email or chat with NVIDIA support


1

It's possible that the problem is actually on Disk 1, where the installation is trying to reserve itself a small partition, but can't because of the number of small irreducible partitions that were created. As you have multiple pairs of "System" and "Recovery" partitions, choose one or more on the disk, except for the first or the last of their kind, and ...


1

You can simply use multiple asterixes: for dir in */*; do ls -d $PWD/* & done Use the & to run the code parallelised.


0

It appears that you are trying to use Ubuntu as a replacement for powershell. Instead, you need to think of it as a separate operating system. The reason you can't open a file in chrome, is that you don't have chrome installed in Ubuntu. Opening any program with a graphical interface is not easy, and will require a lot of set up. There are some command line ...


1

I solved this by going to "Bitlocker" --> "Suspend Encryption" --> Restart Windows 10 --> Select Windows bootloader in GRUB --> Windows 10 encryption was enabled again but it's not asking anymore for the Encryption long KEY. I have 1 single SSD with: - Windows 10 (UEFI / GPT) Bitlocker - Ubuntu: (3 partitions: boot, root and home).


0

I found that it is quite easy to roll your own system using xbindkeys. For instance, to push-to-talk on the left super key, you have to put the following in your ~/.xbindkeysrc: "pacmd set-source-mute XXX 0 && notify-send 'Unmute' -t 50" Super_L "pacmd set-source-mute XXX 1 && notify-send 'Mute' -t 50" Mod2+Mod4 + Super_L + Release ...


0

For restricting users to go up to upper level folder you need to set chroot jail, and from the configuration file the chroot jail seems to be set, on line: chroot_local_user=YES For limiting access to specific users you probably want to check the following directives: userlist_enable=YES userlist_file=/etc/vsftpd.userlist userlist_deny=NO and ...


0

Solution 1: See if this works for you: First, open terminal by: CTRL+ALT+F1 sudo dpkg --configure -a sudo apt-get update sudo apt-get upgrade -y sudo reboot Solution 2: If the above doesn’t work, try this First, open terminal by: CTRL+ALT+F1 sudo apt-get update sudo apt-get install --reinstall ubuntu-desktop sudo apt-get install unity sudo shutdown -r ...


2

Had the same problem on the who are you screen. I was not able to click the back button or input any text. I was able to right click and insert emoji for some reason in one of the text fields, then the mouse and keyboard started working for all the fields and I was able to delete the emoji I put in for my name. Install was normal from there.


1

I updated ubuntu and restarted the machine. I had not restarted it for few months now, only suspended. Now it is working! I guess something messed the ethernet adapter (the hardware?) and it got crazy (kept saying was sending and receiving data even with the cable disconnected!!!). I think if I could have run some command to hard reset only the ...


0

With only the drive you want to change connected, boot a Live CD and run gparted. Right click the partition you want to delete and delete it. If the partition to keep is on the left (first partition) you can right click and select expand. I don't think you can do it if the OS to keep is not the first partition.


0

OK, so here's what it was: the two NAS giving me trouble are old. To get them to mount, I had to add "ver=1.0" to the fstab line like so: //192.168.1.41:/TV /media/Plex/TV cifs guest,vers=1.0 0 0 Notably, most advice (and the man pages...) say that there should be a -o in front of the vers=1.0. Adding the -o was causing the mount parser to cough blood on ...


0

If you are on Ubuntu, open your terminal and go to Preferences - Shortcuts. There, find "Reset and Clear" option. Click that and type your shortcut as what you want. This works on my Ubuntu 20.04.


Top 50 recent answers are included