Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4013180
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:20:21+00:00 2026-05-20T09:20:21+00:00

hello I am using ubuntu on android(with chroot) I am trying to execute xev

  • 0

hello
I am using ubuntu on android(with chroot)
I am trying to execute xev
(to change the volume button to CTRL)
but every time I trying to open up xev,
it says
unable to open the display ”
or
unable to open the display ‘127.0.0.1:0.0’
(when I change DISPLAY variable with export)

could somebody tell me how to solve this problem?
I can’t find official error page on google
your little advice would be very helpful for me
Regards.
Taeyun.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:20:22+00:00Added an answer on May 20, 2026 at 9:20 am

    DISPLAY=127.0.0.1:0.0 says to use TCP/IP to connect to the display 0.0. Distributions haven’t configured X servers to listen on TCP for five years or more because it is a needless security risk; you need to remove -nolisten from however you execute your X, if you really wish to use TCP rather than Unix domain sockets.

    But do you really need it to listen on TCP for connections? Seems unlikely — Unix domain sockets (e.g., /tmp/.X11-unix/X0) are much more common, just use DISPLAY=:0.0 to ask for the Unix domain socket instead. You may need to link the socket into your chroot environment, depends on where client and server start from.

    Once you can contact the X server from your X client, you also need to authenticate it, using xauth(1). This is annoying 🙂 and is the single most popular reason why everyone just uses SSH X11 forwarding (ssh -X) rather than deal with TCP listening and xauth manually. (Incidentally, can you just run an sshd “inside” the chroot on a different port, so you can easily get all this magic for free? 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Ubuntu + cakephp 1.3. I am trying the database migration with
I'm just trying to compile the hello world example of boost.python WITHOUT using all
Would it be possible to print Hello twice using single condition ? if condition
NOTE: Using .NET 2.0, and VS2005 as IDE Hello all, I'm working on logging
I'd like to create a basic Hello World style application for the IPhone using
I have the following line: 14:48 say;0ed673079715c343281355c2a1fde843;2;laka;hello ;) I parse this by using a
We are using PowerDesigner at work for database modelling. But there is a hell
Hello I was writing a Regular Expression (first time in my life I might
I can't seem to run a simple Hello World program using eclim. I followed
I am using Ubuntu 9.04 I just installed ruby and rails in my system

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.