Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
don't seem to have a startx command (was: can't su)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
frankie
n00b
n00b


Joined: 08 Nov 2002
Posts: 34

PostPosted: Tue Feb 04, 2003 11:25 pm    Post subject: don't seem to have a startx command (was: can't su) Reply with quote

I just installed the new livecd and kde 3.1. I have a couple of issues.

1. I don't seem to have a startx command, however I can start kde with just kde.

2. I created a user for myself but it won't let me su into root.

If someone could just point me in the right direction, I would appreciate it.

Thanks,

Frank


EDIT: Changed title from "can't su". -- kanuslupus
_________________
Long tall Sally, she's built sweet
She got everything Uncle John needs.
Gonna have me some fun......
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Feb 04, 2003 11:43 pm    Post subject: Reply with quote

1) does /usr/X11R6/bin/startx exist?

2) Asked often and most recently in: Cannot SU (still on the 1st page even)
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
frankie
n00b
n00b


Joined: 08 Nov 2002
Posts: 34

PostPosted: Wed Feb 05, 2003 12:46 am    Post subject: Reply with quote

(':oops:')

Talk about embarrassing! Thanks for being patient.

I did do a search on 'su' but it didn't turn up anything. I didn't think about lower and upper case searching.

I do have the startx command. Once again I don't know what happened there. It has just been one of those weeks.

The 'su' (or is it 'SU') problem is solved. This happened to me once before about a year ago and I forgot about it. Is there a tool or method to manage adding a user to groups during creation?

thanks again.

Frank
_________________
Long tall Sally, she's built sweet
She got everything Uncle John needs.
Gonna have me some fun......
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Feb 05, 2003 2:33 am    Post subject: Reply with quote

frankie wrote:
I did do a search on 'su' but it didn't turn up anything.
I link to an answer for this in that thread too. Short answer, search only works on words with 4 or more letters.

Quote:
I do have the startx command. ... It has just been one of those weeks.
If it weren't for weeks like that, good ones wouldn't be as nice :D

As for startx, if it still isn't working, it is most likely a path issue. See if this helps:
Code:
source /etc/profile && env-update
(source /etc/profile &&) may be unecessary. If that doesn't work, logging out/in should do it.

Quote:
Is there a tool or method to manage adding a user to groups during creation?
There's something called superadduser (or similar). Also see the SA: System Administration section of the FAQ Forum.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Wed Feb 05, 2003 4:23 am    Post subject: Reply with quote

kanuslupus wrote:
Code:
source /etc/profile && env-update

Err... Shouldn't it be the other way around?
Code:
env-update && source /etc/profile

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Feb 05, 2003 4:47 am    Post subject: Reply with quote

Yes it should, thanks.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
gravis
Apprentice
Apprentice


Joined: 18 Apr 2002
Posts: 176
Location: Compiègne, France

PostPosted: Wed Feb 05, 2003 5:19 am    Post subject: PAM Reply with quote

in /etc/pam.d/su :

Code:

# Comment this to allow any user, even those not in the 'wheel'
# group to su
#auth       required     /lib/security/pam_wheel.so use_uid



you just have to comment this line
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum