LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   New User Problems (http://www.linuxquestions.org/questions/slackware-14/new-user-problems-4175457927/)

alkahest 04-12-2013 01:51 PM

New User Problems
 
I've been running Slackware 14 for a couple months now. I am new to Linux, otherwise.

I've been running KDE as root (I know, i'm a bad boy), but i want to switch over to a user account for security purposes. Also so that I can use Google Chrome.

I made a new user account, equipped it with a password, and logged in. Everything seemed fine at a cursory glance. However, firefox was missing. If I clicked on the firefox logo titled 'Web Browser', nothing happened. If I clicked on the script, it said the executable was missing. If I tried to run it from Konsole, it didn't work.

So I tried using Konqueror, it worked to some degree. However, it loaded pages extremely slowly. It was also unable to download anything. I tried getting the official Google Chrome RPM through Konqueror, but it wouldn't download at all.

When I use KDE as root, everything works normally.

Can somebody help me troubleshoot?

Thanks.

ChrisAbela 04-12-2013 02:41 PM

1. The safest way to define users is via adduser.

2. After logging in as the new user, send the result of the following:

Quote:

groups

alkahest 04-12-2013 06:51 PM

I have indeed created my new accounts with adduser.

At first, I created an account with no groups. This resulted in the problems explained above.

Now, I have deleted that user, and created a new one with users, lp, floppy, audio, video, cdrom, plugdev, power, netdev, and scanner.

Still, I cannot download Google Chrome, and the Firefox executable is missing.

Should I omit some of these groups as well?

speck 04-12-2013 09:32 PM

As a non-root user, open a terminal and type

Code:

firefox
If Firefox starts, then your icon is probably not configured correctly.

alkahest 04-12-2013 11:18 PM

As I tried to communicate, the terminal won't open it. Both 'firefox' and 'firefox &' return "command not found".

linuxgeek82 04-12-2013 11:29 PM

did you try running firefox as root? if this works add 'admin' to your groups list.

alkahest 04-12-2013 11:54 PM

Wouldn't that defeat the purpose of adding a new user? Why not simply use the root login for everything?

JWJones 04-13-2013 12:25 AM

Quote:

Originally Posted by alkahest (Post 4930688)
Wouldn't that defeat the purpose of adding a new user? Why not simply use the root login for everything?

No, it's pretty common. 'Root' and 'admin' aren't necessarily the same thing.

Petri Kaukasoina 04-13-2013 04:38 AM

Quote:

Originally Posted by linuxgeek82 (Post 4930682)
add 'admin' to your groups list.

This is not very useful as there is no such group as admin in Slackware.

Petri Kaukasoina 04-13-2013 04:46 AM

Quote:

Originally Posted by alkahest (Post 4930451)
firefox was missing.

If I tried to run it from Konsole, it didn't work.

When I use KDE as root, everything works normally.

As user, type "/usr/bin/firefox". What is the output, verbatim?

As root, type "which firefox". What is the output?

ChrisAbela 04-13-2013 02:20 PM

Check that the firefox application has the right permission:

Quote:

$ ls -l /usr/bin/firefox /usr/lib/firefox*/firefox
lrwxrwxrwx 1 root root 29 Apr 4 12:44 /usr/bin/firefox -> /usr/lib/firefox-20.0/firefox*
-rwxr-xr-x 1 root root 88344 Apr 3 08:04 /usr/lib/firefox-20.0/firefox*
Also check the PATH

Quote:

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/kde4/libexec:/usr/lib/qt/bin:/usr/share/texmf/bin:.

alkahest 04-13-2013 05:38 PM

I'm not sure what I did, but Firefox seems to be working now.

Thanks for all your help.


All times are GMT -5. The time now is 04:00 AM.