Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bash: xhost: command not found...
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
beissemj
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2005
Posts: 100
Location: Orlando, FL

PostPosted: Mon Jan 10, 2005 8:23 pm    Post subject: bash: xhost: command not found... Reply with quote

Ok, I have a strange problem and Mr. google doesn't seem to be able to help...

I'm using fluxbox and firefox. Now i was going to update mozilla via their "automatic update" (which btw i figured wasn't a good idea after i thought about it for a bit, should probably emerge it). Now if I'm logged in as a user and try to auto-update it will give me a read only error b/c I'm not root. So I tried to xhost +localhost so I could start firefox and update it...

Problem:
bash: xhost: command not found

Ideas? Someone mentioned that the $PATH might be wrong but I'm not sure what it should point to or how to change it if it is wrong...

-Matt
Back to top
View user's profile Send private message
beissemj
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2005
Posts: 100
Location: Orlando, FL

PostPosted: Mon Jan 10, 2005 8:59 pm    Post subject: Reply with quote

N/m I updated my portage and emerged --update world and that for some odd reason seemed to solve the problem...

-Matt
Back to top
View user's profile Send private message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Mon Jan 17, 2005 6:55 pm    Post subject: Reply with quote

Waw, some problem for me.

I tried today after su type xhost, but too I get
Code:
bash: xhost: command not found

Next I tried:
Code:

bash-2.05b# which xhost
which: no xhost in (/sbin:/bin:/usr/sbin:/usr/bin)

bash-2.05b# ls /usr/X11R6/bin | grep xhost
xhost

So something is wrong with my ROOTPATH?
For normal user xhost is normally found.
I remember, that yestarday I have similar problem. I take a script in /usr/local/bin, but it was also not in my path.

Anybody should explain, please? What I have to do? :?:
Back to top
View user's profile Send private message
nix_newb
n00b
n00b


Joined: 01 Apr 2004
Posts: 72

PostPosted: Mon Jan 17, 2005 7:45 pm    Post subject: Reply with quote

radfoj:
Try
Code:
 su -
instead of su. Or just
Code:
source /etc/profile
if you have already run su.

Also, you probably could have done the xhost command as a normal user before you su...
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