Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Issues with FirewallD and Discover

  1. #11
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Issues with FirewallD and Discover

    (Sorry forgot how to out the output in a code box)
    See my Sig below "Code Tags"
    I would like to see this also please:
    Code:
    cat /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  2. #12
    Join Date
    Dec 2018
    Beans
    18

    Re: Issues with FirewallD and Discover

    Code:
    [Desktop Entry]
    Name=PolicyKit Authentication Agent
    Comment=PolicyKit Authentication Agent
    Exec=/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
    Terminal=false
    Type=Application
    Categories=
    NoDisplay=true
    OnlyShowIn=XFCE;Unity;X-Cinnamon;
    X-GNOME-AutoRestart=true
    AutostartCondition=GNOME3 unless-session gnome
    X-Ubuntu-Gettext-Domain=polkit-gnome-1

  3. #13
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Issues with FirewallD and Discover

    Thanks and that looks ok for a normal set-up but you have a custom user-setup.
    So try this for me please:
    Code:
    sudoedit /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
    Now in the line:"AutostartCondition=GNOME3 unless-session gnome" put a comment in front of that so it looks exactly like:
    Code:
    #AutostartCondition=GNOME3 unless-session gnome
    Save it and close, And I'm not sure but a log-out and log-in should set it... if not try a reboot.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  4. #14
    Join Date
    Dec 2018
    Beans
    18

    Re: Issues with FirewallD and Discover

    Attempted your advice, still have the same issue.

  5. #15
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Issues with FirewallD and Discover

    Just to be sure did you also reboot?
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  6. #16
    Join Date
    Dec 2018
    Beans
    18

    Re: Issues with FirewallD and Discover

    I did I think it's something to do with XFCE' session getting root access when needed.

  7. #17
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Issues with FirewallD and Discover

    I'm still unclear as to how to advise here, and it looks as gnome is a red-headed step child here.

    In a gnome session see if you can run:
    Code:
    sudo -l -U yourusername
    where "yourusername" is the name used to login with.
    If that is un-sucessful try this:
    Code:
    groups
    This could take a bit to figure out so hang in here please.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  8. #18
    Join Date
    Dec 2018
    Beans
    18

    Re: Issues with FirewallD and Discover

    this is what I got
    Code:
    Matching Defaults entries for cardin on cardin-pc:
        env_reset, mail_badpass,
        secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
    
    User cardin may run the following commands on cardin-pc:
        (ALL : ALL) ALL
        (ALL) ALL

  9. #19
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Issues with FirewallD and Discover

    This problem is seemly caused by sudo looking for directives in a place it cannot find them:
    We may be narrowing in on the problem hopefully, may I see this also:
    Code:
    cat /etc/nsswitch.conf
    so you should have a /etc/nsswitch file entry like the following:
    Code:
    sudoers:        files
    I have to work all day today but should be around tomorrow. (Just a heads-up)
    EDIT: Also show me this please:
    Code:
    which firewalld
    which discover
    Last edited by 1fallen; 1 Week Ago at 03:56 PM.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  10. #20
    Join Date
    Dec 2018
    Beans
    18

    Re: Issues with FirewallD and Discover

    For Nsswitch
    Code:
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.
    
    
    passwd:         files systemd
    group:          files systemd
    shadow:         files
    gshadow:        files
    
    
    hosts:          files mdns4_minimal [NOTFOUND=return] dns
    networks:       files
    
    
    protocols:      db files
    services:       db files
    ethers:         db files
    rpc:            db files
    
    
    netgroup:       nis
    firewalld:
    Code:
    /usr/sbin/firewalld
    discover: n/a

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

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
  •