Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: HOWTO: Install Firestarter Automatically with Fixes

  1. #1
    Join Date
    May 2005
    Location
    St.Catharines, Ontario
    Beans
    351
    Distro
    Ubuntu Development Release

    HOWTO: Install Firestarter Automatically with Fixes

    This is how to start Firestarter Automatically at login, with Fixes to the administrative problems seen with Synaptic, Updater, etc.

    This is not secure, but I have never heard of this to be a problem to anybody.

    This section is copied out of my guide located here:
    http://www.krazypenguin.net/Ubuntu_D....28Firewall.29

    I can not take full credit for this, except for simpifying the steps, editing, etc.

    Note: There was a problem with the word "DISPLAY" being displayed as "DI SPLAY".
    The problem was due to a conflicion between the format of the line and the format of this forum.
    I simply put BOLD text around the word "DISPLAY" to fix the problem.

    ************************************************

    How to install Firestarter (Firewall)

    * Read #How to use this Guide
    * Read #How to add extra repositories

    sudo apt-get install firestarter

    * Read #How to refresh GNOME panel
    * Applications -> System Tools -> Firestarter

    For more information please visit: http://www.fs-security.com/


    How to minimize Firestarter to a panel icon when closed

    * With Firestarter already opened
    * Preferences -> Check "Enable tray icon" -> Accept


    How to make Firestarter start automatically at startup

    * System -> Preferences -> Sessions -> Startup Programs -> Add

    sudo firestarter --start-hidden

    * Press "OK"


    How to have Firestarter start without the root password

    Note: This is not secure

    export EDITOR=gedit
    sudo visudo

    * navigate to the # Defaults section
    * and place a # in front of this line Defaults !lecture,tty_tickets,!fqdn
    * so it looks like this:

    #Defaults !lecture,tty_tickets,!fqdn

    * then add this line right after it:

    Defaults !lecture,tty_tickets,!fqdn,env_reset,env_keep+="DISPLAY HOME XAUTHORIZATION"

    * At the very bottom of the file add this line:

    your_user_name ALL= NOPASSWD: /usr/sbin/firestarter

    * Save the file
    * Next we must fix the problem with adminstative applets that won't open due to the changes that we made to our visudo file
    * These applets include Synaptic and the Updater, and after entering your password they no longer open
    * For the next two lines, USERNAME = your username

    sudo ln -fs /home/USERNAME/.Xauthority /root/.Xauthority
    sudo chown USERNAME.root /home/USERNAME/.Xauthority

    * Restart your computer

    ************************************************

    Hope this helps somebody!!!
    Good luck!!!
    Last edited by KrazyPenguin; June 9th, 2006 at 08:45 PM.
    Sign-up to Dropbox using the following link and get 2.25GB of storage FREE!!!
    https://www.dropbox.com/referrals/NTM2NDgxOTc5

  2. #2
    Join Date
    May 2006
    Location
    Harrisonburg, VA
    Beans
    69
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install Firestarter Automatically with Fixes

    You are the man (or woman as the case may be). This FINALLY fixed my issues with autostarting Firestarter and Synaptic not running. Thank you so much!!
    Registered Linux User 417637
    Registered Ubuntu User # 8199

  3. #3
    Join Date
    May 2005
    Location
    St.Catharines, Ontario
    Beans
    351
    Distro
    Ubuntu Development Release

    Re: HOWTO: Install Firestarter Automatically with Fixes

    Quote Originally Posted by nwgray
    You are the man (or woman as the case may be). This FINALLY fixed my issues with autostarting Firestarter and Synaptic not running. Thank you so much!!
    No problem. Like I said somewhere, I cannot take full credit except for editing, and rewording etc.

    Glad it help at least 1 person

    Good luck!!!

    The KrazyPenguin
    Sign-up to Dropbox using the following link and get 2.25GB of storage FREE!!!
    https://www.dropbox.com/referrals/NTM2NDgxOTc5

  4. #4
    Join Date
    Jan 2006
    Beans
    1,113
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Install Firestarter Automatically with Fixes

    Thanks for posting this it worked really well.

  5. #5
    Join Date
    Jun 2006
    Beans
    Hidden!
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install Firestarter Automatically with Fixes

    If im using SSH to install firestarte on remote PC what should I do to avoid to lock server, so that firewall is not blocking me to access server?

  6. #6
    Join Date
    Sep 2005
    Beans
    142
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Install Firestarter Automatically with Fixes

    Hi,

    This doen't work with me. When completed all the tasks above and restarted, the firestarter won't open. Furthermore i'll get this:

    --------------------------------------------------------------------------------------------
    $ sudo firestarter

    (firestarter:5526): Gtk-WARNING **: cannot open display:

    --------------------------------------------------------------------------------------------

    Same problem occurs when trying to start anything with "sudo":

    ---------------------------------------------------------------------------------------------
    $ sudo gedit /etc/sudoers
    cannot open display: (null)
    Run 'gedit --help' to see a full list of available command line options.

    ---------------------------------------------------------------------------------------------

    Now I am really on stuck. Please someone help me to get this solved.

    Thanks!
    User JB

  7. #7
    Join Date
    Jun 2006
    Location
    Riga, Latvia
    Beans
    3
    Distro
    Kubuntu 6.06

    Re: HOWTO: Install Firestarter Automatically with Fixes

    Nice, that work.

  8. #8
    Join Date
    Sep 2005
    Beans
    142
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: Install Firestarter Automatically with Fixes

    Hey, plz help me to solve this. See above.

    User JB

  9. #9
    Join Date
    Apr 2006
    Location
    Trondheim, Norway
    Beans
    278
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Install Firestarter Automatically with Fixes

    Code:
    sudo firestarter --start-hidden
    This doesn't make Firestarter start automatically on my box.

    Why is that?

  10. #10
    Join Date
    Apr 2006
    Location
    Zagreb, Croatia
    Beans
    2
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install Firestarter Automatically with Fixes

    Quote Originally Posted by User-007
    Hi,

    This doen't work with me. When completed all the tasks above and restarted, the firestarter won't open. Furthermore i'll get this:

    --------------------------------------------------------------------------------------------
    $ sudo firestarter

    (firestarter:5526): Gtk-WARNING **: cannot open display:

    --------------------------------------------------------------------------------------------

    Same problem occurs when trying to start anything with "sudo":


    User JB
    Hello User-007!

    I followed the instructions in this thread..and I ended with the same problems as you!
    There is one typo-mistake in the instructions:
    part of the line which should be added to visudo - "DISPLAY HOME XAUTHORIZATION"
    and not "DI SPLAY HOME XAUTHORIZATION"

    I repeated the whole procedure with this correction from the beginning and then restarted and now everything works! Firestarter and Synaptic as well!

    P.S.: you can check it at Krazy Penguins site: http://krazypenguin.net/Ubuntu_Dappe..._root_password
    as well!

    Hynek

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •