New answers tagged

0

Install the latest pgAdmin4 version (4.22) using their python-wheel installer (Requires python 3.4+) as workaround while they fix this bug. I used miniconda for creating a virtual environment in python 3.7. Once I created and activated the virtual environment I: Created the folders "/var/lib/pgadmin" and "/var/log/pgadmin" and set up proper writing ...


0

Here's a little write up on how to get the PenTablet program / driver from XP-Pen to work in linux as autostart without root privileges. I tested this on Ubuntu 18.04 with XP-Pen G640 tablet. Download the latest driver from XP-Pen's website, and unpack it in a folder on your system. I used /usr/share/xp-pen If you start Pentablet.sh as normal user it will ...


1

Refer to this article for instructions regarding how to manually download Windows Subsystem for Linux distro packages that aren't in the Microsoft store (this includes Ubuntu 16.04). As @user535733 pointed out in the comments, WSL is a proprietary service created by Microsoft. Therefore, you will be able to do more by either using a virtual machine (VMWare ...


1

Had similar problem. After a reboot, the screensaver password screen keeps asking for my password. Entering my password just keeps me going back to the same screensame password screen. Went to TTY and by sheer luck, i saw the out of space notice when I tried to uninstall light-locker. Turns out I had no more free space on my hdd.


1

It is solved by removing the package kscertrelay-nx-installer which caused the issue sudo apt-get --purge remove kscertrelay-nx-installer


0

I have been using Termux which is a linux emulator environment for Android. It seems to have a large open-source community around it.


1

I know this thread is old, but just in case someone is wondering. I was getting exactly the same problem: unable to open display ":0" I was trying to turn on two of my displays via SSH, but it failed with the message from above. Other thing I had to say is that I wasn't logged on the console of the physical PC, so, only the logon screen was there, but the ...


0

Okay so after a good amount of time trying to figure this out, I'd like to answer this for future users stumbling upon this problem. According to StackExchange user bk2204 to my question: The curl binary that's built for Debian and Ubuntu doesn't contain support for libc-ares. That's because that library can't return both A (IPv4) and AAAA (IPv6) queries ...


0

Some suggested to change the default python version system wide to make terminator running. There is another possibility. Open the terminator script sudo vim /usr/bin/terminator and change the first line to #!/usr/bin/env python2.7 Now every time terminator starts up it will use python2.7 instead of your default python version 3.


0

I know this is too later, but this is to help others who are searching for answers. Run a live ubuntu on usb and then you can open Disks app to resize your boot drive. Since this is the only moment the root partition is not used by your machine.


0

The same problem is discussed on armbian forum and a workaround could be to set the CPU to a constant speed (GOVERNOR=performance) and/or to limit its maximum speed with cpufreq


2

I realize this is an old thread, but recently I had the exact same problem and I want to share my solution so others can avoid spending hours trying to figure it out. The problem for me turned out to be the RootDistanceMaxSec parameter in timesyncd.conf. The default is 5 seconds; however, when looking at the NTP packets in Wireshark, the root dispersion ...


2

when i run this script on my ubuntu machine i am unable to browse any website from the browsers. any idea why ? Yes. I wrote the original version of that iptables rule set script for a specific application for a specific server. That the server be able to use a web client was not a requirement, nor considered. However, it should work fine. As someone ...


0

Mary Jane, my experience confirms yours. I have a half-dozen systems on my network which were configured to default to multi-user mode, and have continued to perform as intended for over two years now, still are, and appear uncompromised by regular apt-get-upd-upg cycles. However, after doing clean installs of Xubuntu 16.04.6 on two new machines, I get the ...


0

For anyone else having similar problems with more recent installs; I'm running a fresh 20.04 LTS (ubuntu unity remix) on ThinkPad x260 (skylake i7-6500U / GT2 HD graphics 520) - 5.4.0-31-generic kernel. Symptoms typically involved titlebars of inactive windows flickering when the mouse was moving, or seemingly if the gpu was being called to redraw the ...


0

This has been anaswered systemd mailing list. Cross-posting the answer This bug (https://github.com/systemd/systemd/issues/4444) was fixed in systemd v236. See if you can use a newer version of systemd.


0

check your 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)


0

In my case, running sudo apt install --reinstall python3-openssl fixed this for me.


1

I see you're using direct=1 (which will request O_DIRECT) but you seem to be using a file in a filesystem... Did you know there's no guarantee that O_DIRECT will bypass the buffer cache on all possible filesystem configurations? A warning sign is: clat (usec): min=1, max=3589, avg=23.64, stdev=89.84 Can your SATA/SCSI disk really complete an I/O in ...


0

Adding this to ~/.emacs.d/init.el worked for me on Emacs 28.0.50 / Ubuntu 18.04: (menu-bar-mode -1) (menu-bar-mode 1)


0

To install the kernel 4.15.0-65-generic, I did the following: sudo apt install linux-image-4.15.0-65-generic sudo apt install linux-headers-4.15.0-65 In order to get the required kernel modules; that is drivers like ath9k, you also needed to install linux-modules-4.15.0-65-generic as well as linux-modules-extra-4.15.0-65-generic. It appears that this ...


0

Got the same problem. My solution is not the best and easiest but it works. I create new virtual env with python 3.8 and try to run PgAdmin. Ofcourse it failures because of unavailable python modules. So I install module and run PgAdmin from terminal (like this "python3 /usr/share/pgadmin4/web/pgAdmin4.py") again then again and again... Until I face the ...


0

According to your sources.list, my assumption was correct - you have wrong repositories. At first open Software & Updates (software-properties-gtk) and make it look like: or by changing the /etc/apt/sources.list file using text-editor opened as root to deb http://archive.canonical.com/ubuntu xenial partner deb http://archive.ubuntu.com/ubuntu xenial ...


1

You can always boot with a previous kernel using grub menu. Your current kernel is partially installed for some unknown reason. After you boot with a previous kernel the missing kernel modules should appear. Then connect to the internet and run sudo apt install linux-generic-hwe-16.04


1

This "answer" most likely will be devoured by the internet for it's wording and whatnot, but, my assumption with your question is you're attempting to reach outside of your broadcast domain. In your latest comment, it does appear as though you're attempting to route externally, using your default router - but I'll add the below here and we'll refine as we ...


0

Run the following sudo nano /etc/gai.conf Scroll with arrow keys down to where it says: #precedence ::ffff:0:0/96 100 remove the comment (#) and save it


0

First, we have to define what you mean by "access" to a machine (either virtual or physical). When using putty, I assume you used SSH or simple telnet protocols, and the virtual machine was configured to listen for such requests. When using a web browser, if not defined, it will automatically try to connect using the HTTP or HTTPS protocols, and that means ...


0

I had the same problem, and I didn't find a permanent solution in this purpose except than a temporary solution which solves my no sound problem through restarting the pulseaudio/ALSA services: pulseaudio -k && sudo alsa force-reload


0

Create a backup of the sound, delete it and replace it with an empty file cd /usr/share/sounds/ubuntu/stereo/ sudo cp system-ready.ogg system-ready.ogg.back && sudo rm system-ready.ogg To turn it back on cd /usr/share/sounds/ubuntu/stereo/ sudo cp system-ready.ogg.back system-ready.ogg && sudo rm system-ready.ogg.back


2

In case you stumbled on this trying to find help with VMware Fusion or VMware workstation (I'm an ex-VMware employee, so I prefer it over VirtualBox), a similar answer works here. I am on a MacBook Pro with thunderbolt ports, and I had troubles with a USB 3.0 Card Reader from Genesys Logic: slogan@slogan-virtual-machine:~$ lsusb Bus 004 Device 002: ID 05e3:...


0

In the end, i did not choose to update my libc6 to a newer version to support the R 4.0 because change in libc can cause some problems. What i did was to look for a older version of glmnet from the archive and installed it with my older version of R (3.2.3) and it worked perfectly!


1

I've had the exact same problem. Blank screen on boot-time, that I've partially solved withe nomodeset. But after that, I could not use my external HDMI monitor. So I've finally solved it by leaving GRUB_CMDLINE_LINUX_DEFAULT="" like that. It seems to me (I'm guessing) that removing the splash option does not force to load any video requirements, and hence ...


1

Download snap using snap download command. For example: snap download simplenote to download the simplenotes snap package. There will be two files downloaded .assert and .snap in your current directory. You also need the ubuntu-core package: snap download ubuntu-core Copy all files to the computer where you want two install then Install the snap with: ...


0

I solved this adding .desktop file in: System-wide dir: /usr/share/applications User dir: ~/.local/share/applications Create a .desktop file in one of this directories for the application you want to show in the settings menu and use the category labels for show itwhere you want. For example for show the app icon in personal settings section use: ...


1

With the most recent version of chromium here is what worked for me. Notice the recently added dependency. sudo apt-get install libgtk2.0-0 libgtk-3-0 libnotify-dev sudo apt-get install libgconf-2-4 libnss3 libxss1 sudo apt-get install libasound2 libxtst6 xauth xvfb #recently added dependency sudo apt-get install libgbm-dev If you are using Docker you can ...


0

Calling pip through python did the trick for me, e.g.: python3 -m pip install --upgrade pip==9.0.1 (or whatever version you see in Requirement.parse('pip==X.Y.Z'))


1

I had the same problem with Ubuntu 19.10, all the solutions I tried were a failure. I had to switch to Lighdm from gdm3. Now it is working great.


0

GNOME Shell (Ubuntu 17.10+) There are several GNOME extensions. The one with the indicator that I like the most is: system-monitor (AKA gnome-shell-system-monitor-applet) Includes network speed and much more. Alternatives Vitals: Simple. Only numbers (without graphs). Freon: Only numbers (without graphs).


0

For Ubuntu 20.04, you can install node.js and npm: sudo apt install nodejs npm


0

So I had couple of intense days at work and didn't have the time to fix my machine, today when I tried to boot up I got into new screen ''' /dev/sdb5 Found invalid V2 journal superblock fields (from V2 journal). Clearing fields beyond the V1 journal superblock... /dev/sdb5: One or more block group descriptor checksums are invalid. FIXED. /dev/sdb5: Group ...


1

Your are looking for umask mecanism. It sets the value of the system's file mode creation mask. Welcome on Askubuntu =)


0

You cannot use relative paths in your docroot settings. Use full paths. /home/USERNAME/website for example.


0

I ran into a very similar issue where I had a dialog box popup when trying to add a new wifi connection. Stopping and starting network manager seemed to resolve it: sudo systemctl stop NetworkManager.service sudo systemctl start NetworkManager.service Note that using restart did not resolve the issue for me.


0

With a working internet connection by ethernet, tethering or whatever means possible, open a terminal and do: sudo apt-date update sudo apt-get install git build-essential git clone http://github.com/lwfinger/rtlwifi_new.git -b rtw88 cd rtlwifi_new make sudo make install sudo modprobe rtw_8822ce Your wireless should now be working. When your kernel ...


0

I actually managed to do this from a live system like this: OLDVG=old-vg-name NEWVG=new-vgname vgrename $OLDVG NEWVG OLDVG=$(echo $OLDVG | sed 's/-/--/g') # if the vg-name contains a dash, replace by double dashes as that is used for the device-name sed -i "s/$OLDVG/$NEWVG/g" /etc/fstab sed -i "s/$OLDVG/$NEWVG/g" /etc/initramfs-tools/conf.d/resume /proc/...


0

python3-distutils and python3.8 are in the default Ubuntu 18.04 repositories, so you wouldn't get these errors in Ubuntu 18.04. In Ubuntu 16.04 open the terminal and type: sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt install python3.6 cd ~/Desktop/ wget -c http://launchpadlibrarian.net/449402985/python3-lib2to3_3.6.9-1~18.04_all....


0

There was a similar situation. Сheck the metric of routes with the command ip route if the metric tun0 is less than the default interface metric, then all traffic will go through OpenVPN and there will be no internet. You can change the metric by editing the file in the directory /etc/netplan/ Examples here enter link description here, after netplan apply ...


2

The do-release-upgrade command changes your sources. To change your sources back: Edit /etc/apt/sources.list (requires sudo). sudoedit /etc/apt/sources.list // CLI //OR// sudo -H gedit /etc/apt/sources.list // GUI Review each line carefully: Each line that says 'bionic' change back to 'xenial'. When complete and saved, run sudo apt update.


1

I am not sure this is what you are looking for, but I converted these docs many years ago, and they are not perfect - https://docs.ubuntu.com/phone/en/ I hope it helps. @dobey is correct, the team that built this left in 2017 and the work was archived.


0

The error message occurs because the path, /snap/bin, is not in the search path used by sudo. Obviously, it is in the path when you are a regular user. The simple solution is to use the full path when running the command as a superuser, sudo /snap/bin/canonical-livepatch enable **your token here**


Top 50 recent answers are included