LinuxQuestions.org
Visit Jeremy's Blog.
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 14.1
Posts: 467

Rep: Reputation: 89
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: California
Distribution: Slackware 14.1
Posts: 272

Rep: Reputation: 54
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
Member
 
Registered: Jun 2009
Location: Cascadia
Distribution: Slackware, LinuxBBQ, OpenBSD, Mac OSX
Posts: 723

Rep: Reputation: 187Reputation: 187
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
Member
 
Registered: Mar 2007
Posts: 242

Rep: Reputation: 86
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
Member
 
Registered: Mar 2007
Posts: 242

Rep: Reputation: 86
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 14.1
Posts: 467

Rep: Reputation: 89
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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/Novell 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


All times are GMT -5. The time now is 03:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration