mojave – How can I improve the performance of an Ubuntu virtual machine in VirtualBox?

I am using VirtualBox 6.0.4 to run Ubuntu 18.0.4 on a MacBook Pro with macOS Mojave.

The virtual machine is too sluggish: when I drag a window across the screen, it moves slowly. Instead of moving smoothly across the screen, it abruptly changes position.

I have read some suggestions here and in other forums but have not found a solution that works. So far I have tried the following:

  • Install VirtualBox Guest Additions
  • Install the VirtualBox Extension Package
  • Increase the base memory to the maximum (valid)
  • Increase the number of CPUs to 6 (out of a total of 12)
  • Increase the video memory to the maximum
  • Switch the graphics controller to VBoxVGA
  • Enable 3D acceleration

I've read that reducing the number of CPUs and base memory results in better performance, but I have tried this too (and several other combinations) without success.

Are there any settings I should check that I did not mention?

If you found a Sweet Spot configuration, I would point you in the right direction.

boot – Does a full installation of Ubuntu 18.10 on a USB key affect the hard drive of the machines I want to connect to?

As mentioned earlier, I installed Ubuntu 18.10 (and the grub bootloader) on a USB key, which I can use in uefi mode from any computer.

My question is, if I'm going to execute a command from the terminal (mainly apt) that somehow affects the hard drive of the machine I'm working on, or I'm absolutely sure and Ubuntu will only use its USB key for updates and the like work ?

ubuntu – Desktop in Linux Mint turns black after logging in

I'm using a desktop with LM17 (Dual Boot Win10). I have made an update to R-3.5.3 and added src's to the file etc /…./ files.list (those with the different urls to get updates), and also $ sudo autoremove. Every time you log in, the desktop turns black. I've tried over ten different commands (using instructions from different postings in multiple locations), but the problem persists. I tried to update, ubuntu-desktop and innumerable others to reinstall without success. When I update, I get a message stating that packets are considered bad. I suspect that the 97er hard drive might help, but I still have 3% of 500 GB + left. I'd like detailed help so I can get my desktop back without deleting data. As a last resort, I could try to save files from the Win10 partition (if there is a practical way I do not know). How do I get the desktop back?

ubuntu – How to set up an AWS connection

For the first time, I applied for an Amazon web service and specifically selected the Lightsail package. After installing several modules via Putty, uploading the files via FileZilla and starting the server with "node app.js", I tried to ping the server IP from my local computer, but failed.

I need to be able to connect to the IP in the browser for my SSL validation.

What do I have to do to establish the HTTP connection? Which steps did I miss?

apache2 – Error installing PHP in Ubuntu

I'm trying to install PHP in my Ubuntu system. I already have Apache and Mysql installed, but I can not install PHP with the following command

sudo apt install php libapache2-mod-php

I get the following error message:

(Read database ... 489 currently installed files and directories.)
Preparation for unpacking ... / libapache2-mod-php_2% 3a7.3 + 69 + ubuntu18.10.1 + deb.sury.org + 2 + php7.3_all.deb ...
Unzip libapache2-mod-php (2: 7,3 + 69 + ubuntu18.10.1 + deb.sury.org + 2 + ph7,3) ...
Set up Php7.3-common (7.3.3-1 + ubuntu18.10.1 + deb.sury.org + 1) ...
dpkg: error handling package php7.3-common (--configure):
Installed php7.3 common package post-process script subprocess returned the error exit status
dpkg: Dependency problems prevent the configuration of php7.3-opcache:
php7.3-opcache depends on php7.3-common (= 7.3.3-1 + ubuntu18.10.1 + deb.sury.org + 1); However:
Package php7.3-common is not configured yet.

dpkg: error-handling package php7.3-opcache (--configure):
Dependency issues - remain unconfigured
dpkg: Dependency issues prevent configuring libapache2-mod-php7.3:
libapache2-mod-php7.3 depends on php7.3-common (= 7.3.3-1 + ubuntu18.10.1 + deb.sury.org + 1); However:
Package php7.3-common is not configured yet.
libapache2-mod-php7.3 depends on php7.3-opcache; However:
Package php7.3-opcache is not configured yet.

dpkg: error handling package libapache2-mod-php7.3 (--configure):
Dependency issues - remain unconfigured
No report was generated because the error message indicates a follow-up error from a previous error.
No report was generated because the error message indicates a follow-up error from a previous error.
dpkg: Dependency problems prevent the configuration of php7.3-cli:
php7.3-cli depends on php7.3-common (= 7.3.3-1 + ubuntu18.10.1 + deb.sury.org + 1); However:
Package php7.3-common is not configured yet.
php7.3-cli depends on php7.3-opcache; However:
Package php7.3-opcache is not configured yet.

dpkg: error handling package php7.3-cli (--configure):
Dependency issues - remain unconfigured
No report was created because MaxReports has already been reached
dpkg: dependency problems prevent the configuration of php7.3 readline:
php7.3-readline depends on php7.3-common (= 7.3.3-1 + ubuntu18.10.1 + deb.sury.org + 1); However:
Package php7.3-common is not configured yet.

dpkg: error handling package php7.3-readline (--configure):
Dependency issues - remain unconfigured
No report was created because MaxReports has already been reached
dpkg: dependency problems prevent the configuration of php7.3:
php7.3 depends on libapache2-mod-php7.3 | starting at php7.3-fpm | php7.3-cgi; However:
Package libapache2-mod-php7.3 is not configured yet.
Package php7.3-fpm is not installed.
The php7.3-cgi package is not installed.
php7.3 depends on php7.3-common; However:
Package php7.3-common is not configured yet.

dpkg: error handling package php7.3 (--configure):
Dependency issues - remain unconfigured
No report was created because MaxReports has already been reached
dpkg: Dependency problems prevent the configuration of php7.3-json:
php7.3-json is dependent on php7.3-common (= 7.3.3-1 + ubuntu18.10.1 + deb.sury.org + 1); However:
Package php7.3-common is not configured yet.

dpkg: error handling package php7.3-json (--configure):
Dependency issues - remain unconfigured
No report was created because MaxReports has already been reached
dpkg: Dependency issues prevent configuring libapache2-mod-php:
libapache2-mod-php depends on libapache2-mod-php7.3; However:
Package libapache2-mod-php7.3 is not configured yet.

dpkg: error handling package libapache2-mod-php (--configure):
Dependency issues - remain unconfigured
No report was created because MaxReports has already been reached
dpkg: Dependency problems prevent the configuration of PHP:
php depends on php7.3; However:
Package php7.3 is not configured yet.

dpkg: Error processing the php (--configure) package:
Dependency issues - remain unconfigured
No report was created because MaxReports has already been reached
There were errors during processing:
php7.3-common
php7.3-opcache
libapache2-mod-php7.3
7,3-cli
ph7.3-readline
7.3
php7.3-json
libapache2-mod-php
php
E: The subprocess / usr / bin / dpkg returned an error code (1).

Nouveau driver with poor graphics quality on the Nvidia Quadro K600 Ubuntu 18.04.2 LTS

Hello, I'm all faced with a problem with my graphics
First I installed NVIDIA drivers, but I could not find the resolution 1280×1024, I tried:
xrandr –newmode "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync + Vsync
xrandr –addmode DVI-I-0 1280x1024_60.00
without success
So I turned to the "nouveau" driver, and it works, I get the resolution 1280×1024, but the quality is bad, if I click on a window and I drag it, it gets distorted, even if I put videos on Youtub or Play Netflix if the video is distorted Some have an idea, please help me.