Blank screen after login ubuntu 16.04? [closed] - authentication

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I got Blank screen while login with correct id and password.
Tried the following solution, still blank screen.
Ubuntu 16.04 + Nvidia Driver = Blank screen

Maybe the probleme is already solved but it's will be good to share the solution.
I hade the same problem and I found the solution here :
https://askubuntu.com/questions/779595/ubuntu-16-04-lts-black-screen-after-login
and here :
https://seravo.fi/2015/fixing-black-screen-after-login-in-ubuntu-14-04
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y
sudo reboot

had a nearly identical problem a few months ago. Switching into a console from the LightDM login screen (Ctrl-Alt-F1), logging in with administrative username and password, and entering the following commands resolved the issue:
sudo mv ~/.Xauthority ~/.Xauthority.backup
sudo service lightdm restart
Ctrl+Alt+F7 is for graphic login mode.
First login with the command line and run "sudo apt-get update" also for that you required internet connectivity. after that reboot system and go with recovery mode for repairing broken dpkg packages.
also find this link for exact solution: https://ubuntuforums.org/showthread.php?t=2363945

Related

How to install iptables-legacy on RHEL8 [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
Improve this question
I want to install this package for iptables-legacy on my RHEL 8 instance: https://fedora.pkgs.org/rawhide/fedora-aarch64/iptables-legacy-1.8.8-3.fc37.aarch64.rpm.html
When I do dnf install iptables-legacy , it returns an error saying the package can't be found.
I guess I need to add a new repository ( https://fedora.pkgs.org/rawhide/fedora-aarch64), using dnf install ... but not sure how to get the details of this repo?
Fedora 28 is RHEL 8 upstream per: https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-red-hat-enterprise-linux/index.html
To install iptables v1.6.2
microdnf update && microdnf install -y dnf
dnf install -y https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/x86_64/os/Packages/i/iptables-libs-1.6.2-2.fc28.x86_64.rpm
dnf install -y https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/x86_64/os/Packages/i/iptables-1.6.2-2.fc28.x86_64.rpm

How to install apache 2.4.46 from Source on Ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
How can I install Apache 2.4.46 in Ubuntu from source, because I want to have the pure package, without tweaks.
The apache2 installed from apt might be more secure, but this is my intention.
Please note that you should always install the latest version of a software for more security. I suggest you to install Apache from Ubuntu's apt package manager 'if you are on a production server'. Installing it from source on a local environment doesn't matter. This tutorial is for Ubuntu/Debian based systems.
Please follow this for the instructions of installing it, by me, with a bit more explanation. Go to the terminal, and enter the following commands one by one and hit enter for no confusion:
Install some required libraries:
sudo apt install libnghttp2 libpcre3 libssl build-essential -y
Navigate to the directory from which we will be compiling apache.
cd /usr/local/src
In your browser, go to http://httpd.apache.org/download.cgi.
Right click and copy the link location of the link looking like Source: httpd-2.4.46.tar.gz
sudo wget -O- <download-link> | tar -zxf -
Also go to http://apr.apache.org/download.cgi and copy the link location for Unix Source: apr-1.7.0.tar.gz
sudo wget -O- <apr-download-link> | tar -zxf -
Go to http://apr.apache.org/download.cgi and copy the link location for Unix Source: apr-util-1.6.1.tar.gz
sudo wget -O- <apr-util-download-link> | tar -zxf -
Move the downloaded and extracted apr files to the right location:
sudo mv apr- httpd-/srclib/apr
Move the downloaded and extracted apr-util files to the right location:
sudo mv apr-util- httpd-/srclib/apr-util
Navigate into the httpd directory:
cd httpd-
According to me, this configuration is better than any other. The --prefix is where apache is installed.
sudo ./configure --prefix=/usr/local/apache2 --enable-mods-shared="reallyall" --enable-mpms-shared="all"
Compile the sources:
sudo make
Install the compiled application to your system:
sudo make install
These directories could be altered using different arguments in step 9. (the sudo ./configure command)
The apache directory is /usr/local/apache2.
The apache conf directory is /usr/local/apache2/conf.
The apache main conf file is /usr/local/apache2/conf/httpd.conf.
For more info go to http://httpd.apache.org/docs/current/install.html.

Deepin Desktop Environment on WSL2 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I know its early to ask but has anybody out there had any luck running latest Deepin Desktop Environment (DDE) on WSL2 like you can run xfce4 through an X-server like Xming or VcXsrv?
Starting from Ubuntu 20.04:
sudo add-apt-repository ppa:ubuntudde-dev/stable
sudo apt update
sudo apt upgrade
sudo apt install ubuntudde-dde
sudo service dbus start
To display using rdp:
sudo apt-get install xrdp
sudo /etc/init.d/xrdp start
To display using X11:
export DISPLAY=[DISPLAY IP]:[DISPLAY NUMBER].0
deepin-session

Accidentally deleted a2ensite [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I accidentally deleted /usr/sbin/a2ensite. Any way I can restore it? Tried sudo apt-get install a2ensite but I got the error message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package a2ensite
Tried sudo apt-get install apache2 and sudo aptitude update but no luck there either. Any ideas? Using ubuntu.
Cheers,
agsb
Try:
sudo apt-get install --reinstall apache2 apache2-common
a2ensite as a script is contained in the apache2.2-common package. You can download it here and extract the file from the contained data archive yourself.
Edit: The Ubuntu packages can be found here.

How to download source code with Pacman on Arch Linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am using Arch Linux. I want to do the same thing like apt-get source coreutils; is it possible to download sources with Pacman? I didn't find a solution in the man pages.
How can I get the source code of a package?
pacman -S asp
say if you want the source code of the Linux command find
find out which package the command find belongs to:
pacman -Qo $(which find). The result is
"/usr/bin/find is owned by findutils 4.4.2-3".
asp export findutils
cd findutils
makepkg -o
Now you have your source code.
2018 Update:
The abs tool described below has been deprecated and it along with its rsync endpoint have been dropped since mid 2017.
The asp tool now provides similar functionality. More information here.
As already mentioned you can use the ABS (Arch Build System):
Install it using pacman:
sudo pacman -S base-devel abs
First, download the ABS tree:
sudo abs
Then, get a specific package:
sudo abs [package_name]
Then copy the package, whose source you want to have, from the local abs tree (e.g. /var/abs/core/findutils) to another directory, e.g. /home/blabla/abs
Then run makepkg:
if you only want to get the sources and don't want to build the package you can run makepkg -od
otherwise run makepkg -s, which will then handle all the package's dependencies automatically
watch out becaouse makepkg will overwrite your modifications, use makepkg -e to build your local sources instead
If you want to install the package you've built, run
pacman -U name-of-package.xz
Edit: This answer is outdated due to changes on ABS.
You get the package sources from the Arch Linux SVN repository, called ABS.
First find the package online:
http://www.archlinux.org/packages/?q=coreutils
Then, on the package details page, on the right side use the SVN links, e.g.:
http://repos.archlinux.org/wsvn/packages/coreutils/trunk/
And there, you have a sweet "Download" button, in this case it leads to:
http://repos.archlinux.org/wsvn/packages/coreutils/trunk/?op=dl&isdir=1
It is a little bit more complicated than apt-get source. But perhaps you find a tool on AUR that does the job for you, for example yaourt supports building from sources and exporting them.