Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X11 error for non-root users on CentOS #180

Open
SaltedFishLZ opened this issue Sep 25, 2022 · 1 comment
Open

X11 error for non-root users on CentOS #180

SaltedFishLZ opened this issue Sep 25, 2022 · 1 comment

Comments

@SaltedFishLZ
Copy link

SaltedFishLZ commented Sep 25, 2022

Describe the bug
ESP config GUI should pop up, but the process freezes or reports the following error if I log in as espuser.
But if I switch to root, it can work.
I guess it is due to some X11 settings.

To Reproduce
Steps to reproduce the behavior:

  1. cd /home/espuser/esp/socs/xilinx-vc707-xc7vx485t
  2. make esp-xconfig

Expected behavior

    CC socgen/grlib/tkparse.o
    CC socgen/grlib/tkcond.o
    CC socgen/grlib/tkgen.o
    LINK socgen/grlib/tkparse
    BUILD socgen/grlib/main.tk
    BUILD socgen/grlib/lconfig.tk
    CHMOD socgen/grlib/lconfig.tk
    DIFF checking .grlib_config...
    INFO Using custom configuration found in ".grlib_config" for GRLIB
    RUN socgen/grlib/grlib_config.vhd
    INFO Creating grlib_config.vhd
    INFO grlib_config.vhd written

Running interactive ESP configuration...
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  25 (X_SendEvent)
  Resource id in failed request:  0xc00003
  Serial number of failed request:  22
  Current serial number in output stream:  22
make: *** [esp-xconfig] Error 1

Screenshots
image

Desktop (please complete the following information):

  • OS: CentOS 7.9 (20-09)
  • CAD tools versions: Xilinx Vivado 2019.2

Additional context
Is there any fix to run everything as a non-root user?

@TrungNgoc20172869
Copy link

Describe the bug ESP config GUI should pop up, but the process freezes or reports the following error if I log in as espuser. But if I switch to root, it can work. I guess it is due to some X11 settings.

To Reproduce Steps to reproduce the behavior:

  1. cd /home/espuser/esp/socs/xilinx-vc707-xc7vx485t
  2. make esp-xconfig

Expected behavior

    CC socgen/grlib/tkparse.o
    CC socgen/grlib/tkcond.o
    CC socgen/grlib/tkgen.o
    LINK socgen/grlib/tkparse
    BUILD socgen/grlib/main.tk
    BUILD socgen/grlib/lconfig.tk
    CHMOD socgen/grlib/lconfig.tk
    DIFF checking .grlib_config...
    INFO Using custom configuration found in ".grlib_config" for GRLIB
    RUN socgen/grlib/grlib_config.vhd
    INFO Creating grlib_config.vhd
    INFO grlib_config.vhd written

Running interactive ESP configuration...
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  25 (X_SendEvent)
  Resource id in failed request:  0xc00003
  Serial number of failed request:  22
  Current serial number in output stream:  22
make: *** [esp-xconfig] Error 1

Screenshots image

Desktop (please complete the following information):

  • OS: CentOS 7.9 (20-09)
  • CAD tools versions: Xilinx Vivado 2019.2

Additional context Is there any fix to run everything as a non-root user?

Hi @SaltedFishLZ, I am having the same issue as you but when I run sudo make esp-xconfig, it requires password for espuser. Could you tell me what the password is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants