Results 1 to 2 of 2

Thread: Executing wine program in webmin

  1. #1
    Join Date
    Nov 2007
    Beans
    9

    Executing wine program in webmin

    Good evening,

    I hope that this is the right section for my thread.

    I am searching a way to execute a wine program via Webmin commands.
    To launch the program I use this command:

    Code:
    sh "/home/admin/.wine/drive_c/Program Files/EA GAMES/Battlefield1942MultiplayerDemo/lauched.sh"
    And this is the launched.sh file:
    Code:
    export DISPLAY=":1001.0"
    cd "/home/admin/.wine/drive_c/Program Files/EA GAMES/Battlefield1942MultiplayerDemo"
    wine BF1942Demo.exe +restart 1 +serverHost 1 +dedicated 1
    I exported the DISPLAY variable on top of the shell file but I dont know if this is how it has to be.

    After executing the command in Webmin it gives me this error:
    Code:
    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.
    How can I let Webmin start a wine program in my X server? I have GDM started.
    This command: echo $DISPLAY
    Gives me this output: :1001.0

    Or is this another problem and cant this be done in Webmin?
    Last edited by iljabrander; July 10th, 2009 at 11:17 PM.

  2. #2
    Join Date
    Nov 2007
    Beans
    9

    Re: Executing wine program in webmin

    bump..
    can somebody help me out?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •