Cześć.
Mam vpsa, jest na nim Debian 6.0 z zainstalowanym gnome i tightvnc. Chcąc uruchomić program na vpsie zainstalowałem Wine i Monodevelop przez terminal. Kiedy wpisuję w terminalu:
root@Brainstern:~/Downloads# wine dotNetFx35setup.exe
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.
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.
Wszystkie polecenia wykonuję jako root, w czym tkwi problem? Obszukałem z pomocą Google internet ale rozwiązania problemu nie znalazłem.
Z mojego doświadczenia i Twoich logów wnioskuję, że konto roota ma zablokowane X-y.
Wine nie zaleca uruchamiania programów .exe z poziomu roota, proponuję z konta zwykłego użytkownika.
Odnośnie .Net Frameworka:
Ściągaj, bądź jeśli masz winetricks. Wpisujesz jako zwykły użytkownik:
brain@Brainstern:~/Downloads$ bash winetricks dotnet35
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing w_do_call dotnet20sp1
Executing load_dotnet20sp1
------------------------------------------------------
Working around wine bug 16956 -- wine version too old
------------------------------------------------------
------------------------------------------------------
wine-1.3.22 or later required to install dotnet20sp1 properly
------------------------------------------------------
brain@Brainstern:~/Downloads$ bash winetricks dotnet20
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20\set-winver.reg
winetricks: line 4554: cd: /home/brain/.cache/winetricks/dotnet20: No such file or directory
------------------------------------------------------
Working around wine bug 10467 -- Install l_intl.nls
------------------------------------------------------
Executing mkdir -p /home/brain/.cache/winetricks/dotnet20
Downloading http://kegel.com/wine/l_intl.zip to /home/brain/.cache/winetricks/dotnet20
--2012-07-09 02:37:20-- http://kegel.com/wine/l_intl.zip
Resolving kegel.com... 216.92.86.126
Connecting to kegel.com|216.92.86.126|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1103 (1.1K) [application/zip]
Saving to: `l_intl.zip'
100%[======================================>] 1,103 --.-K/s in 0.03s
2012-07-09 02:37:20 (35.1 KB/s) - `l_intl.zip' saved [1103/1103]
Executing unzip -o -q -d /home/brain/.wine/dosdevices/c:/windows/system32 l_intl.zip
Executing mkdir -p /home/brain/.cache/winetricks/dotnet20
Downloading http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe to /home/brain/.cache/winetricks/dotnet20
--2012-07-09 02:37:20-- http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe
Resolving download.microsoft.com... 80.239.221.91, 80.239.221.105
Connecting to download.microsoft.com|80.239.221.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23510720 (22M) [application/octet-stream]
Saving to: `dotnetfx.exe'
100%[======================================>] 23,510,720 272K/s in 91s
2012-07-09 02:38:51 (253 KB/s) - `dotnetfx.exe' saved [23510720/23510720]
Current wine does not have wine bug 30845, so not applying workaround
Current wine does not have wine bug 30845, so not applying workaround
Executing wine dotnetfx.exe
fixme:advapi :D ecryptFileA "C:\\windows\\temp\\IXP000.TMP\\" 00000000
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.
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.
------------------------------------------------------
Note: command 'wine dotnetfx.exe' returned status 43. Aborting.
------------------------------------------------------
A musisz z tym "bash" z przodu komendy?
Nie możesz po prostu wklepać "winetricks" czy musisz "bash winetricks"
Jeśli musisz z bash na początku to ostatnia linijka Twojego loga powyżej może wskazywać, że winetricks próbuje wpisać "wine", co skutkuje nieznalezieniem komendy - teoretycznie.
Więc musisz ,,bash wine", czy samo ,,wine" też działa?