Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hello. I just downloaded steam_latest.deb from officals site. And i installed it. But it shows "Cannot run as root user". Then i made some changes in /usr/bin/steam.
(
if [ "$(id -u)" == "0" ]; then
show_message --error $"Cannot run as root user"
exit 1
fi
)
i changed this one [ "$(id -u)" == "0" ] to this one [ "$(id -u)" == "1" ]
But now steam shows another error.
"You are missing the following 32-bit libraries, and Steam may not run: libc.so.6"
guys help me!
PS: Sorry for bad english.
The reason it doesn't work and the reasons you should not be using it are explained in detail at the Kali Linux site at the link below. The paragraph below is a quote directly from that pages that applies to your situation:
Quote:
The fact of the matter is, however, that Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc.
the reason you can not install steam on kali is the SAME REASON the developers TELL YOU!!! that you can not
doing so will KILL!!!!!! the install They even EXPLICITLY inform you that YOU CAN NOT !!! install steam !!!
The reason it doesn't work and the reasons you should not be using it are explained in detail at the Kali Linux site at the link below. The paragraph below is a quote directly from that pages that applies to your situation:
Why do you people keep acting like that? Have you ever even used Kali as a daily driver ?? or have you ever even used Kali at all??
Long term Debian user here, and i can definitely see why people would want to make Kali their main distribution.
And for God's sake, stop saying that is not meant for that.
Want some references? Here's an interview with Kali's creator, in which he's been asked EXACTLY that question. See his answer.
Kali, it's just another linux distribution, with enough knowledge one can tailor it to its needs. It's surely less full of bloatware than more "popular" distros like Ubuntu -_-
Hello. I just downloaded steam_latest.deb from officals site. And i installed it. But it shows "Cannot run as root user". Then i made some changes in /usr/bin/steam.
(
if [ "$(id -u)" == "0" ]; then
show_message --error $"Cannot run as root user"
exit 1
fi
)
i changed this one [ "$(id -u)" == "0" ] to this one [ "$(id -u)" == "1" ]
But now steam shows another error.
"You are missing the following 32-bit libraries, and Steam may not run: libc.so.6"
guys help me!
PS: Sorry for bad english.
Don't listen to these guys, the reason why you are having issues is because of the fact that Kali runs by default as root account, which is not suggested for everyday use. But there is a very simple fix for that!!
You just have to create a user account, here are the steps to create a normal user account (this way you would increase the security of your day to day operations) and adding also super-user privileges with the command sudo (it will come in handy maaany times believe me )
just type in the terminal the following :
useradd -m username (change username with the username of your choice, for example if you want your username to be royal , just type useradd -m royal) (the -m argument is used to create a home directory for the newly created user)
then we need to create a password for that user this can be easily done with the following command:
passwd username (as always, change username with whatever username you chose)
now we need to add this user to the sudoers (long story short, so you can access temporarily root privileges through the commando sudo)
type in terminal:
usermod -a -G sudo username
and last but not least, run this other command, which serves to specify the bash for the newsly created user
chsh -s /bin/bash username
now you can logout from root, and log in with your new user credentials. (a restart is suggested sometimes to avoid permissions conflicts)
Steam, like many other software, will not run as root,to protect its users (Chrome does the same).
If you have any questions feel free to contact me!!
Don't listen to these guys, the reason why you are having issues is because of the fact that Kali runs by default as root account, which is not suggested for everyday use. But there is a very simple fix for that!!
You just have to create a user account, here are the steps to create a normal user account (this way you would increase the security of your day to day operations) and adding also super-user privileges with the command sudo (it will come in handy maaany times believe me )
just type in the terminal the following :
useradd -m username (change username with the username of your choice, for example if you want your username to be royal , just type useradd -m royal) (the -m argument is used to create a home directory for the newly created user)
then we need to create a password for that user this can be easily done with the following command:
passwd username (as always, change username with whatever username you chose)
now we need to add this user to the sudoers (long story short, so you can access temporarily root privileges through the commando sudo)
type in terminal:
usermod -a -G sudo username
and last but not least, run this other command, which serves to specify the bash for the newsly created user
chsh -s /bin/bash username
now you can logout from root, and log in with your new user credentials. (a restart is suggested sometimes to avoid permissions conflicts)
Steam, like many other software, will not run as root,to protect its users (Chrome does the same). If you have any questions feel free to contact me!!
..and since you re-opened a thread that had been closed for TWO YEARS, I don't think the OP is going to see this. And secondly, please don't give out bad advice. Telling folks to use Kali for gaming/desktop use is a BAD IDEA, and Kali's own website even says that, along with the Kali sticky threads on this site, and many others.
What you *CAN* do and what you *SHOULD* do are two different things. Using Kali for anything but security testing is a bad idea, period.
..and since you re-opened a thread that had been closed for TWO YEARS, I don't think the OP is going to see this. And secondly, please don't give out bad advice. Telling folks to use Kali for gaming/desktop use is a BAD IDEA, and Kali's own website even says that, along with the Kali sticky threads on this site, and many others.
What you *CAN* do and what you *SHOULD* do are two different things. Using Kali for anything but security testing is a bad idea, period.
I am not "suggesting" anything to anyone, it's you people that should stop misinterpreting what the Kali website says. It's creator said that he can see why people are starting to use it as a daily driver, it's a rock solid and reliable linux distribution.
All the website states, is that if you are not an experienced Linux user, Kali might not be the right choice. You can do pretty much EVERYTHING you want with Kali that you could do with any other Linux distribution, if you even understand what a distribution really is.
As a matter of fact, having the network services disabled by default can come in very handy for privacy oriented users.
You have to stop telling people what they should and should not do, especially when the distribution's creator is saying the exact opposite. The guy asked a simple question and you've been total asses about it instead of helping him.
Below the video of one of Kali Linux's Authors talking about this exact argument:
I am not "suggesting" anything to anyone, it's you people that should stop misinterpreting what the Kali website says. It's creator said that he can see why people are starting to use it as a daily driver, it's a rock solid and reliable linux distribution.
Full quote and source please?
I know the part you're both refering to, and it's still there:
Quote:
As the distribution’s developers, you might expect us to recommend that everyone should be using Kali Linux. The fact of the matter is, however, that Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc.
Even for experienced Linux users, Kali can pose some challenges.
So unless proven otherwise, for me this says pretty clearly that you should NOT use kali as a daily driver.
Also please note that last sentence, which can be translated to "if you're a newbie to linux, it's a very bad idea to start with kali".
Quote:
All the website states, is that if you are not an experienced Linux user, Kali might not be the right choice.
it does state that, but it's definitely not ALL it states.
Quote:
You can do pretty much EVERYTHING you want with Kali that you could do with any other Linux distribution, if you even understand what a distribution really is...
...and also understand how kali linux differs from other distros.
Quote:
You have to stop telling people what they should and should not do, especially when the distribution's creator is saying the exact opposite.
actually many people come here for advice, so yes, we should tell them.
and again: who is the creator, and show us that quote!
I am not "suggesting" anything to anyone, it's you people that should stop misinterpreting what the Kali website says. It's creator said that he can see why people are starting to use it as a daily driver, it's a rock solid and reliable linux distribution.
As ondoho posted, the Kali website is not 'misinterpreted'; their developers SPECIFICALLY SAY it is not a recommended distribution for gaming (and other things). And claiming you weren't suggesting anything after what you posted makes no sense.
Quote:
All the website states, is that if you are not an experienced Linux user, Kali might not be the right choice. You can do pretty much EVERYTHING you want with Kali that you could do with any other Linux distribution, if you even understand what a distribution really is. As a matter of fact, having the network services disabled by default can come in very handy for privacy oriented users.
Nope; try again. And as said before, what *CAN* do is often different than what you *SHOULD* do. For example, CAN I use an RPI to run a mail server for 1,000 users? Sure. SHOULD I? Nope.
Quote:
You have to stop telling people what they should and should not do, especially when the distribution's creator is saying the exact opposite. The guy asked a simple question and you've been total asses about it instead of helping him.
So WE should stop telling people what to do...because you TOLD US TO? Because YOU want to tell them something different? Makes no sense, again.
Sorry, no...either you just aren't understanding what's being said, or you're intentionally trolling. You're not off to a great start on this site. Good luck.
One thing I see on many of these posts about Kali is a simple lack of knowledge combined with an apparent lack of effort. The OP seemed to be unaware that a default Kali runs as root even though that information is available at the Kali site under the Should I use Kali, link below. Also the OP seemed to be unaware that Steam doesn't run as root. A little bit of reading would have helped in this case with Kali which is extremely well documented.
For someone who wants to study computer forensics/penetration testing with Kali, the best option for an inexperienced user would be to put it on a flash drive which is explained in detail at their site below.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.