Jump to content

Centos. Problem Z Wine.


Adsko
 Share

Recommended Posts

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

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

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

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

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

 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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...