Kali Linux non-root users can't see name on the terminal, KDE.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Kali Linux non-root users can't see name on the terminal, KDE.
Hello everyone, I'm new to this forum so please don't hate if I posted this question on the wrong section.
Basically I was a parrot user until, well, yesterday, but after receiving the Alfa Network AWUS1900, and after 2 days trying to get it to work in monitor mode, I just decided to follow an internet post that says "Kali Linux EXTREME SUPPORT for Alfa Network AWUS1900", now it is actually true and it works.
But I decided to install Kali linux with KDE instead of Gnome, basically because I love KDE and hate Gnome, but aside from this.
The problem of KDE is that if you run under root user, Dolphin (the file manager/explorer) won't run, and I just discovered that it is because I'm using a root user, so I decided to use my standard non-root user and use sudo when necessary (like parrot, or any other linux distro).
But by doing all this stuff I ended up with one problem, the terminal or in KDE case "Konsole" is not showing root or in this case lynxes@kali-$: but only a $.
Is there any way to solve this? Looks like Konsole settings doesen't have anything helpful.
Kali Linux non-root users can't see name on the terminal, KDE.
'pwd' should show the curren users home directory if you haven't changed into another. either /root for root or /home/user
'whoami' will display the current user.
Also try 'bash' to see the whole user@macine prompt everytime. some shells don't display this because it takes up alot of space.
Read the link below, another post here at LQ discussing root/dolphin. It's the Dolphin developers, some Linux distributions have a patch and allow, the Debian derivatives like kali do not.
Kali is designed by default to run as root user as it is usually necessary for the functions of computer forensics. Not sure why you would want a non-root user but it should certainly be possible. I tested Kali briefly and don't use it so are you sure sudo is enabled by default on it. Many Linux systems do not use sudo by default.
With regard to your prompt: $ can you do anything from it, run commands, etc?
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Open ~/.bashrc and make the PS1 variable to: 'PS1=\u@\h:\w\$'. Then, save and close the file and run from the terminal . .bashrc. Thats a dot, a space, and the name of the .bashrc file. Then the bash prompt should appear more familiar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.