Results 1 to 3 of 3

Thread: 13.1 Wine permisions problem for user

  1. #1
    Join Date
    Dec 2013
    Posts
    19

    Default 13.1 Wine permisions problem for user

    Hi everyone,

    After a couple of moths without been able to run wine but too busy to get to the problem, I just found out that the problem of that I couldn't execute anything of wine after installing it (tried the software web of opensuse and yast instaling adn uninstalling several times). I'm able to run wine aplications through root, but not with user, I don't have privileges. It brings wineserver: /tmp/.wine-1000 must not be accessible by other users when trying to run a windows program like for example
    Code:
    wine Risk\ of\ Rain.exe
    , and when doing
    Code:
    sudo wine Risk\ of\ Rain.exe
    it brings me

    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.


    So I'm only able to execute doing su and entering the roots password and then running the command.

    I'm pretty new to OpenSUSE and I once screwed up because of trying commands of premissions without really knowing, so I was hoping someone could help me to solve this problem.
    Thanks in advance,

    Quim

  2. #2

    Default Re: 13.1 Wine permisions problem for user

    Quote Originally Posted by qdsk View Post
    After a couple of moths without been able to run wine but too busy to get to the problem, I just found out that the problem of that I couldn't execute anything of wine after installing it (tried the software web of opensuse and yast instaling adn uninstalling several times). I'm able to run wine aplications through root, but not with user, I don't have privileges. It brings wineserver: /tmp/.wine-1000 must not be accessible by other users when trying to run a windows program like for example
    Code:
    wine Risk\ of\ Rain.exe
    ,
    Delete /tmp/.wine-1000, and wine should create it again with the correct permissions.
    Code:
    sudo rm -r /tmp/.wine-1000
    Then it should hopefully work again.

    And you should not run any wine programs as root. This may even have caused your problem in the first place, depending on how you switched to root permissions.

    and when doing
    Code:
    sudo wine Risk\ of\ Rain.exe
    it brings me

    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.


    So I'm only able to execute doing su and entering the roots password and then running the command.
    You cannot run graphical programs with sudo on a default openSUSE installation.
    Use kdesu, gnomesu, or xdg-su instead, they are designed for that purpose.

    But, again, you should not run wine applications as root.

  3. #3
    Join Date
    Dec 2013
    Posts
    19

    Default Re: 13.1 Wine permisions problem for user

    Thanks for your answer wolfi, i did as you said and it worked, and i won't touch wine as root anymore ^^ Thank you

Tags for this Thread

Posting Permissions

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