Results 1 to 5 of 5

Thread: sudo -u wine a application X server

  1. #1

    Default sudo -u wine a application X server

    Code:
    sudo -u congyo wine /home/congyo/notepadV1.6.exe
    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
    fixme:advapi:DecryptFileA "C:\\users\\congyo\\Temp\\IXP000.TMP\\" 00000000
    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.
    openSUSE 12.3 32bit
    Gnome 3.6.2 Fallback mode
    wine-1.5.23

    How to run the application with X server?

  2. #2

    Default Re: sudo -u wine a application X server

    Quote Originally Posted by congyo View Post
    How to run the application with X server?
    You can't run GUI applications with sudo on a default openSUSE installation. Use "gnomesu -u congyo wine /home/congyo/notepadV1.6.exe" instead.

    But is congyo really a different user? If it is your username, you don't need anything like that at all, just run "wine /home/congyo/notepadV1.6.exe" in that case.

  3. #3

    Default Re: sudo -u wine a application X server

    Much thanks to you, wolfy. Is the same reason that I couldn't run Tor Bundle Browser in openSUSE KDE live CD?

  4. #4

    Default Re: sudo -u wine a application X server

    Quote Originally Posted by congyo View Post
    Much thanks to you, wolfy. Is the same reason that I couldn't run Tor Bundle Browser in openSUSE KDE live CD?
    How should I know?

    You would have to tell me what you did and how it didn't work...

    But if you tried to run it with "sudo" then I guess yes, it is the same reason. Except that on the LiveCD there would not be any other user than "root" and "linux" by default.

    Why are you using sudo anyway, are you not logged in as "congyo"?

  5. #5
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: sudo -u wine a application X server

    congyo wrote:
    >
    > Code:
    > --------------------
    > sudo -u congyo wine /home/congyo/notepadV1.6.exe
    > 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
    > fixme:advapiecryptFileA "C\users\\congyo\\Temp\\IXP000.TMP\\" 00000000
    > 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.
    > --------------------
    >
    >
    > openSUSE 12.3 32bit
    > wine-1.5.23
    >
    >


    you don't need admin/root access to run wine or install any application
    using wine
    Also if you using the below product. Use the "jar" version

    http://sourceforge.net/projects/melwinnotepad/

    --
    GNOME 3.10.1
    openSUSE 13.1 (Bottle) (x86_64) 64-bit
    Kernel Linux 3.11.6-4-desktop
    Where are my penguins :- https://features.opensuse.org/316767

Posting Permissions

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