LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-13-2012, 06:09 AM   #1
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Rep: Reputation: 15
Error calling a windows program using wine


I'm trying to execute a windows program under Open Suse 12.1 64 and it is occurring errors. May someone of you give me some help?
I would like to log into a VM in a remote windows machine but I would like to do this using linux. The windows program is "mstsc.exe".

See the terminal messages I receive:

ricardo@linux-xa4y:/windows/C/Windows/System32> wine /windows/C/Windows/System32/mstsc.exe
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library credui.dll (which is needed by L"Z:\\windows\\C\\Windows\\System32\\mstsc.exe") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library CRYPTUI.dll (which is needed by L"Z:\\windows\\C\\Windows\\System32\\mstsc.exe") failed (error c000007b).
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\windows\\C\\Windows\\System32\\mstsc.exe" failed, status c0000135
ricardo@linux-xa4y:/windows/C/Windows/System32>


Greetings from São Paulo - Brazil

Ricardo
 
Old 07-13-2012, 07:18 AM   #2
Pastychomper
Member
 
Registered: Sep 2011
Location: Scotland
Distribution: Slackware, Devuan, Android
Posts: 132

Rep: Reputation: 243Reputation: 243Reputation: 243
Instead of using mstsc under Wine, have you tried installing rdesktop from your package manager? It's a native Linux app that does the same job as mstsc.
 
Old 07-13-2012, 10:57 AM   #3
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
I discover that "rdesktop" is already installed in my Open Suse.

May you give me a little help more?

I run mstsc.exe in windows and inform:

Computer: rede2.xxxxxx.com.br:30116
User Name: xxxxxx-xx\ricardo

Wich is the equivalent rdesktop call? Do you know?

The number os parameters in rdesktop are huge...

Thanks

[ ]

Ricardo
 
Old 07-13-2012, 11:02 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If I don't get that wrong it should be
Code:
rdesktop -d xxxxxx-xx -u ricardo rede2.xxxxxx.com.br:30116
 
Old 07-13-2012, 11:18 AM   #5
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
Congratulations!

Your suggestion works. A window with the desktop of the host machine was open. But the window is too little and can't have their dimensions increased. There are scroll bars vertical and horizontal.

Is there a way to allow change the screen dimensions? If there isn't the solution isn't useful. It would be so difficult to work with this little window...

Cheers

Ricardo
 
Old 07-13-2012, 11:22 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The option you want to use is -g for geometry, like -g 1024x768 for a resolution of 1024x768 pixels.
For more info look at
Code:
man rdesktop
 
Old 07-13-2012, 11:54 AM   #7
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
First: I read the man sometimes before start this thread. As all explanations in the man documents it is confused and not clear.

My final terminal command become:

rdesktop -d xxxxxx-xx -p yyyyyyyy -u ricardo rede2.xxxxxx.com.br:30116 -g 85% &

Hope it can be useful for another one. I'm so happy that I can work from linux. I was needing to open windows anytime I need to work in the remote host.

Thank you people for your great suggestions.

Cheers

Ricardo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
call windows program using wine csmith6531 Linux - Newbie 3 07-11-2010 05:06 PM
[SOLVED] calling linux program from wine fachamix Linux - Software 1 11-30-2009 09:11 AM
Installing a Windows program in Ubuntu using Wine donrc Ubuntu 5 11-29-2009 02:27 PM
Wine installed a program onto my windows partition, Windows BSOD on boot. DJGCrusader Linux - Enterprise 9 08-14-2009 08:25 AM
Executing MS windows based program which is installed through Wine as a non-root user akram Linux - Newbie 1 07-31-2009 05:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration