8000 xterm issues with additional isolation · Issue #1 · USC-NSL/miniNExT · GitHub
[go: up one dir, main page]

Skip to content

xterm issues with additional isolation #1

Open

Description

@Ianos

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?

Activity

  1. bschlinker commented on Nov 21, 2014

    @bschlinker
    Member

    Hi there,

    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)

  2. bschlinker commented on Nov 21, 2014

    @bschlinker
    Member

    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.

  3. Ianos commented on Nov 21, 2014

    @Ianos
    Author

    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!

  4. bschlinker commented on Nov 22, 2014

    @bschlinker
    Member

    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.

  5. changed the title [-]X11 forwarding[/-] [+]xterm issues with additional isolation[/+] on Nov 22, 2014
  6. self-assigned this
    on Nov 22, 2014
  7. rbirkner commented on Mar 19, 2015

    @rbirkner

    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.

  8. Ianos commented on Mar 19, 2015

    @Ianos
    Author

    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.

  9. alegaballo commented on Nov 6, 2017

    @alegaballo

    Any other way to capture traffic? I don't want to insert a switch for every link because I get some troubles

  10. Ianos commented on Nov 7, 2017

    @Ianos
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0