Strona 1 z 1
Wine - zdalne uruchamiane programów
: 11 lutego 2011, 20:03
autor: takeit
Witam.
Zainstalowałem wine na Debianie z LAMP z konta super
użytkownika, nie roota, próbojąc uruchomić
jakąkolwiek aplikację *.exe. Wine zwraca mi błąd:
Kod: Zaznacz cały
fixme:heap:HeapSetInformation 0x110000 0 0x472dfc 4
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.
err :o le:apartment_createwindowifneeded CreateWindow failed with error 1114
fixme:heap:HeapSetInformation 0x5c0000 0 0x472dfc 4
torrent@Debian-50-lenny-64-LAMP:~$ wineconsole cmd
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.
Wykonuję polecenia wine przez ssh, również mam zainstalowany vnc4server, żadnej reakcji ze strony wine. Czy ktoś może mi w tym pomóc bo siedzę już nad tym długi czas nie mam pojęcia jak to rozwiązać.
Przeczytałem wiele postów na ten temat ale nic nie pomogło.
Wersja wine to: 1.0.1
Dziękuję.
: 11 lutego 2011, 21:01
autor: DaVidoSS
A toś nie wiedział że super użytkownik to to samo co root? Tu widzę, że aplikacja, którą uruchamiasz nie wie gdzie ma się wyświetlić.
Krzyczy o jej, ale gdzie monitor jest?
Podpowie jej wcześniej wydane polecenie:
W tym przypadku cokolwiek się wyświetli to nie przed Twoimi oczyma.
Co innego kiedy do połączenia ssh zaprzęgniesz X-y to się od razu połapie, że na Twój monitor co to go masz przed oczami ma się wyświetlić.
Przykład:
Z tym, że po stronie serwera w pliku /etc/ssh/sshd_config muszą się znaleźć linie:
: 11 lutego 2011, 21:48
autor: takeit
Miałem na myśli użytkownika jak dodasz go do sudoers ale
nieważne.
Rzecz w tym, że mam zainstalowane gnome i łączę się przez vncviewer, i aplikacje chcę instalować przez vnc. Jak mam to skonfigurować aby działało prawidłowo?
W pliku sshd_config jest tak jak napisałeś.
też wpisałem
.
Gdy wpisałem:
wyświetlał się taki sam komunikat błędu, jak podałem w pierwszym poście
. Może to od nowa zainstalować?
Napisałbyś mi jak to po kolei poprawnie zainstalować bądź poprawić?
Dziękuję.
: 11 lutego 2011, 21:54
autor: DaVidoSS
Napisałem odnośnie ssh. Nie wiem po co Ci vncwiewer. SSH ,SSH -X w zupełności starcza na administracje zdalną systemem.
Jeśli chcesz to Ci mogę pomóc w tym temacie. Vncwiewer nie znam.
: 11 lutego 2011, 22:02
autor: takeit
No dobrze, to pomińmy temat vncviewer, w takim razie jak mam prawidłowo zainstalować wine tak abym mógł zainstalować jakąś aplikacje z Windowsa?
Czy może jeszcze da się coś zrobić z tym co mam aktualnie zainstalowane?
: 11 lutego 2011, 22:15
autor: DaVidoSS
Logujesz się na zdalny komputer przez ssh.
Edytujesz plik /etc/ssh/sshd_config
Te dwie linie muszą się znajdować w tym pliku.
Następnie restartujesz sshd:
Pewnie się rozłączysz ale niekoniecznie.
Połącz się ponownie tyle że do X-ów.
I wtedy:
Kod: Zaznacz cały
mv .wine .wine.old
su
apt-get remove wine --purge
apt-get install wine
exit
winecfg
I czekaj na wyświetlenie się okna konfiguracji wine.
: 11 lutego 2011, 23:42
autor: takeit
Tak jak mi radziłeś zrobiłem i po wpisaniu:
wyświetlilo mi:
Kod: Zaznacz cały
wine: created the configuration directory '/home/takeit/.wine'
ALSA lib ../../../src/seq/seq_hw.c:457 :( snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
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.
err :o le:apartment_createwindowifneeded CreateWindow failed with error 1114
err :o le:apartment_createwindowifneeded CreateWindow failed with error 1114
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.
err :o le:apartment_createwindowifneeded CreateWindow failed with error 1114
err :o le:apartment_createwindowifneeded CreateWindow failed with error -536870654
err :o le:apartment_createwindowifneeded CreateWindow failed with error -536870654
err :o le:apartment_createwindowifneeded CreateWindow failed with error -536870654
Could not load Mozilla. HTML rendering will be disabled.
err :o le:apartment_createwindowifneeded CreateWindow failed with error -536870654
err :o le:apartment_createwindowifneeded CreateWindow failed with error 0
err :o le:apartment_createwindowifneeded CreateWindow failed with error -536870654
err :o le:apartment_createwindowifneeded CreateWindow failed with error 0
err :o le:apartment_createwindowifneeded CreateWindow failed with error -536870654
err :o le:apartment_createwindowifneeded CreateWindow failed with error -536870654
err:wgl :p rocess_attach X11DRV or GDI32 not loaded. Cannot create default context.
wine: configuration in '/home/takeit/.wine' has been updated.
ALSA lib ../../../src/seq/seq_hw.c:457 :( snd_seq_hw_open) open /dev/snd/seq failed: Permission denied
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.
err :o le:apartment_createwindowifneeded CreateWindow failed with error 1114
: 12 lutego 2011, 14:34
autor: DaVidoSS
A na tym komputerze, do którego się zdalnie łączysz masz zainstalowane "okienka"? Skoro zainstalowałeś wine to chyba jednak tak. Dziwne to jest bardzo.
Dam Ci przykład pliku /etc/ssh/sshd_config. Użyj go i zobacz wtedy czy działa.
Kod: Zaznacz cały
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768
# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 120
PermitRootLogin no
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no
# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
# Allow client to pass locale environment variables
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
Poza tym do zdalnej administracji w trybie graficznym zalecam użycie
NX