ubuntu – How to unlock the bootloader on Sony Xperia XA2 Plus?

I'm the tutorial on
https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/how-to-unlock-bootloader/.

Here are the commands and their outputs.

sudo ./fastboot devices
CQ3001BYCA fastboot

./fastboot devices
no permissions (user in the plugdev group, are your udev rules wrong?); see [http://developer.android.com/tools/device.html]    fastboot

sudo ./fastboot oem unlock 0x
FAILED (remote: "Unauthorized command")
fastboot: error: the command failed

./fastboot oem unlock 0x
< waiting for any device >

The output of the last command does not change after 10 minutes of waiting.

The user is in the plugdev group according to the id command.

echo $ LOGNAME
user
login
uid = 1000 (user) gid = 1000 (user) groups = 1000 (user), 4 (adm), 24 (cdrom), 27 (south), 30 (dip), 33 (www-data), 46 (plugdev) , 116 (lpadmin), 126 (sambashare)

What can I do for the device to be recognized?
I am using Ubuntu 18.04.1.

16.04 – Unity3d does not open on Ubuntu

I have a problem that bothers me for quite some time
I'm trying to install Ubity3d on Ubuntu
I followed some instructions that I found after some research
I downloaded and installed UnityHub and the latest version (UnitySetup-2019.1.0f2) found on Unity under Linux: Release Notes and Known Issues

and I've moved the installed unit file from Home at opt folder and made it work on command Unity3d and here's what I did exactly

sudo mv Unity-2019.1.0f2 / opt / Unity3D
sudo ln -s / opt / Unity3D / Editor / Unity / usr / bin / unity3d

and the problem is that every time I open the Unity editor (via the command line and UnityHub), the Launcher unit appears for a moment, then crashes and the editor does not does not open and the error changes every time i try to open the program here. are 2 forms of errors that has appeared, here is the first

Gtk-Message: GtkDialog mapped without transitional parent. This is discouraged.
Gtk-Message: GtkDialog mapped without transitional parent. This is discouraged.
Gtk-Message: GtkDialog mapped without transitional parent. This is discouraged.
Gtk-Message: GtkDialog mapped without transitional parent. This is discouraged.
[Unity Package Manager (Upm)]
Parent process [5258] was terminated
Segmentation fault (core dumped)

and the second
Gtk-Message: GtkDialog mapped without transitional parent. This is discouraged.
Gtk-Message: GtkDialog mapped without transitional parent. This is discouraged.

(unit editor: 6651): Gtk-CRITICAL **: gtk_file_chooser_widget_set_current_name: assertion & # 39; priv-> action ==
GTK_FILE_CHOOSER_ACTION_SAVE || priv-> action ==
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER & # 39; failed
Gtk-Message: GtkDialog mapped without transitional parent. This is discouraged.
[Unity Package Manager (Upm)]
Parent process [6651] was terminated
Segmentation fault (core dumped)

Well, I know there is something wrong with GTK but I have no experience and I found nothing useful about it on Google

OS: Ubuntu 16.04 LTC

boot – Ubuntu does not start and is blocked by freezing the screen

enter the description of the image hereDuring the start of Ubuntu_18.04.2, the screen is hit with an image crash and not at startup. If we reboot forcefully again, errors such as "/ dev / sda6: Recovering Journel" are displayed. Please refer to the attachment (Ubuntu_Startup_issue_Image1.jpg, Ubuntu_Startup_issue_Image2.jpg
enter the description of the image here

ubuntu – The default page of Apache2 says without http: //, https: // or www. prefix

I'm running a Django web application on an Ubuntu 19.04 server with Apache2. I have installed an SSL certificate with certbot and I am having trouble directing traffic from domainname.com to https://www.domainname.com. Whenever I browse on domainname.com, the default Apache page is displayed. If I browse on www.domainname.com, the website displays as expected. I have not found a solution that works for me, which bothers me, is that I have an SSL certificate and two configuration files.

By running certbot, an additional configuration file has been created. I now have domainname.conf and domainname-the-ssl.conf. Now, in my domain name.conf, I've added a rewrite so that all the traffic on my port 80 is redirected to https:


        
        
        
        # The ServerName directive defines the query schema, hostname, and port that
# the server uses to identify itself. This is used during creation
# Redirect URL. In the context of virtual hosts, the ServerName
# specifies the host name that should appear in the Host header: of the request
# corresponds to this virtual host. For the default virtual host (this file), this
The # value is not critical because it is used at all times as a last resort host.
# However, you must explicitly set it for any other virtual host.

ServerName www.domainname.com
ServerAdmin *******
DocumentRoot / var / www / html

# Available connection levels: trace8, ..., trace1, debug, info, notification, warn,
# error, crit, alert, emergent.
# It is also possible to configure the logging level for
# modules, for example
#LogLevel info ssl: warn

ErrorLog $ {APACHE_LOG_DIR} /error.log
CustomLog $ {APACHE_LOG_DIR} /access.log combined

# For most conf-available / configuration files, which are
# enabled or disabled globally, it is possible to
# include a line for a single virtual host. For example,
The following line enables CGI configuration for this host only
# after being globally disabled with "a2disconf".
#Include conf-available / serve-cgi-bin.conf


RewriteEngine on
RewriteCond% {SERVER_NAME} = www.domainname.com
RewriteRule ^ https: //% {SERVER_NAME}% {REQUEST_URI} [END,NE,R=permanent]









# vim: syntax = apache ts = 4 sw = 4 sts = 4 sr noet

My domain-name-the-ssl.conf was generated automatically by certbot and has no rewrite. Now I have tried some rewrites, but no one seems to understand that all traffic should go through https and on www.domainname.com. Is this something that I should correct in this file or at the service where I registered my domain?

gnome shell – minimize activation by clicking on Ubuntu 18.04

I've tried this command to minimize on the dock with one click on the icon

Set the org.gnome.shell.extensions.dash-dock-dock action to minimize & # 39;

But I get the following error:

Using the GSettings backend & # 39; memory & # 39; Your settings will not be backed up or shared with other apps.

What I have found so far:

Following the command line has solved the problem of many people on 16.04 (I guess) as it seems.

export GIO_EXTRA_MODULES = / usr / lib / x86_64-linux-gnu / gio / modules /

But the problem with this command line is that I can not find a folder named usr or "username" because there is not a single folder named x86_64-linux- gnu in my system. So I feel that I can use this command line to solve my problem if I find the location of my GIO modules or where to use this command line. Alternative solutions can be appreciated, but I prefer some command lines to get used to Linux distributions.

I have Ubuntu 19 and last 30 minutes that does not open

Please help me, I'm just stuck.

xrandr does not work on Ubuntu 19.04. How to reduce the brightness below the default minimum?

The xrandr command to reduce the brightness below the minimum does not work after upgrading from Ubuntu to 19.04. How can I reduce the brightness below the default minimum?

Ubuntu 18.04 installation failed and corrupted Ubuntu 16

By running Ubuntu 16 on a MacBook, I tried to upgrade to version 18.04. The upgrade failed and 16 will not start anymore. Can I try to repeat the installation for 18.04 without erasing the partition reserved for Ubuntu?

Mathematica 11 in Ubuntu 18.04 does not display many characters in the terminal. How can I change that?

The "special" character, such as pi (esc p esc), does not appear. Instead, they are replaced by a dashed gray square:
enter the description of the image here

How can I change that? Mathematica worked well before I upgraded Ubuntu to 18.04. I thought that this could be solved by uninstalling it and then installing it again. I finally came to do it and it did not work.