You are not logged in.

#1 2012-09-27 20:45:49

nijani
Member
From: MA USA
Registered: 2012-09-27
Posts: 15

[SOLVED] Trouble Running Ksniffer as root

so i installed ksniffer on my kde desktop... if i run ksniffer it runs fine however when i run sudo ksniffer i get this message and it crashes.

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
No protocol specified
kded: cannot connect to X server :0
DCOP aborting call from 'anonymous-3509' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
No protocol specified
ksniffer: cannot connect to X server :0
DCOP aborting call from 'anonymous-3500' to 'ksniffer'
ksniffer: ERROR: Communication problem with ksniffer, it probably crashed

not sure how to fix it and have been googleing it all day with no luck i assume its a simple fix but dont know how to

Last edited by nijani (2012-09-27 21:58:25)


you cant fix something till its broken... so hurry up and break it.

Offline

#2 2012-09-27 21:24:27

sim4lin
Member
Registered: 2008-03-09
Posts: 32

Re: [SOLVED] Trouble Running Ksniffer as root

How about "kdesu ksniffer" ?

Last edited by sim4lin (2012-09-27 21:24:57)


ASRock N68C-GS FX motherboard
AMD X2 240 @ 2.8G
Nvidia 9500GT @ 1G
Kingston 800Mhz DDR2 @ 4G

Offline

#3 2012-09-27 21:33:17

nijani
Member
From: MA USA
Registered: 2012-09-27
Posts: 15

Re: [SOLVED] Trouble Running Ksniffer as root

well that worked for it to get started... thank you. i still cant seem to get packets from wlan0 but let me make sure its the same problem before i decide its working


you cant fix something till its broken... so hurry up and break it.

Offline

#4 2012-09-27 21:35:57

nijani
Member
From: MA USA
Registered: 2012-09-27
Posts: 15

Re: [SOLVED] Trouble Running Ksniffer as root

it seems to not want to capture packets... that is the same error i would get if i tried to run it as normal user... not sure why its not captureing packets


you cant fix something till its broken... so hurry up and break it.

Offline

#5 2012-09-27 21:46:36

nijani
Member
From: MA USA
Registered: 2012-09-27
Posts: 15

Re: [SOLVED] Trouble Running Ksniffer as root

is it possible to install gtk+ on a kde desktop environment and just use wireshark?


you cant fix something till its broken... so hurry up and break it.

Offline

#6 2012-09-27 21:58:03

nijani
Member
From: MA USA
Registered: 2012-09-27
Posts: 15

Re: [SOLVED] Trouble Running Ksniffer as root

eh im gonna mark this as solved i just used wireshark after installing gtk


you cant fix something till its broken... so hurry up and break it.

Offline

#7 2012-09-27 21:59:48

nijani
Member
From: MA USA
Registered: 2012-09-27
Posts: 15

Re: [SOLVED] Trouble Running Ksniffer as root

further more the same solution worked for etherape to anyone else who may be curious


you cant fix something till its broken... so hurry up and break it.

Offline

Board footer

Powered by FluxBB