Results 1 to 10 of 10

Thread: Wine isn't working for me

  1. #1

    Default Wine isn't working for me

    Hi there,

    I've followed the guide on https://en.opensuse.org/Wine and when I run winecfg, it doesn't create the .wine directory in my home directory for me or do any configuration. It simply says "/usr/bin/winecfg: line 29: /usr/bin/wine: Success". When I try to run executable applications by running "wine appname.exe" it does nothing. It also does nothing if I try right-clicking an application in Dolphin and selecting "open with Wine".

    Is this because all the applications I've tried are incompatible with wine, or is there a problem configuring it?

  2. #2

    Default Re: Wine isn't working for me

    Quote Originally Posted by davidcjohnson View Post
    Is this because all the applications I've tried are incompatible with wine, or is there a problem configuring it?
    No, that doesn't seem to be the reason according to your description. Wine still should create the ~/.wine directory in that case.

    What output do you get exactly when running "wine appname.exe"?
    Nothing at all? Just the"/usr/bin/winecfg: line 29: /usr/bin/wine: Success"?
    If anything else, please post the full output.

    What exact wine version from where did you install?
    Code:
    rpm -qi wine
    And to rule out incompatible repos (and to clarify which openSUSE version you are actually using ), please post your repo list:
    Code:
    zypper lr -d

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,742

    Default Re: Wine isn't working for me

    Also make sure you are your user and NOT root.

  4. #4

    Default Re: Wine isn't working for me

    rpm -qi details as follows:
    ***
    Name : wine
    Version : 1.7.28
    Release : 1.3
    Architecture: x86_64
    Install Date: Wed 21 Jan 2015 07:30:19 AM AEDT
    Group : System/Emulators/PC
    Size : 140451443
    License : LGPL-2.1+
    Signature : RSA/SHA256, Thu 16 Oct 2014 12:35:23 AM AEDT, Key ID b88b2fd43dbdc284
    Source RPM : wine-1.7.28-1.3.src.rpm
    Build Date : Thu 16 Oct 2014 12:26:14 AM AEDT
    Build Host : build31
    Relocations : (not relocatable)
    Packager : http://bugs.opensuse.org
    Vendor : openSUSE
    URL : http://www.winehq.org/
    Summary : An MS Windows Emulator
    Description :
    An MS Windows emulator, consisting of both runtime and source
    compatibility functions. You can run your MS executables with it and
    write your Windows programs under Linux and link against the WINE
    libraries.

    It is not necessary to have a Windows installation to run WINE.

    Refer to /usr/share/doc/packages/wine/README.SUSE. There is more
    documentation available in that directory. Read 'man wine' for further
    information.

    You can invoke wine by entering 'wine program.exe'. Configure it by
    running 'winecfg'.
    Distribution: openSUSE 13.2
    ***

    Running winecfg from the terminal gives this line (,/usr/bin/winecfg: line 29: /usr/bin/wine: Success) but otherwise does nothing. It does not create the ~/wine folder.
    Running wine "./application.exe" does nothing and produces no output.

    The output of zypper lr -d is as follows:
    # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
    ---+---------------------------+------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------+--------
    1 | ftp.gwdg.de-suse | Packman Repository | Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman...openSUSE_13.2/ |
    2 | geeko.ioda.net-amd-fglrx | AMD/ATI Graphics Drivers | Yes | Yes | 99 | rpm-md | http://geeko.ioda.net/mirror/amd-fglrx/openSUSE_13.2/ |
    3 | home:ecsos | home:ecsos | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/reposit...openSUSE_13.2/ |
    4 | home:rbos | home:rbos | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/reposit...openSUSE_13.2/ |
    5 | libdvdcss | libdvdcss | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/13.2/ |
    6 | openSUSE-13.2-0 | openSUSE-13.2-0 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVD+_-RW_GS30N_K05CCB10035 |
    7 | opensuse-guide.org-repo | libdvdcss repository | Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/13.2/ |
    8 | repo-debug | openSUSE-13.2-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/d...13.2/repo/oss/ |
    9 | repo-debug-update | openSUSE-13.2-Update-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2/ |
    10 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/update/13.2-non-oss/ |
    11 | repo-non-oss | openSUSE-13.2-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distrib.../repo/non-oss/ |
    12 | repo-oss | openSUSE-13.2-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distrib...13.2/repo/oss/ |
    13 | repo-source | openSUSE-13.2-Source | No | Yes | 99 | NONE | http://download.opensuse.org/source/...13.2/repo/oss/ |
    14 | repo-update | openSUSE-13.2-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
    15 | repo-update-non-oss | openSUSE-13.2-Update-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2-non-oss/

  5. #5

    Default Re: Wine isn't working for me

    Quote Originally Posted by davidcjohnson View Post
    Running winecfg from the terminal gives this line (,/usr/bin/winecfg: line 29: /usr/bin/wine: Success) but otherwise does nothing.
    It should display a configuration window.
    You are not running it as root by chance? (e.g. via su or sudo)
    It has to be run as user, as already mentioned.

    And I hope with "terminal" you mean a terminal window inside a graphical session. It won't work in text mode...

    That said, you don't have to run winecfg, but it's probably a good test as it should work in any case, whereas arbitrary Windows applications might have problems and not work with wine.

    It does not create the ~/wine folder.
    It should create a folder called ~/.wine, not ~/wine, notice the '.'.
    Also note that files/folders starting with '.' are not displayed by most file managers by default, you have to enable the option "Show hidden files" (or similar) first.

    Please check that there's really no ~/.wine folder:
    Code:
    ls -ld ~/.wine
    And if there is, try to delete it:
    Code:
    rm -r ~/.wine
    Does /usr/bin/wine actually exist?
    Code:
    ls -l /usr/bin/wine

  6. #6

    Default Re: Wine isn't working for me

    There is no .wine folder (~/.wine). I'm running it as a standard user, not root, from a terminal window in a KDE session.

    There is a /usr/bin/wine folder.

    Should I try uninstalling and reinstalling wine?

  7. #7

    Default Re: Wine isn't working for me

    When uninstalling and reinstalling wine I get the following output:
    Code:
    Retrieving package wine-1.7.28-1.3.x86_64                                                            (1/1),  16.6 MiB (133.9 MiB unpacked)
    Retrieving: wine-1.7.28-1.3.x86_64.rpm .................................................................................[done (1.0 MiB/s)]
    Checking for file conflicts: .......................................................................................................[done]
    (1/1) Installing: wine-1.7.28-1.3 ..................................................................................................[done]
    Additional rpm output:
    /sbin/ldconfig: File /lib/libsemanage.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libvorbisenc.so.2.0.10 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libFLAC.so.8.3.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libX11.so.6.3.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libgphoto2.so.6.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXi.so.6 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmptrapd.so.30 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-dri2.so.0.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libGLU.so.1.3.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXi.so.6.1.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXinerama.so.1.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-sync.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmptrapd.so.30.0.3 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libdrm_intel.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libhogweed.so.2.5 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libusb-0.1.so.4 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmphelpers.so.30.0.3 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-xfixes.so.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libusb-0.1.so.4.4.4 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXrandr.so.2.2.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmphelpers.so.30 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXext.so.6 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libmagic.so.1.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libgphoto2_port.so.10 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libsane.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXpm.so.4 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXrender.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libGLU.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libdrm_intel.so.1.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libwine.so.1.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libhogweed.so.2 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmpagent.so.30 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-dri3.so.0.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXcomposite.so.1.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmpagent.so.30.0.3 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libsnmp.so.30 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libvorbis.so.0.4.7 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libgphoto2.so.6 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-dri2.so.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmpmibs.so.30 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXxf86vm.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libmagic.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-present.so.0.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXrender.so.1.3.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libv4l1.so.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libX11.so.6 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libv4l2.so.0.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-glx.so.0.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXpm.so.4.11.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libsnmp.so.30.0.3 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libwine.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXfixes.so.3.1.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXdamage.so.1.1.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXrandr.so.2 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmp.so.30 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXext.so.6.4.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libFLAC.so.8 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-xfixes.so.0.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libv4l1.so.0.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-glx.so.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmp.so.30.0.3 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libgphoto2_port.so.10.1.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXdamage.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libsane.so.1.0.24 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXcursor.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libvorbis.so.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXcomposite.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libpcap.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libnetsnmpmibs.so.30.0.3 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libv4l2.so.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-dri3.so.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXxf86vm.so.1.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXinerama.so.1 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-sync.so.1.0.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXfixes.so.3 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libvorbisenc.so.2 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libxcb-present.so.0 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libpcap.so.1.6.2 is empty, not checked.
    /sbin/ldconfig: File /usr/lib/libXcursor.so.1.0.2 is empty, not checked.
    /sbin/ldconfig: File /usr/lib64/libSDL_sound-1.0.so.1.0.2 is empty, not checked.
    /sbin/ldconfig: File /usr/lib64/libSDL_sound-1.0.so.1 is empty, not checked.

  8. #8

    Default Re: Wine isn't working for me

    Quote Originally Posted by davidcjohnson View Post
    There is a /usr/bin/wine folder.
    ???
    It should be a file, not a folder.

    Should I try uninstalling and reinstalling wine?
    If /usr/bin/wine is a folder, then yes.

    Quote Originally Posted by davidcjohnson View Post
    When uninstalling and reinstalling wine I get the following output:
    Code:
    Retrieving package wine-1.7.28-1.3.x86_64                                                            (1/1),  16.6 MiB (133.9 MiB unpacked)
    Retrieving: wine-1.7.28-1.3.x86_64.rpm .................................................................................[done (1.0 MiB/s)]
    Checking for file conflicts: .......................................................................................................[done]
    (1/1) Installing: wine-1.7.28-1.3 ..................................................................................................[done]
    Additional rpm output:
    /sbin/ldconfig: File /lib/libsemanage.so.1 is empty, not checked.
    ...
    Well, if all those files are empty, your system is heavily broken, and not only regarding wine.

    Consider a complete reinstall.

    But at least re-install all packages that contain those empty files. You can check from which package a file comes from via "rpm -qf filename". E.g.:
    Code:
    wolfi@amiga:~> rpm -qf /lib/libsemanage.so.1
    libsemanage1-32bit-2.3-2.1.8.x86_64
    Afterwards, you probably should run "rpm -Va" to verify all installed packages, and fix the problems it lists (basically all missing or modified files) by re-installing the corresponding packages. Not everything it lists is a problem though, so if you are in doubt, please ask.

  9. #9

    Default Re: Wine isn't working for me

    Thanks for your help. I used rpm -qf to find the packages for the broken libraries and uninstalled and reinstalled them. winecfg then executed successfully. It did display the following in the terminal window though:

    Code:
    fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
    err:process:__wine_kernel_init boot event wait timed out
    fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
    err:process:__wine_kernel_init boot event wait timed out
    fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    err:mscoree:LoadLibraryShim error reading registry key for installroot
    err:mscoree:LoadLibraryShim error reading registry key for installroot
    err:mscoree:LoadLibraryShim error reading registry key for installroot
    err:mscoree:LoadLibraryShim error reading registry key for installroot
    fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    fixme:iphlpapi:NotifyAddrChange (Handle 0xd9e368, overlapped 0xd9e380): stub
    fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    p11-kit: couldn't load module: /usr/lib/pkcs11/p11-kit-trust.so: /usr/lib/pkcs11/p11-kit-trust.so: file too short
    fixme:dwmapi:DwmIsCompositionEnabled 0x6b238dcc
    fixme:iphlpapi:NotifyAddrChange (Handle 0xdbe8b0, overlapped 0xdbe8bc): stub
    fixme:ntdll:server_ioctl_file Unsupported ioctl 9800012c (device=9800 access=0 func=4b method=0)
    fixme:winsock:server_ioctl_sock Unsupported ioctl 9800012c (device=9800 access=0 func=4b method=0)
    fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
    fixme:ntdll:server_ioctl_file Unsupported ioctl 9800012c (device=9800 access=0 func=4b method=0)
    fixme:winsock:server_ioctl_sock Unsupported ioctl 9800012c (device=9800 access=0 func=4b method=0)
    fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOW(IOC_VENDOR, 300))
    I haven't tried running any applications with wine yet, I'll do that next.

  10. #10

    Default Re: Wine isn't working for me

    Quote Originally Posted by davidcjohnson View Post
    Thanks for your help. I used rpm -qf to find the packages for the broken libraries and uninstalled and reinstalled them. winecfg then executed successfully. It did display the following in the terminal window though:
    Well, wine is quite noisy with its debug output, most of the time you can just ignore it.

    This particular one does point to another problem though:
    Code:
    p11-kit: couldn't load module: /usr/lib/pkcs11/p11-kit-trust.so: /usr/lib/pkcs11/p11-kit-trust.so: file too short
    The file /usr/lib/pkcs11/p11-kit-trust.so seems to be broken.

    So I would recommend to re-install the package that contains it as well:
    Code:
    sudo zypper in -f p11-kit-32bit

Posting Permissions

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