Adsko Posted January 8, 2014 Report Share Posted January 8, 2014 Witam, Mój problem polega na tym, że nie mogę uruchomić żadnego programu przez wine. Wpisuję w terminalu "winecfg" i to wyskakuje: fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 4 fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 4 err:winediag:x11drv_init_thread_data x11drv: Can't open display: :1.0. Please ensure that your X server is running and that $DISPLAY is set correctly. Link to comment Share on other sites More sharing options...
@WalDo Posted January 8, 2014 Report Share Posted January 8, 2014 Pytanie raczej na forum CentOS. Przenoszę do offtopic. A jaka masz wersję wine? Czy taki sam komunikat pojawia się, gdy uruchamiasz z terminala po prostu 'wine'? Link to comment Share on other sites More sharing options...
Adsko Posted January 8, 2014 Author Report Share Posted January 8, 2014 Pytanie raczej na forum CentOS. Przenoszę do offtopic. A jaka masz wersję wine? Czy taki sam komunikat pojawia się, gdy uruchamiasz z terminala po prostu 'wine'? wersja wine 1.4.1 Usage: wine PROGRAM [ARGUMENTS...] Run the specified program wine --help Display this help and exit wine --version Output version information and exit gdy probuje otworzyc jakis program Can't open display: :1.0. Please ensure that your X server is running and that $DISPLAY is set correctly. Link to comment Share on other sites More sharing options...
@WalDo Posted January 8, 2014 Report Share Posted January 8, 2014 Pokaż co zwraca polecenie echo $DISPLAY Zgaduję, że pracujesz standardowo na :0.0 a tutaj Can't open display: :1.0więc być może masz ustawianą zmienną DISPLAY w jakimś .bashrc Link to comment Share on other sites More sharing options...
Adsko Posted January 8, 2014 Author Report Share Posted January 8, 2014 polecenie zwraca $ echo $DISPLAY :1.0 Link to comment Share on other sites More sharing options...
@WalDo Posted January 8, 2014 Report Share Posted January 8, 2014 sprawdź gdzie zmieniasz te ustawienia. prawdopodobnie w pliku $HOME/.bashrc lub $HOME/.bash_profile lub jakimś podobnym. Żeby upewnić się czy stąd pochodzi błąd spróbuj polecenia: DISPLAY=:0.0 winecfg Link to comment Share on other sites More sharing options...
Adsko Posted January 8, 2014 Author Report Share Posted January 8, 2014 teraz pokazuje fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 4 fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 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. err:systray:initialize_systray Could not create tray window 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. Link to comment Share on other sites More sharing options...
@WalDo Posted January 8, 2014 Report Share Posted January 8, 2014 Coś chyba źle robisz... Jeszcze raz po kolei takie polecenia: id export DISPLAY=:0.0 echo $DISPLAY winecfg Wklej tutaj całe wyjście z konsoli razem z promptem i wszelkimi dodatkowymi komunikatami,czyli np. [waldo@F19 ~]$ echo $DISPLAY :0.0 a nie tak jak w swoim poście #5 powżej. Link to comment Share on other sites More sharing options...
Adsko Posted January 8, 2014 Author Report Share Posted January 8, 2014 teraz [kon@vps464485 ]$ id uid=500(kon) gid=500(kon) grupy=500(kon) [kon@vps464485 ~]$ export DISPLAY=:0.0 [kon@vps464485 ~]$ echo $DISPLAY :0.0 [kon@vps464485 ~]$ winecfg fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 4 fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 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. err:systray:initialize_systray Could not create tray window 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. [kon@vps464485 ~]$ Link to comment Share on other sites More sharing options...
@WalDo Posted January 8, 2014 Report Share Posted January 8, 2014 Hmm... muszę się poddać Mogę co najwyżej zaproponować jeszcze usunięcie całego $HOME/.wine i spróbować "na czysto" z ustawieniami DISPLAY jak wyżej. Jeśli nie pomoże, to wskazane byłoby chyba zgłoszenie buga na CentOS. No i wcześniej warto sprawdzić czy ktoś już na coś takiego się nie nadział. No i tak jak napisałem na początku: popytaj na forum CentOS. Jak już zwalczysz problem, to daj znać o co chodziło. Link to comment Share on other sites More sharing options...
Adsko Posted January 8, 2014 Author Report Share Posted January 8, 2014 Hm, a mógłbys mi powiedziec, co powinienem mieć w tym pliku na końcu .vnc/xstartup? Link to comment Share on other sites More sharing options...
@WalDo Posted January 8, 2014 Report Share Posted January 8, 2014 .vnc/xstartup? Jakie vnc? Jaki xstartup? "Zapomniałeś" podać jakiś szczegół konfiguracji? Link to comment Share on other sites More sharing options...
3k_PL Posted January 9, 2014 Report Share Posted January 9, 2014 Podejrzewam, że pracujesz na sesji zdalnej (maszyna z nazwą vps). Może lepiej będzie Ci korzystać z x2go / ssh -X / nx? 1 Link to comment Share on other sites More sharing options...
Adsko Posted January 9, 2014 Author Report Share Posted January 9, 2014 Podejrzewam, że pracujesz na sesji zdalnej (maszyna z nazwą vps). Może lepiej będzie Ci korzystać z x2go / ssh -X / nx? Tak, jest to VPS. Został zainstalowany VNCSERVER. Po zainstalowaniu wine wszystko dzialalo jak nalezy, jednak po restarcie pojawił się opisywany problem i nie można uruchomić programu. Wine zostalo zainstalowane z roota jezeli ma to jakies znaczenie? Link to comment Share on other sites More sharing options...
Subaru Posted January 10, 2014 Report Share Posted January 10, 2014 Instalowanie czegokolwiek wymaga praw root więc to jest naturalne. Czyli zdaje się, że Display 0.0 to domyślny display tejże maszyny a 1.0 to display maszyny, którą próbujesz się doczepić przez VNC...ewentualnie na odwrót... Tak to widzę Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now