Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
my only 2 problems left
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Thu May 23, 2002 2:53 am    Post subject: my only 2 problems left Reply with quote

Well after 1 week with gentoo i got everything running smooth and nice exept 2 things i cant seem to figure out. I ve searched read manuals, how too's etc, i guess i must be overlooking something.
Problem 1:
I amtrying to set up a firewall but doing a modprobe ip_tables gives me "unresolved symbol nf_unregister_sockopt" and "....register_sockopt"
".... insmod ....ip_tables.o failed"

Problem 2:
When trying to start app. from within konsole as root i get:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Gtk-WARNING **: cannot open display: :0.0

Any help appreciated
_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu May 23, 2002 2:59 am    Post subject: Reply with quote

Problem 2: I'm assuming you are logged in as a normal user, then su to root? If so, before you su -, try
Code:
xhost +localhost
su -
export DISPLAY=:0.0
Then you should be able to run x apps from a term as root.
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Thu May 23, 2002 6:48 am    Post subject: Further X fixing Reply with quote

I've been doing this by hand (setting the X up so root can launch in my user's x-space) for ages.
Where would I put the commands to do it automatically?

Thanks!


~Mac~
Back to top
View user's profile Send private message
DNH
n00b
n00b


Joined: 16 Apr 2002
Posts: 60
Location: Ann Arbor, MI

PostPosted: Thu May 23, 2002 2:21 pm    Post subject: Reply with quote

I put
Code:
xhost +localhost
in my .xsession file. It gets run everytime I log in.
_________________
The answer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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