[+] instalacja wine i niedzia

Pomoc dotycząca instalacji systemu
Luksor
Posty: 6
Rejestracja: 06 kwietnia 2010, 14:57

[+] instalacja wine i niedziałające środowisko graficzne

Post autor: Luksor »

Potrzebuję uruchomić aplikację Windowsową pod Linuksem, zainstalowałem Wine i Xorg, który jest podobno potrzebny. Uruchamiam aplikację i pokazało mi się coś takiego:

Kod: Zaznacz cały

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.
Więc domyśliłem się, że muszę uruchomić Xorg, więc wpisuję:

Kod: Zaznacz cały

startx
ale pojawia mi się błąd, że nie znalazło jakiegoś katalogu tty0, wszedłem w ftp i rzeczywiście tam go nie ma.

Kod: Zaznacz cały

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny2)
Current Operating System: Linux l33t1.vserver.cz 2.6.32.8-vs2.3.0.36.29.1 #1 SMP                                             Fri Feb 19 18:00:58 CET 2010 i686
Build Date: 08 June 2009  09:12:57AM

        Before reporting problems, check [URL]http://wiki.x.org[/URL]
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 21 17:47:12 2010
(==) Using config file: "/etc/X11/xorg.conf"

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

giving up.
xinit:  Connection reset by peer (errno 104):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
Nie wiem co mam zrobić, szukałem w internecie ale nic nie pomogło. Proszę o pomoc i pozdrawiam.

Edycja:
Znalazłem w internecie, że chyba potrzebuję jakieś ,,VM'', ale nie wiem z skąd to pobrać i jak zainstalować.
peter86
Beginner
Posty: 254
Rejestracja: 10 czerwca 2007, 23:19
Lokalizacja: Katowice, Dąbrowa Górnicza

Post autor: peter86 »

Cześć.

Wine działa w środowisku graficznym. Nie uruchomisz go w trybie tekstowym. Aby zainstalować minimalne środowisko graficzne jest potrzebnych kilka pakietów.

Byłoby miło gdybyś pokazał jak wygląda Twój plik xorg.conf znajdujący się w katalogu /etc/X11/
Luksor
Posty: 6
Rejestracja: 06 kwietnia 2010, 14:57

Post autor: Luksor »

xorg.conf:

Kod: Zaznacz cały

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
    Option        "UseFBDev"        "true"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
EndSection

Edycja:

Problem rozwiązany. Wine działa po uruchomieniu na vnc4server. Na razie wyskakuje mi błąd, ale to chyba wina aplikacji a nie Wine, czy Xorg. Jeśli nie będę mógł później sobie z czymś poradzić to tu napiszę. Dziękuję za pomoc.
ODPOWIEDZ