X0 não existe no diretório

1
winecfg
connect /tmp/.X11-unix/X0: No such file or directory
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
kami@Misaka:~$ cd /tmp/.X11-unix
kami@Misaka:/tmp/.X11-unix$ ls -la
total 8
drwxrwxrwt 2 root root 4096 Dec 26 10:04 .
drwxrwxrwt 5 root root 4096 Dec 26 10:41 ..
kami@Misaka:/tmp/.X11-unix$

o que eu fiz até agora

eu instalei o vinho

quando eu tentei rodar o winecfg eu recebi o erro que o X0 não existe então eu fui no diretório /tmp/.X11-unix/ para ver se ele existia e como você pode ver, ele não funciona

existe uma maneira de corrigir isso eu estou tentando executar um aplicativo do windows sobre vinho com ssh X11 protocal

também eu tentei configurar a exibição isso não ajuda, porque o arquivo ou diretório X0 não existe no meu servidor sob o diretório /tmp/.X11-unix

também eu reiniciei várias vezes ele não volta

    
por Belldandu 26.12.2014 / 16:52

1 resposta

0

no começo eu estava tentando carregar um executável através do vinho e comecei a ter esse problema o guia por Extricate daqui me deu a minha resposta link

This might be of interest for some of the more frugal hosts. I'm currently running an Area Server from an Ubuntu VPS with no graphics capabilities and only 128mb of ram (quite far below the minimum requirements :lol: ). It's certainly cheaper than buying a windows server or hosting from home.

First things first this guide is for Ubuntu, I will assume you already have a folder set up on your server with the Area Server files in, before you transfer it to your server you must make sure it is set to run fullscreen mode via the television shaped button on the Area Server menu. You will also need to install Xpra on your home computer, on Windows it's as easy as downloading it from their website and then running it.

You will need Screen, Xvfb, Xpra Wine and the X fonts, install them:

sudo apt-get install screen

sudo apt-get install Xvfb

sudo apt-get install xpra

sudo apt-get install wine

sudo apt-get install xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic

Next up we have to start Xvfb, for my toaster of a server I ran at 800x600, but if you are rich and have cpu cycles to burn go for whatever it is you want.

Open up a new screen by typing "screen"

then type "Xvfb -screen 10 800x600x16"

If all has gone well, detach from that screen by pressing ctrl +a and then ctrl + d

Open up another new screen by typing "screen" again, now we are going to start an Xpra server

type "xpra start :10"

Good, now start Xpra on your home computer. You should see a screen like this: xpra example http://puu.sh/aLbqT/d18cbd1331.png

Enter your host's information and press connect.

Back on your server you need to set up wine,

wget http://kegel.com/wine/winetricks

sh winetricks d3dx9

then type "DISPLAY=:10 winecfg"

On your home computer you should see a pop up of the winecfg screen. Set it to Windows 2000 compatibility and press Apply then Ok. It should close.

Finally type "DISPLAY=:10 wine "AREA SERVER.exe"

On your home computer should see a pop up containing the area server. Be patient, the window may be slow to react. From here connect as normal.

Once it is running select the tray icon of Xpra on your home computer and disconnect. In the server terminal press ctrl +a and then ctrl + d.

That is all.

    
por 28.12.2014 / 17:05

Tags