getting apps in wine to access a network computer

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
orosman
Level 1
Level 1
Posts: 5
Joined: Mon Jan 23, 2012 8:27 am

getting apps in wine to access a network computer

Post by orosman »

I've installed a windows application in wine. To use it properly, I need it to access a server/pc on the network. How do I do this? Please help. I'm using ubuntu linux 11.10?
Martin Gregorie

getting apps in wine to access a network computer

Post by Martin Gregorie »

On Mon, 2012-01-23 at 23:48 -0600, orosman wrote:
I've installed a windows application in wine. To use it properly, I
need it to access a server/pc on the network. How do I do this? Please
help. I'm using ubuntu linux 11.10?

Run the server on the same PC. Check that all is well by looking to see
that using nmap or lsof to see that the server is listening on the
expected port. "nmap localhost" lists the active ports. Running "sudo
lsof" gives huge amounts of output, so try "sudo lsof |less" and look at
the info under the server's name.

When the server is running, simply configure your Wine app to look for
it on 'localhost'.


Martin
orosman
Level 1
Level 1
Posts: 5
Joined: Mon Jan 23, 2012 8:27 am

Re: getting apps in wine to access a network computer

Post by orosman »

Martin Gregorie wrote:On Mon, 2012-01-23 at 23:48 -0600, orosman wrote:
I've installed a windows application in wine. To use it properly, I
need it to access a server/pc on the network. How do I do this? Please
help. I'm using ubuntu linux 11.10?

Run the server on the same PC. Check that all is well by looking to see
that using nmap or lsof to see that the server is listening on the
expected port. "nmap localhost" lists the active ports. Running "sudo
lsof" gives huge amounts of output, so try "sudo lsof |less" and look at
the info under the server's name.

When the server is running, simply configure your Wine app to look for
it on 'localhost'.


Martin
The PC or server needed to be accessed is on a network that runs windows xp and the application that I'm trying to get to access the server application on the network runs on a machine the latest ubuntu. I'm don't quite understand what you mean, or where to go to what you mentioned. any step by step way to get the windows app in wine to access the network pc? I'm a bit new to this.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: getting apps in wine to access a network computer

Post by dimesio »

orosman wrote:I've installed a windows application in wine. To use it properly, I need it to access a server/pc on the network. How do I do this? Please help. I'm using ubuntu linux 11.10?
http://www.winehq.org/docs/wineusr-guid ... ure#AEN725
orosman
Level 1
Level 1
Posts: 5
Joined: Mon Jan 23, 2012 8:27 am

Re: getting apps in wine to access a network computer

Post by orosman »

dimesio wrote:
orosman wrote:I've installed a windows application in wine. To use it properly, I need it to access a server/pc on the network. How do I do this? Please help. I'm using ubuntu linux 11.10?
http://www.winehq.org/docs/wineusr-guid ... ure#AEN725
I did went to the link mentioned,but I don't understand how to go about this or where to set the necessary changes. Is this done in terminal, if yes what will the steps be. Or do I make changes in " configure wine" or " browse c: drive"? Please assist.
Martin Gregorie

getting apps in wine to access a network computer

Post by Martin Gregorie »

The PC or server needed to be accessed is on a network that runs
windows xp and the application that I'm trying to get to access the
server application on the network runs on a machine the latest ubuntu.
OK, do you know the name of the server and the port used by the server
program you're trying to reach? If not, you need to get this information
before you go any further. If the server is on a different network you
probably need to know its FQDN (Fully Qualified Domain Name).

Assuming you do know its FQDN and the port number, the next question is:
can a program on your Ubuntu box see the server?

Can you ping it? Run "ping -c5 servername" to find out. Does traceroute
show a clean route to the server? Run "traceroute servername" to check
the route through the network? Does the servername resolve? Run "host
servername" the check. These are all standard Linux tools used for
diagnosing network problems.

If these don't work, you need to find out why and fix it: there's no
point in doing anything else if you've got a network problem. All this
stuff has nothing to do with Wine. Its just straightforward network
trouble shooting.

Once you can ping the server and/or see the route to it with traceroute,
does "nmap servername" show that the server process is active and
listening for connections? Again, if not, you need to talk to the
network people or the server sysadmin to get that fixed.

When that's all working, and nmap can see that the server program is
listening for connections, you should now have all the information you
need to configure your Wine App and have it connect to the server.

The above assumes that the remote network and server are using standard
Internet protocols (TCP/IP) and not some weird proprietary network
stuff. If it IS using weird stuff the approach I've described will work
but you'll have a few more hoops to jump through before things will
work.

Martin
orosman
Level 1
Level 1
Posts: 5
Joined: Mon Jan 23, 2012 8:27 am

help with network access/share in wine

Post by orosman »

I've managed to get my windows server to access shared folders in linux ubuntu and visa versa. But I still can't get wine to see and access the network. I don't understand what is meant in the wine user guide under network shares. Do I need to create folders? Is is possible for somebody to help me via skype or maybe google voice for assistance?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: help with network access/share in wine

Post by dimesio »

orosman wrote:I don't understand what is meant in the wine user guide under network shares. Do I need to create folders?
The user guide is pretty explicit. You need to create a unc directory if you don't have one, and then create a symlink in that directory to wherever you've mounted the network share:

Code: Select all

ln -s /mnt/smb/myserver/some unc/myserver/some
You do the above in the command line, substituting the actual paths.
orosman
Level 1
Level 1
Posts: 5
Joined: Mon Jan 23, 2012 8:27 am

unc directory

Post by orosman »

do I make the unc directory in terminal? or can it be done by opening home folder? is all this under file system? for creating these, I'll need the permissions?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: unc directory

Post by dimesio »

orosman wrote:do I make the unc directory in terminal? or can it be done by opening home folder? is all this under file system? for creating these, I'll need the permissions?
These are not Wine questions. Basic knowledge of how to use your OS is assumed here. If you don't know how to do these things, ask on your distro's support forum.
Locked