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

Xephyr unable to use SHM XImages Help wanted 😞 ! #17

Open
Saikatsaha1996 opened this issue Jul 17, 2022 · 18 comments
Open

Xephyr unable to use SHM XImages Help wanted 😞 ! #17

Saikatsaha1996 opened this issue Jul 17, 2022 · 18 comments

Comments

@Saikatsaha1996
Copy link

Nice project appreciate your work..
But my display is black in xserver..
Any solution please?..

Screenshot_2022-07-18-01-01-17-846_com termux
Screenshot_2022-07-18-00-57-19-914_x org server

@Saikatsaha1996
Copy link
Author

@WheezyE can you give solution for black screen?

@Saikatsaha1996 Saikatsaha1996 changed the title Help wanted 😞 ! Xephyr unable to use SHM XImages Help wanted 😞 ! Jul 18, 2022
@nakele
Copy link

nakele commented Jul 18, 2022

@WheezyE can you give solution for black screen?

What's happening is that you launched anbox and that's it, you didnt open any exe file, it's in the text in the image you pasted under the text "Launching programs", you need to launch an exe file for it to function.

What are you expecting to happen?

@Saikatsaha1996
Copy link
Author

Saikatsaha1996 commented Jul 18, 2022

@WheezyE can you give solution for black screen?

What's happening is that you launched anbox and that's it, you didnt open any exe file, it's in the text in the image you pasted under the text "Launching programs", you need to launch an exe file for it to function.

What are you expecting to happen?

Okay will trying..
I thought it's fast open any desktop environment..

I will try and then i give you result thank you

@Saikatsaha1996
Copy link
Author

@WheezyE can you give solution for black screen?

What's happening is that you launched anbox and that's it, you didnt open any exe file, it's in the text in the image you pasted under the text "Launching programs", you need to launch an exe file for it to function.

What are you expecting to happen?

No my fast problem when i run launch_anbox86-64.sh my SDL display fully black.. so how can I run..

My error is

Xephyr unable to use SHM XImages

That's why my screen is black.. thank you

@nakele
Copy link

nakele commented Jul 18, 2022

@WheezyE can you give solution for black screen?

What's happening is that you launched anbox and that's it, you didnt open any exe file, it's in the text in the image you pasted under the text "Launching programs", you need to launch an exe file for it to function.
What are you expecting to happen?

No my fast problem when i run launch_anbox86-64.sh my SDL display fully black.. so how can I run..

My error is

Xephyr unable to use SHM XImages

That's why my screen is black.. thank you

Your screen is black because Xephyr is running, if Xephyr failed your screen would be blue with white text.

Try
wine explorer
or download notepad from here: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.4.4/npp.8.4.4.portable.zip, unzip it and open it with
wine path/to/notepad.exe

@nakele
Copy link

nakele commented Jul 18, 2022

@WheezyE can you give solution for black screen?

What's happening is that you launched anbox and that's it, you didnt open any exe file, it's in the text in the image you pasted under the text "Launching programs", you need to launch an exe file for it to function.
What are you expecting to happen?

Okay will trying.. I thought it's fast open any desktop environment..

I will try and then i give you result thank you

You can modify anbox to run a desktop environment but that's not what it was designed to do.

@Saikatsaha1996
Copy link
Author

@WheezyE can you give solution for black screen?

What's happening is that you launched anbox and that's it, you didnt open any exe file, it's in the text in the image you pasted under the text "Launching programs", you need to launch an exe file for it to function.
What are you expecting to happen?

Okay will trying.. I thought it's fast open any desktop environment..
I will try and then i give you result thank you

You can modify anbox to run a desktop environment but that's not what it was designed to do.

Welcome to AnBox86_64!

PRoot runs within Termux and allows us to use box86/box64 & wine:
 * We are currently inside a PRoot (in a user account, within a Debian PRoot, within Termux, on Android)
 * If you exit this PRoot and go back to Termux, you can use launch_anbox86-64.sh to start this PRoot again.

Running programs:
 * Launch x64 programs: wine64 YourWindowsProgram.exe or box64 YourLinuxProgram.
 * Launch x86 programs: wine YourWindowsProgram.exe or box86 YourLinuxProgram.
 * Launch winetricks: BOX86_NOBANNER=1 winetricks or BOX64_NOBANNER=1 winetricks
    (winetricks is currently a bit broken in AnBox86_64)
 * After PRoot launches a program, use the XServer XSDL Android app to view & control it.
    (should launch automatically)

Report issues at https://github.com/lowspecman420/AnBox86

user@localhost:~$ wine explorer
/usr/local/bin/wine: line 14: box86: command not found
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
user@localhost:~$ (EE)
Fatal server error:
(EE) Server is already active for display 1
        If this server is no longer running, remove /tmp/.X1-lock
        and start again.
(EE)
user@localhost:~$
Xephyr unable to use SHM XImages
user@localhost:~$ wine explorer
/usr/local/bin/wine: line 14: box86: command not found
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
user@localhost:~$ (EE)
Fatal server error:
(EE) Server is already active for display 1
        If this server is no longer running, remove /tmp/.X1-lock
        and start again.
(EE)
user@localhost:~$ rm -rf /tmp/.X1-lock
user@localhost:~$ wine explorer
/usr/local/bin/wine: line 14: box86: command not found
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
user@localhost:~$
Xephyr unable to use SHM XImages
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
user@localhost:~$ wine explorer
/usr/local/bin/wine: line 14: box86: command not found
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
[1]+  Exit 1                  sudo Xephyr :1 -noreset -fullscreen
user@localhost:~$ sudo Xephyr :1 -noreset -fullscreen
(EE)
Fatal server error:
(EE) Server is already active for display 1
        If this server is no longer running, remove /tmp/.X1-lock
        and start again.
(EE)
user@localhost:~$ wine explorer
/usr/local/bin/wine: line 14: box86: command not found
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
user@localhost:~$ (EE)
Fatal server error:
(EE) Server is already active for display 1
        If this server is no longer running, remove /tmp/.X1-lock
        and start again.
(EE)
user@localhost:~$
Xephyr unable to use SHM XImages
user@localhost:~$ export DISPLAY=:0
user@localhost:~$ rm -rf /tmp/.X1-lock
user@localhost:~$ export DISPLAY=:0
user@localhost:~$ wine explorer
/usr/local/bin/wine: line 14: box86: command not found
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
/usr/local/bin/wine: /data/data/com.termux/files/usr/bin/am: /data/data/com.termux/files/usr/bin/sh: bad interpreter: No such file or directory
user@localhost:~$
Xephyr unable to use SHM XImages
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
user@localhost:~$

@Saikatsaha1996
Copy link
Author

Xserver display
Screenshot_2022-07-18-20-25-00-773_x org server

@nakele
Copy link

nakele commented Jul 18, 2022

Xserver display Screenshot_2022-07-18-20-25-00-773_x org server

can you try:
DISPLAY=:1 /usr/local/bin/box64 /home/user/wine/bin/wine64 /home/user/npp64/notepad++.exe
or
cd EarthSiegeDemo
DISPLAY=:1 WINEPREFIX=~/.wine32/ /usr/local/bin/box86 /home/user/wine/bin/wine ES.EXE

@Saikatsaha1996
Copy link
Author

Screenshot_2022-07-18-20-49-06-625_com termux

@nakele
Copy link

nakele commented Jul 18, 2022

Screenshot_2022-07-18-20-49-06-625_com termux

Right, so here's the problem:
The script couldn't get box86 and box64. You will need to compile them yourself until anbox is updated to fetch the correct files.

The script couldn't do this part basically
Screenshot 2022-07-18 at 16 23 27
:

@Saikatsaha1996
Copy link
Author

Screenshot_2022-07-18-20-49-06-625_com termux

Right, so here's the problem: The script couldn't get box86 and box64. You will need to compile them yourself until anbox is updated to fetch the correct files.

The script couldn't do this part basically Screenshot 2022-07-18 at 16 23 27 :

Okay understand.. i will build personally..

Thank you for your support..

@nakele
Copy link

nakele commented Jul 18, 2022

Screenshot_2022-07-18-20-49-06-625_com termux

Right, so here's the problem: The script couldn't get box86 and box64. You will need to compile them yourself until anbox is updated to fetch the correct files.
The script couldn't do this part basically Screenshot 2022-07-18 at 16 23 27 :

Okay understand.. i will build personally..

Thank you for your support..

Line 71 of this file has instructions for compiling: https://github.com/lowspecman420/AnBox86/blob/main/AnBox86_64.sh

You could copy line by line without the first # and try like that.

Do one line at the time to make sure you dont get some errors...

@Saikatsaha1996
Copy link
Author

Screenshot_2022-07-18-20-49-06-625_com termux

Right, so here's the problem: The script couldn't get box86 and box64. You will need to compile them yourself until anbox is updated to fetch the correct files.
The script couldn't do this part basically Screenshot 2022-07-18 at 16 23 27 :

Okay understand.. i will build personally..
Thank you for your support..

Line 71 of this file has instructions for compiling: https://github.com/lowspecman420/AnBox86/blob/main/AnBox86_64.sh

You could copy line by line without the first # and try like that.

Thank you.. i am trying to build myself..
But good project 🙂..

@Saikatsaha1996
Copy link
Author

Screenshot_2022-07-18-20-49-06-625_com termux

Right, so here's the problem: The script couldn't get box86 and box64. You will need to compile them yourself until anbox is updated to fetch the correct files.
The script couldn't do this part basically Screenshot 2022-07-18 at 16 23 27 :

Okay understand.. i will build personally..
Thank you for your support..

Line 71 of this file has instructions for compiling: https://github.com/lowspecman420/AnBox86/blob/main/AnBox86_64.sh

You could copy line by line without the first # and try like that.

Do one line at the time to make sure you dont get some errors...

Build successfully but don't know kernel32.dll missing..

Not working in device..
Screenshot_2022-07-19-06-51-08-532_x org server

@WheezyE
Copy link
Contributor

WheezyE commented Jul 19, 2022

Thank you all for the support.
The nightly links might be dead. I’ll see if I can find some newer/better links that won’t expire. I haven’t looked at this yet, but my current guess is that maybe one of the wine packages didn’t download/install and some dll’s might be missing?

@Saikatsaha1996
Copy link
Author

Thank you all for the support. The nightly links might be dead. I’ll see if I can find some newer/better links that won’t expire. I haven’t looked at this yet, but my current guess is that maybe one of the wine packages didn’t download/install and some dll’s might be missing?

I downloaded from here*.Deb and installed it..
https://github.com/fengxue-jrql/box86-and-box64-for-arm64 error - kernel32.dll problem.. mey be missing some depends..

I own build box86 && box64 done && installed..
But same problem wine comments not found..

And with anbox most common problem was ..

Xephyr unable to use SHM XImages

@Saikatsaha1996
Copy link
Author

Thank you all for the support. The nightly links might be dead. I’ll see if I can find some newer/better links that won’t expire. I haven’t looked at this yet, but my current guess is that maybe one of the wine packages didn’t download/install and some dll’s might be missing?

Can you share all winehq-devel 7.13 (32 && 64) bit Deb links..
Actually i can't build it personally because too many Deb PKG available in winehq..

Which .deb packages i should download..

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

3 participants