Skip to main content

Kali Linux 2020.1 tty1 ERROR


I found a horrible error when I installed the latest version of Kali Linux on one of my machines, after installing the OS when I started it, it booted into a black screen which asked for my login credentials without any GUI.
It is heartbreaking to see problems right away in a freshly installed operating system but after some Googling, I dug out the solution which I will share with you here. 

Steps to solve No GUI tty1 Error in Kali Linux


1. First log in with your user credentials
2. Write command: cd /
3. Write command: cd etc/
4. Write command: cd apt/
5. Write command: cat sources.list

After step 5, you will see something like this:
As you can see, no repositories are mentioned here so obviously we'll have to add kali official repositories to this file. 
6. Write command: sudo nano sources.list
7. Write your password
8. Now add the following repositories at the end of the editable file which is opened on the terminal:
deb http://http.kali.org/kali kali-rolling main non-free contrib

deb-src http://http.kali.org/kali kali-rolling main non-free contrib
9. After adding the above lines to the file, press Ctrl + O and Ctrl + X to save and close the file respectively.
10. Write command: sudo apt-get update
11. After the update has completed, write command: sudo apt-get install gdm3 , type Y(Yes) on the prompt. The installation might take some time.
12. During installation, a wizard will open in which you have to change the default display manager to gdm3  and hit Enter!
13. Write command: reboot

Now you will be able to see the GUI.


Comments

Popular posts from this blog

Hacker 101 CTF Walkthrough: Petshop Pro

I am back with another walkthrough to one of the  HackerOne 's CTF Petshop Pro . Let's look at the interface of this web page.

Hacker101 CTF Walkthrough: Micro-CMS v1

Here is the walkthrough for another CTF available on  Hacker 101  is Micro-CMS v1 This CTF has four flags and I will walk you off through each one of them. Let's start! This is the main page of the CTF where you have some options like you can create some pages, and read the already created ones. Flag 0: To find the flag0 you need to first create a page with some random content After creating the page, you will be redirected to the page you just created showing the contents. Observe the URL at this moment. It will be something like: http://34.74.105.127/242d57e34e/page/13 Noticing that our page number has been assigned number 13 and by manually changing the page number you can access other pages. Now click on Edit this Page  button in the top right corner. Now observe the URL which will be like http://34.74.105.127/242d57e34e/page/edit/13 So we know now that we can access a page in two ways, by simply hitting the page URL and by hitting the edit page URL.