Results 1 to 3 of 3

Thread: [Wireshark] non-root user got Qt authentication rejected.

  1. #1

    Unhappy [Wireshark] non-root user got Qt authentication rejected.

    The common problems when running Wireshark as root.

    Code:
    Lua: Error during loading:
     [string "/usr/share/wireshark/init.lua"]:44: dofile has been disabled due to running Wireshark as superuser. See https://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged user.
    I tried xhost +
    Change value in /usr/share/wireshark/init.lua
    But nothing helps.

    So I created a new user, not even in sudo group.
    And once again, I got error.

    Code:
    Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
    libGL error: failed to open drm device: Permission denied
    libGL error: failed to load driver: i965
    Anyway, thanks for reading.

  2. #2
    Join Date
    2016-Apr
    Posts
    2
    open Terminal and
    execute these commands


    sed -i "39s/.*/if running_user then/" /usr/share/wireshark/init.lua
    groupadd wireshark
    adduser root wireshark

    Now Try Open and Tell Me if it worked .

  3. #3
    Join Date
    2016-Aug
    Posts
    1

    It Worked!!! Thanks

    I had the same issue with Wireshark, running "live" Kali 2016-2.0. How would I permanently fix this on live usb version? Would I type this every time prior to wireshark startup?

    Thanks, great info!

    Quote Originally Posted by LyJoker View Post
    open Terminal and
    execute these commands


    sed -i "39s/.*/if running_user then/" /usr/share/wireshark/init.lua
    groupadd wireshark
    adduser root wireshark

    Now Try Open and Tell Me if it worked .

Similar Threads

  1. Kali on AWS Logged in as EC2-User Doesn't Allow Me to Run WireShark
    By toomuchtoolearn in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-05-24, 20:17
  2. No kali user. Fresh install. root user not toor
    By iamburticus in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2020-02-08, 07:40
  3. create new user (user) as copy from existing user (root)
    By D0NKbet in forum General Archive
    Replies: 2
    Last Post: 2013-11-21, 07:24

Tags for this Thread

Posting Permissions

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