[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-desktop
Subject:    Re: [gentoo-desktop] Firestarter doesn't start
From:       Wilbert Berendsen <wilbert () oswf ! org>
Date:       2002-10-22 6:58:56
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 22 October 2002 08:13, Fabian Vilers wrote:
> Hello to all,
>
> I've merged firestarter, looks like a great gui for managing iptables.
>
> I'm logged in X with a simple right user. I open an xterm and type in
> firestarter. i type it with the '&' because i wanna see if there are erros
> msgs.
>
> Firestater tell me that i can't read his preferences, ok, and that i'm not
> root so i can't use firestarter. ok. first question, why there is no dialog
> box to ask for the password?
>
> Second solution, still in my xterm, i'm suing to root, no problem i'm in
> the wheel group. re-type in firestater. boum, error. cannot open display.
>
> do u have such a problem? what can i do to resolv it?
>
> thanks in advance!

When you run an X session as, say 'joe', other local users (even root) can't 
just connect to your session, you have to give explicitly permission.

Eg. by running the command:

	xhost +localhost

(as the simple user) you enable other users at localhost to connect to your X 
session. This is normally sufficient. Now you should be able to su to root 
and do your job. Be sure the DISPLAY environment variable is set to the same 
value as in the user's X session. After the root job run

	xhost  -

to disable again others connecting to your X server from localhost.

When you use KDE, you can also use Alt+F2 (Run Command), Options-> run as 
other user (fill in root) and enter as a command:

	konsole -e /path/to/firestarter

Then KDE handles the display permission stuff.

Success,
Wilbert

- -- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
To understand recursion, one must first understand recursion.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tPc3x+vk367Vl7wRAvMsAJ9jHkBRKYjTZKTVSDaIVHj7+ecuHgCgyXS9
s7gVY8wWL0ZcfB30nrkZmGw=
=AXQl
-----END PGP SIGNATURE-----


_______________________________________________
gentoo-desktop mailing list
gentoo-desktop@gentoo.org
http://lists.gentoo.org/mailman/listinfo/gentoo-desktop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic