Program runs in Xfce, but not KDE?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
aarons6
Level 1
Level 1
Posts: 7
Joined: Thu Jul 30, 2009 9:15 pm

Program runs in Xfce, but not KDE?

Post by aarons6 »

I play a game called Ultima Online..
the client runs 100% just fine when im using xfce but crashes when im using kde?

nothing else has changed on the system. i do use kdm ive tried gdm as well.

any ideas?

i can just log out, switch session to xfce and play the game with no issues.. but i like kde..
User avatar
FatButtLarry
Level 3
Level 3
Posts: 70
Joined: Sat Feb 23, 2008 1:08 pm

Program runs in Xfce, but not KDE?

Post by FatButtLarry »

Me too.

What versino of KDE? Is it a version with the desktop effects?

If so, in the control panel, you can disable the desktop effects and
troubleshoot from that perspective. Might not help, but its a starter.
Cheers.

-Tres


On Thu, Jul 30, 2009 at 10:19 PM, aarons6 <[email protected]> wrote:
I play a game called Ultima Online..
the client runs 100% just fine when im using xfce but crashes when im using
kde?

nothing else has changed on the system. i do use kdm ive tried gdm as well.

any ideas?

i can just log out, switch session to xfce and play the game with no
issues.. but i like kde..





--
- [email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
aarons6
Level 1
Level 1
Posts: 7
Joined: Thu Jul 30, 2009 9:15 pm

Post by aarons6 »

ok so ive done some testing and i turned off the effects..
it seems if i use the desktop shortcut.
env WINEPREFIX=/home/aaron/.wine/ wine C:\Program Files\EA Games\UOKR\UOKR.exe
it crashes in a few minutes..

but, if i open a term, go to the UOKR folder, and type in
wine UOKR.exe

it will run for several hours without crashing..

any ideas?
David Gerard

Program runs in Xfce, but not KDE?

Post by David Gerard »

2009/8/2 aarons6 <[email protected]>:
it seems if i use the desktop shortcut.
env WINEPREFIX=/home/aaron/.wine/ wine C:\Program Files\EA Games\UOKR\UOKR.exe
it crashes in a few minutes..
but, if i open a term, go to the UOKR folder, and type in
wine UOKR.exe
it will run for several hours without crashing..
any ideas?
Is this X crashing completely, or just the UOKR program crashing?

Getting the log may be useful, to see what it does when it crashes:

http://wiki.winehq.org/FAQ#head-13df66c ... 1479c880f5

Weird problem :-) No doubt it will have an interesting solution ...


- d.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

aarons6 wrote:ok so ive done some testing and i turned off the effects..
it seems if i use the desktop shortcut.
env WINEPREFIX=/home/aaron/.wine/ wine C:\Program Files\EA Games\UOKR\UOKR.exe
it crashes in a few minutes..

but, if i open a term, go to the UOKR folder, and type in
wine UOKR.exe
Sounds like XFce doesn't change the work dir (Path parameter in .desktop file). Which is strange, it used to work AFAIK. Can you test it with a simple app like 'echo $PWD'?
aarons6
Level 1
Level 1
Posts: 7
Joined: Thu Jul 30, 2009 9:15 pm

Re: Program runs in Xfce, but not KDE?

Post by aarons6 »

David Gerard wrote:2009/8/2 aarons6 <[email protected]>:
it seems if i use the desktop shortcut.
env WINEPREFIX=/home/aaron/.wine/ wine C:\Program Files\EA Games\UOKR\UOKR.exe
it crashes in a few minutes..
but, if i open a term, go to the UOKR folder, and type in
wine UOKR.exe
it will run for several hours without crashing..
any ideas?
Is this X crashing completely, or just the UOKR program crashing?

Getting the log may be useful, to see what it does when it crashes:

http://wiki.winehq.org/FAQ#head-13df66c ... 1479c880f5

Weird problem :-) No doubt it will have an interesting solution ...


- d.

this is my problem, i tried to get a log, but when i run it via command in the term the program never crashed lol.

i think it might be something to do with kde and the desktop shortcuts.
the shortcut is the same, it was created by wine durring install.

i never had a problem with this program for months untill i switched from xfce to kde.
User avatar
FatButtLarry
Level 3
Level 3
Posts: 70
Joined: Sat Feb 23, 2008 1:08 pm

Program runs in Xfce, but not KDE?

Post by FatButtLarry »

Just clarifying that
env WINEPREFIX=/home/aaron/.wine/ wine C:\Program Files\EA Games\UOKR\UOKR.exe
is actually
env WINEPREFIX="/home/aaron/.wine/" wine "C:\Program Files\EA Games\UOKR\UOKR.exe"
This is how the shortcuts look on my desktop (KDE 4.2). The quotes
may not matter, but I know the forward slashes can be a b****. You
can also do double-forward slashes.
env WINEPREFIX="/home/aaron/.wine/" wine "C:\\Program Files\\EA Games\\UOKR\\UOKR.exe"
-Tres

--
- [email protected]
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Oh, the double quotes matter. If they weren't there, your terminal would interpret
C:\\Program
and
Files\\EA
and
Games\\UOKR\\UOKR.exe
as seperate arguments. Unless you put a backslash before each space, then it is recognized as "a space".
Locked