[Error] cannot connect to X server (Running Faceswap in headless mode)

Discussions about research, Faceswapping and things that don't fit in the other categories here.


Locked
User avatar
Theodor
Posts: 3
Joined: Wed Feb 19, 2020 9:12 am

[Error] cannot connect to X server (Running Faceswap in headless mode)

Post by Theodor »

Have problem with start train on linux server
Work on ssh
cannot connect to X server

by torzdf » Wed Feb 19, 2020 10:30 am

You can use Faceswap purely headless, just don't launch the GUI

Code: Select all

python faceswap.py train -h
Go to full post
User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: [Error] cannot connect to X server

Post by torzdf »

This is kind of outside of the scope of faceswap.

You need to make sure you have SSH set up for X Forwarding.

I would recommend either using a VNC server though, so disconnects don't stop training.

My word is final

User avatar
Theodor
Posts: 3
Joined: Wed Feb 19, 2020 9:12 am

Re: [Error] cannot connect to X server

Post by Theodor »

torzdf wrote: Wed Feb 19, 2020 9:59 am

This is kind of outside of the scope of faceswap.

You need to make sure you have SSH set up for X Forwarding.

I would recommend either using a VNC server though, so disconnects don't stop training.

I think it's about turning on working without display mode

User avatar
torzdf
Posts: 2649
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 128 times
Been thanked: 622 times

Re: [Error] cannot connect to X server

Post by torzdf »

You can use Faceswap purely headless, just don't launch the GUI

Code: Select all

python faceswap.py train -h

My word is final

User avatar
Theodor
Posts: 3
Joined: Wed Feb 19, 2020 9:12 am

Re: [Error] cannot connect to X server

Post by Theodor »

torzdf wrote: Wed Feb 19, 2020 10:30 am

You can use Faceswap purely headless, just don't launch the GUI

Code: Select all

python faceswap.py train -h

It's helped. Thanks so much.

Locked