View previous topic :: View next topic |
Author |
Message |
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Thu May 23, 2002 2:53 am Post subject: my only 2 problems left |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Thu May 23, 2002 2:59 am Post subject: |
|
|
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 |
|
|
MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Thu May 23, 2002 6:48 am Post subject: Further X fixing |
|
|
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 |
|
|
DNH n00b
Joined: 16 Apr 2002 Posts: 60 Location: Ann Arbor, MI
|
Posted: Thu May 23, 2002 2:21 pm Post subject: |
|
|
I put in my .xsession file. It gets run everytime I log in. _________________ The answer |
|
Back to top |
|
|
|