Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Specifically I am trying to launch firestarter as a non-root user on Gentoo. The non-root user that is invoking firestarter is allowed do so w/o password thanks to a line in the sudoers file.
The problem is with the process running in root connecting to the display:
$ sudo firestarter
(firestarter:31698): Gtk-WARNING **: cannot open display:
Perhaps try specifying which display to open firestarter on; for example:
$ sudo firestarter 0:1
$ sudo firestarter :0.1
$ sudo firestarter :0.0
or something like this, I can't quite remember the syntax, and your display number *may* vary, but it works in other similar situations, to get the application to open on one specific display. I don't know enough about the whole thing to guess why it works with the other commands, except that I think X runs as root, so unless you either ARE root, or specify root's display with enough priveleges, it will default to using another display. .
Last edited by GrapefruiTgirl; 03-31-2007 at 08:30 AM.
The non-root user that is invoking firestarter is allowed do so w/o password thanks to a line in the sudoers file.
Off topic - but what is the line that allows you to do this? I tried messing with visudo to allow myself to use wlanassistant without using the PW, but enentually gave up, I'd like to know the solution! Thanks.
Off topic - but what is the line that allows you to do this? I tried messing with visudo to allow myself to use wlanassistant without using the PW, but enentually gave up, I'd like to know the solution! Thanks.
Perhaps try specifying which display to open firestarter on; for example:
$ sudo firestarter 0:1
$ sudo firestarter :0.1
$ sudo firestarter :0.0
or something like this, I can't quite remember the syntax, and your display number *may* vary, but it works in other similar situations, to get the application to open on one specific display. I don't know enough about the whole thing to guess why it works with the other commands, except that I think X runs as root, so unless you either ARE root, or specify root's display with enough priveleges, it will default to using another display. .
Thanks but they didnt work. It may well be on the right track, but its a very difficult google query to construct ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.