Can not open Display (GUI apps) error inside the Enroot container

Open
#163 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
shell, ubuntu

Research direction

Start by reproducing the reported enroot start -r Test and xeyes sequence with the Ubuntu container, then compare it with enroot start Test and the working host terminal. Investigate the reported X11 authorization and localhost:50.0 display error; the issue is resolved when GUI applications launch successfully inside the container.

Written by the indexing model from the issue text.

Description

Hi Team,

I cannot launch any GUI (Graphical User Interface) application from the Enroot container. But I can launch any GUI application outside Enroot container (i.e., regular Terminal of HPC cluster), and it works fine.

I am using an Ubuntu container (ubuntu.sqsh) and installing GUI packages like xeyes, xterm, etc., from the root(apt-get install x11-apps).

The commands are available to use, but whenever I try to launch xeyes, it shows:

MoTTY X11 proxy: Unsupported authorisation protocol
Error: Can't open display: localhost:50.0

Can you guys please help me to resolve the above issue?

Steps that I have followed:

  1. enroot create -n Test ubuntu.sqsh

  2. enroot start -r Test

apt-get update && apt-get upgrade
apt-get install x11-apps

  1. enroot start Test

$ xeyes
MoTTY X11 proxy: Unsupported authorisation protocol
Error: Can't open display: localhost:50.0

Dominant language
Shell
Stars
1.1k
Forks
139
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/enroot

All issues in NVIDIA/enroot

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.