How can I remove this lock?
Either delete it (rm /tmp/.X1-lock), or reboot. Anything in /tmp is in RAM, so gone on reboot.
I already tried to restart the docker, didn't work, will try again.
Sent from my SM-G901F using Tapatalk
He meant reboot the computer, not restart the docker. Anything in /tmp will be wiped out on reboot since that folder is in RAM.
Or delete it from the command line with the command he gave.
I rebooted the server and that made the trick, I'm having a new issue though.
After login through xrdp, I got into a black screen.
Attached is the log after trying a connection.
That's only a partial log that doesn't tell much, but try this. Open the container settings, make a change, revert it (like add a space and then delete it) and then hit save. It will recreate the container with the same settings and data.