Hello, I wonder if anyone has experienced this, or knows of a way to fix this problem I have. I am trying to host a game server that needs wine to launch. I can run the game fine through an SSH terminal using wine game.exe. I do get this message: Code: 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. This is not the issue, the server runs fine still even tho it throws this up. I get this issue when I try and launch the server through a game control panel I have. Code: 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. Error opening terminal: unknown. I don't have a clue why it's throwing up the error opening terminal. The SSH terminal is set to xterm, and the user that controls the control panel is also set to xterm. Any ideas would be much appreciated!
Well, great work! You have helped me to improve my knowledge about this field. Thank you so much for sharing. __________________ watch movies online free (http://watchonlinefreemovies.biz)
MelissaDaisy99 wrote:> Well, great work! You have helped me to improve my knowledge about this field. Thank you so much for sharing.Are you on drugs? or is it simply an attempt to get people to click on that stupid movie link? Can any moderators delete above post please!
> Are you on drugs? or is it simply an attempt to get people to click on that stupid movie link? >SPAMMERS. Sometimes I think they are on drugs as well. John
I don't think SSH automatically forwards your DISPLAY, and for security reasons you should explicitly do the SSH port forward. If you are using any current version of SSH try adding the "-Y" or "-X" flags when you start your SSH session to get SSH to port-forward the X11 ports.
ok. So if you call ssh with "ssh -Y" you will probably get rid of your DISPLAY error. As for triggering your game from apache, that will be highly problematic. apache usually runs as a "nobody" or "http" user and often chrooted to the apache directory for security purposes. Unless you are running apache as your own user, you're likely going to have permission problems all over the place. If you run it as a local user, then you're likely to create all kinds of insecurities.