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

"cannot connect to X server" on ubuntu 16.04 #21

Open
SanjayGhanagiri opened this issue Feb 17, 2023 · 2 comments
Open

"cannot connect to X server" on ubuntu 16.04 #21

SanjayGhanagiri opened this issue Feb 17, 2023 · 2 comments

Comments

@SanjayGhanagiri
Copy link

Issue :

"cannot connect to X server" on ubuntu 16.04

Summary:

Running default.py with custom image or directly trying the examples results in the above error.
Ubuntu desktop with 16 04 version was setup as per : https://gist.github.com/pseudokool/c7707937f075dd74cfa905edc80de39b

This issue appears to be happening on lines 209-210 in ProjectPaintingLight.py where mouse is being accessed.

Installed versions:

Ubuntu : 16.04
Python : 3.6


As per here : https://github.com/lllyasviel/PaintingLight/issues/13

I have installed below specific version of required libraries in the same sequence.

pip install opencv-python==4.2.0.34
pip install opencv-contrib-python==4.2.0.34
pip install h5py==2.10.0

pip install tensorflow==1.4.0
pip install scipy==1.1.0
pip install trimesh==2.37.1

Steps to replicate:

python default.py test-img.png
python example001.py

Error logs


	2023-02-17 05:45:06.736604: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
	WARNING:tensorflow:No training configuration found in save file: the model was *not* compiled. Compile it manually.
	model-output<tensorflow.python.keras._impl.keras.engine.training.Model object at 0x7f2d8d56b2e8>
	Begin ray intersecting ...
	Intersecting finished.
	: cannot connect to X server :0

@lllyasviel @lllyasviel @78Alpha @jeexop @lrisviel @jeexop

@78Alpha
Copy link

78Alpha commented Feb 23, 2023

Looking over that gist, are you running a remote instance?

And for a sanity check, can it run any other GUI applications?

@SanjayGhanagiri
Copy link
Author

@78Alpha yes am using a remote instance. Am able to run other GUI applications.

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