LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-05-2012, 12:39 AM   #1
sotitrox
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Rep: Reputation: Disabled
can't login after run su command


hello, I can't login after run "su -c 'vidalia'"(I was installing tor), after that I can't run anything in my desktop, "denied permision", and restart my computer, but can't login in, when i put my username and my password, a dialog box with a message, "startxfce4 not exist", but I login with the root user, and I made a new user, but have the same problem.
how can fix this problem?

Last edited by sotitrox; 12-05-2012 at 03:28 PM.
 
Old 12-05-2012, 03:11 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,752

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
I'd start by investigating just what the command 'vidalia' does.
 
Old 12-05-2012, 01:08 PM   #3
lkraemer
Member
 
Registered: Aug 2008
Posts: 111

Rep: Reputation: 10
sotitrox,
Ref the man page for the su command:

Code:
man su
NAME
su - change user ID or become superuser

SYNOPSIS
su [options] [username]

DESCRIPTION
The su command is used to become another user during a login session.
Invoked without a username, su defaults to becoming the superuser. The
optional argument - may be used to provide an environment similar to
what the user would expect had the user logged in directly.

Additional arguments may be provided after the username, in which case
they are supplied to the user's login shell. In particular, an argument
of -c will cause the next argument to be treated as a command by most
command interpreters. The command will be executed by the shell
specified in /etc/passwd for the target user.


Did your command "vidalia" finish? Were there errors? Maybe if you do the following command, as root, you can see
more error information in detail:
Code:
dmesg |tail

Can't you do a CNTL ALT F1 and get to a Terminal, and login to use the commands like: user, who, finger, and others to
see who is logged in etc..? CNTL ALT F7 will take you back to your GUI.

What is the URL of the guide, blog, or tutorial you were following?

Thanks.

LK

Last edited by lkraemer; 12-05-2012 at 01:11 PM.
 
Old 12-05-2012, 03:08 PM   #4
sotitrox
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
vidalia messages

Quote:
dic 05 18:00:41.048 [Aviso] Tor v0.2.2.37 (git-fce6eb1c44e87bc2). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
dic 05 18:00:41.048 [Aviso] Initialized libevent version 2.0.10-stable using method epoll. Good.
dic 05 18:00:41.048 [Aviso] Opening Socks listener on 127.0.0.1:9050
dic 05 18:00:41.048 [Aviso] Opening Control listener on 127.0.0.1:9051
dic 05 18:00:41.048 [Aviso] Parsing GEOIP file /usr/share/tor/geoip.
dic 05 18:00:42.115 [Advertencia] You are running Tor as root. You don't need to, and you probably shouldn't.
dic 05 18:00:42.115 [Aviso] OpenSSL OpenSSL 1.0.1c 10 May 2012 looks like version 0.9.8m or later; I will try SSL_OP to enable renegotiation
dic 05 18:00:42.115 [Aviso] We now have enough directory information to build circuits.
dic 05 18:00:42.115 [Aviso] Bootstrapped 80%: Connecting to the Tor network.
dic 05 18:00:42.116 [Aviso] New control connection opened.
dic 05 18:00:43.081 [Aviso] Bootstrapped 85%: Finishing handshake with first hop.
dic 05 18:00:44.345 [Aviso] Bootstrapped 90%: Establishing a Tor circuit.
dic 05 18:00:50.050 [Advertencia] Please upgrade! This version of Tor (0.2.2.37) is obsolete, according to the directory authorities. Recommended versions are: 0.2.2.39,0.2.3.24-rc,0.2.3.25,0.2.4.5-alpha,0.2.4.6-alpha
dic 05 18:00:50.050 [Aviso] Our directory information is no longer up-to-date enough to build circuits: We have only 291/3074 usable descriptors.
dic 05 18:00:50.050 [Aviso] I learned some more directory information, but not enough to build a circuit: We have only 291/3074 usable descriptors.
dic 05 18:00:53.369 [Aviso] I learned some more directory information, but not enough to build a circuit: We have only 387/3074 usable descriptors.
dic 05 18:00:53.721 [Aviso] I learned some more directory information, but not enough to build a circuit: We have only 483/3074 usable descriptors.
dic 05 18:00:53.928 [Aviso] I learned some more directory information, but not enough to build a circuit: We have only 579/3074 usable descriptors.
dic 05 18:00:53.978 [Aviso] I learned some more directory information, but not enough to build a circuit: We have only 675/3074 usable descriptors.
dic 05 18:00:54.187 [Aviso] I learned some more directory information, but not enough to build a circuit: We have only 214/836 usable exit node descriptors.
dic 05 18:00:54.351 [Aviso] I learned some more directory information, but not enough to build a circuit: We have only 238/836 usable exit node descriptors.
dic 05 18:00:54.351 [Aviso] I learned some more directory information, but not enough to build a circuit: We have only 259/836 usable exit node descriptors.
dic 05 18:00:54.653 [Aviso] We now have enough directory information to build circuits.
dic 05 18:00:57.184 [Aviso] Tor has successfully opened a circuit. Looks like client functionality is working.
dic 05 18:00:57.184 [Aviso] Bootstrapped 100%: Done.
the problem is (I think) the file permissions, i don't know how to use tor, and when finish the install, I run vidalia, but I can't, because not permission to do that, and I run vidalia with super user privilegies, and ta-da, the normal user can't login or run anything, only the root can.

this is the web where I manually edited in my pc, http://slackbuilds.org/repository/14.0/network/tor/

Quote:
his script requires a 'tor' user/group to exist before running.
The recommended UID/GID is 220. You can create these like so:
groupadd -g 220 tor
useradd -u 220 -g 220 -c "The Onion Router" -d /dev/null -s /bin/false tor
I do that, and then install vidalia, the interface of tor.

Last edited by sotitrox; 12-05-2012 at 03:13 PM.
 
Old 12-05-2012, 03:27 PM   #5
sotitrox
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I solved, but i don't know if will be have another problem for that, but I login normally and i can run anything normally.

It was a permission problem, I found the answer in google https://bbs.archlinux.org/viewtopic....16939#p1116939.

only run:

Quote:
chmod 755 /usr/bin
solved my problem, , and never, never!!!! run vidalia as a root user
 
  


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
Run a command at login corbinc Linux - Newbie 14 01-03-2012 02:04 AM
[SOLVED] run command/program after failed login attempts xwjitftu Linux - Security 7 08-26-2011 06:23 PM
Auto run and only run a program after login? narke Slackware 2 05-27-2011 12:51 PM
[SOLVED] Getting a command to run on ssh/cli login ONLY Vanyel Linux - Software 4 03-03-2008 09:38 AM
run command at boot/login? apberzerk Linux - General 1 09-22-2003 10:25 PM


All times are GMT -5. The time now is 06:26 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