question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot open display when running with a user space switch and innamespace

See original GitHub issue

When running mininet with a userspace switch and with the --innamespace argument, X forwarding stops working!

For example, wireshark returns the following error:

** (wireshark:6096): WARNING **: Could not open X display
error: XDG_RUNTIME_DIR not set in the environment.

(wireshark:6096): Gtk-WARNING **: cannot open display: localhost:11.0

xterm return a similar error.

How to reproduce:

sudo mn --topo single,3 --mac --switch user --controller remote --innamespace

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hhimanshucommented, Mar 13, 2016
screen shot 2016-03-13 at 11 27 10 am happened with me as well, any resolutions?
0reactions
kamelkrifacommented, Oct 17, 2022

i have a problem, help please, i can’t open wireshark and miniedit with my virtual machine, i need your help please mininet@mininet-vm:~$ mininet@mininet-vm:~$ wireshark -sb mininet@mininet-vm:~$: command not found mininet@mininet-vm:~$ QXcbConnection: Could not connect to display QXcbConnection:: command not found mininet@mininet-vm:~$ Aborted Aborted: command not found

Sans titre

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix a "cannot open display" error when opening an X ...
Check the server's sshd_config (normally /etc/ssh/sshd_config ), and make sure X11Forwarding option is enabled with the line X11Forwarding yes.
Read more >
Mininet Walkthrough
Part 1: Everyday Mininet Usage · Display Startup Options · Start Wireshark · Interact with Hosts and Switches · Test connectivity between hosts...
Read more >
Cannot open display while running X Apps as another user
I am currently using X11RDP to connect to a RHEL 6.5 endpoint, as root user. All X apps work fine, and directed properly...
Read more >
Namespaces and Scope in Python
The built-in namespace contains the names of all of Python's built-in objects. These are available at all times when Python is running.
Read more >
Troubleshooting Applications | Kubernetes
If a Pod is stuck in Pending it means that it can not be scheduled onto a node. ... For example, if you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found