You signed in with another tab or window. Reload to refresh your session.You signed out in another
8000
tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i am developing a network topology with miniNExT but i noticed that
X11 forwording via xterm does not work for each node created?
I also run the start.py example you provide and xterm doesnt work
Any suggestions?
I anticipate you're currently running <host-id> xterm and likely seeing the following:
mininext> <host-id> xterm
No protocol specified
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s
However, if you run xterm <host-id>, I anticipate it will work, as this launches xterm and then executes bash inside of the host's namespace.
This appeared to work with start.py in the quagga-ixp example on my side:
mininext> xterm rs
(launched xterm inside of rs host)
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s
And executing xterm R1 yields nothing
Also executing R1 vtysh.gives access to guagga but commands are like this
sshhooww iinntteerrffaaccee
Every echo replicates itself
Let me also inform you that i am using Xming for xterm since i am working in windows!
I see -- it sounds like the additional isolation is preventing xterm from being launched.
I'll investigate this issue, but for the moment, can you instead use Putty to SSH into the VM, then use the mx utility in miniNExT/util/ to get a bash session inside of the container? This bash session should not have the double-echo problem with vtysh and other interactive applications.
I have exactly the same issue. Do you have any news on how to get xterm to work with mininext?
And I did not quite get how to prevent the double-echo problem. I am using BIRD with miniNExT and when accessing birdc to interact with BIRD, I get exactly that problem.
unfortunately i was unable to get over with it .Instead and because i wanted to use wireshark to capture packets i inserted a switch between every node link taking advantage of the fact that switches are visible from the administrative space so wireshark can "sniff" packets on their ethernet interfaces.If you want i can send you the code with the examples.
Hi alessandro
I'm afraid i don't know any other way to do this when using an external packet sniffer (Wireshark)
An alternative might be to try and install some kind of sniffer on the virtual machines created but i'm not sure how to do this if possible.
Στις 8:18 μ.μ. Δευτέρα, 6 Νοεμβρίου 2017, ο/η Alessandro Gaballo <notifications@github.com> έγραψε:
Any other way to capture traffic? I don't want to insert a switch for every link because I get some troubles—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Activity
bschlinker commentedon Nov 21, 2014
Hi there,
I anticipate you're currently running
<host-id> xtermand likely seeing the following:However, if you run
xterm <host-id>, I anticipate it will work, as this launchesxtermand then executes bash inside of the host's namespace.This appeared to work with
start.pyin the quagga-ixp example on my side:mininext> xterm rs(launched xterm inside of rs host)
bschlinker commentedon Nov 21, 2014
If this isn't what you're expecting, please give me the exact commands you're executing so that I can replicate on my side.
Ianos commentedon Nov 21, 2014
Hi let me be more specific i am using Putty to ssh the ubuntu VM(on VirtualBox) running mininext.
Executing:
mininext> R1(my configured quagga router) xterm
Yields:
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s
And executing xterm R1 yields nothing
Also executing R1 vtysh.gives access to guagga but commands are like this
sshhooww iinntteerrffaaccee
Every echo replicates itself
Let me also inform you that i am using Xming for xterm since i am working in windows!
any suggestions!
bschlinker commentedon Nov 22, 2014
I see -- it sounds like the additional isolation is preventing
xtermfrom being launched.I'll investigate this issue, but for the moment, can you instead use Putty to SSH into the VM, then use the
mxutility inminiNExT/util/to get a bash session inside of the container? This bash session should not have the double-echo problem with vtysh and other interactive applications.[-]X11 forwarding[/-][+]xterm issues with additional isolation[/+]rbirkner commentedon Mar 19, 2015
I have exactly the same issue. Do you have any news on how to get xterm to work with mininext?
And I did not quite get how to prevent the double-echo problem. I am using BIRD with miniNExT and when accessing birdc to interact with BIRD, I get exactly that problem.
Ianos commentedon Mar 19, 2015
unfortunately i was unable to get over with it .Instead and because i wanted to use wireshark to capture packets i inserted a switch between every node link taking advantage of the fact that switches are visible from the administrative space so wireshark can "sniff" packets on their ethernet interfaces.If you want i can send you the code with the examples.
alegaballo commentedon Nov 6, 2017
Any other way to capture traffic? I don't want to insert a switch for every link because I get some troubles
Ianos commentedon Nov 7, 2017