LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-15-2018, 12:26 PM   #1
lynxes
LQ Newbie
 
Registered: Apr 2018
Posts: 1

Rep: Reputation: Disabled
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.

Thank's in advance.
 
Old 04-16-2018, 01:32 AM   #2
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 15
Posts: 490
Blog Entries: 2

Rep: Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576
Hi, and welcome to the forum.

Are you using Kali as a general purpose system? If so, have you read this https://www.linuxquestions.org/quest...ad-4175614092/? Edit: Apologies if you aren't, I misread AWUS as Asus.

Root can't use dolphin in a standard KDE setup any more, see this thread https://www.linuxquestions.org/quest...s-root-791565/

Last edited by fido_dogstoyevsky; 04-16-2018 at 01:37 AM.
 
1 members found this post helpful.
Old 04-16-2018, 01:56 AM   #3
mbzn
LQ Newbie
 
Registered: Dec 2007
Location: Secunda, south africa
Distribution: MX Linux 17.1
Posts: 25

Rep: Reputation: 1
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.
 
Old 04-16-2018, 08:54 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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.

https://www.linuxquestions.org/quest...ot-4175619213/

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?
 
Old 04-16-2018, 11:01 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
It seems that your device can be a problem with Linux, but people have succeeded:
https://askubuntu.com/questions/9816...driver-support

There are also some very good KDE distros out there: OpenSUSE, PCLinuxOS, Kubuntu...
 
Old 04-16-2018, 08:35 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
You can use your .bashrc file to customize the bash command prompt. If you don't have a ~/.bashrc file, you can create one.

https://www.howtogeek.com/307701/how...r-bash-prompt/

Last edited by frankbell; 04-16-2018 at 08:36 PM.
 
Old 04-17-2018, 03:50 PM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Help with terminal on kali linux 2016.2 Lucifer_77 Debian 6 02-06-2017 04:59 AM
Terminal command to kick selected users off my network [Kali Linux] Knight_Rider Linux - General 16 04-04-2016 11:51 AM
Slackware Terminal doesn't work- KDE 3.5, non-root users. metalforever Slackware 2 03-12-2009 03:33 PM
LXer: Rootsh terminal logger keeps watch on root users LXer Syndicated Linux News 0 05-03-2007 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration