LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2013, 12:51 PM   #1
alkahest
LQ Newbie
 
Registered: Mar 2013
Posts: 12

Rep: Reputation: Disabled
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.
 
Old 04-12-2013, 01:41 PM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
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
 
Old 04-12-2013, 05:51 PM   #3
alkahest
LQ Newbie
 
Registered: Mar 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
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?
 
Old 04-12-2013, 08:32 PM   #4
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
As a non-root user, open a terminal and type

Code:
firefox
If Firefox starts, then your icon is probably not configured correctly.
 
Old 04-12-2013, 10:18 PM   #5
alkahest
LQ Newbie
 
Registered: Mar 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
As I tried to communicate, the terminal won't open it. Both 'firefox' and 'firefox &' return "command not found".
 
Old 04-12-2013, 10:29 PM   #6
linuxgeek82
LQ Newbie
 
Registered: Feb 2013
Distribution: Debian, Kali 1.0.3
Posts: 22

Rep: Reputation: Disabled
did you try running firefox as root? if this works add 'admin' to your groups list.
 
Old 04-12-2013, 10:54 PM   #7
alkahest
LQ Newbie
 
Registered: Mar 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Wouldn't that defeat the purpose of adding a new user? Why not simply use the root login for everything?
 
Old 04-12-2013, 11:25 PM   #8
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by alkahest View Post
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.
 
Old 04-13-2013, 03:38 AM   #9
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,781

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Quote:
Originally Posted by linuxgeek82 View Post
add 'admin' to your groups list.
This is not very useful as there is no such group as admin in Slackware.
 
Old 04-13-2013, 03:46 AM   #10
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,781

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Quote:
Originally Posted by alkahest View Post
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?
 
Old 04-13-2013, 01:20 PM   #11
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

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

Last edited by ChrisAbela; 04-13-2013 at 01:21 PM.
 
Old 04-13-2013, 04:38 PM   #12
alkahest
LQ Newbie
 
Registered: Mar 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
I'm not sure what I did, but Firefox seems to be working now.

Thanks for all your help.
 
  


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
New user, many problems. fannymites SUSE / openSUSE 12 11-21-2005 03:55 PM
problems with gnome when I change a user's user ID phil.d.g Slackware 5 12-21-2004 03:51 AM
problems with user alaios Linux - General 5 07-13-2004 11:55 PM
problems with user mmm Linux - General 5 08-13-2003 03:01 PM
new user new problems samasas Linux - Newbie 1 11-21-2001 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:09 PM.

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