CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Linux
Discussion about CrossOver Linux

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Run command to run a project on win10_64 bottle via command line

Hi Crossover Team, I am facing a problem and I need your help. I have a windows 10_64 bottle installed on my linux system. I have an unlisted application installed in the bottle too that I want to run. It contains a .exe and another folder (lets call it 'x' for namesake) with some libraries that are needed to run the .exe successfully. I aim to run it only via the command line. The unlisted application and other required softwares were installed in the botle in a gui-based environment and then archived, then copied onto a non-gui based environment where i aim to run the bottle strictly via the terminal. The folder 'x' exists in ~/.cxoffice/bottle_name/ directory (not inside drive_c).

I have installed XVFB to help with the UI requirements on the non-gui based environment. When I run "cxrun" command with the bottle name and the command, Crossover doesnt seem to be able to execute the run command. I think it opens up the ui in a display (which i cannot see) on xvfb and waits for an I/O from the user. What would you suggest I do to run this bottle strictly without ui and only via the terminal/command-line?

Correction: the folder 'x' is inside drive_c of the bottle. It's installed correctly. The error still persists as described.

Aryan Raveshia wrote:

Hi Crossover Team, I am facing a problem and I need your help. I have a windows 10_64 bottle installed on my linux system. I have an unlisted application installed in the bottle too that I want to run. It contains a .exe and another folder (lets call it 'x' for namesake) with some libraries that are needed to run the .exe successfully. I aim to run it only via the command line. The unlisted application and other required softwares were installed in the botle in a gui-based environment and then archived, then copied onto a non-gui based environment where i aim to run the bottle strictly via the terminal. The folder 'x' exists in ~/.cxoffice/bottle_name/ directory (not inside drive_c).

I have installed XVFB to help with the UI requirements on the non-gui based environment. When I run "cxrun" command with the bottle name and the command, Crossover doesnt seem to be able to execute the run command. I think it opens up the ui in a display (which i cannot see) on xvfb and waits for an I/O from the user. What would you suggest I do to run this bottle strictly without ui and only via the terminal/command-line?

Good afternoon Aryan.

Have you tried this with a simpler setup? E.g. like this:

  • Debian system
  • User "vbox"
  • Win10_64 bottle named "HelloWorld"
  • Directory "c:\cxrunTarget" containing a HelloWorld64.exe , a console only program printing some text
  • /opt/cxoffice/bin/cxrun --bottle=HelloWorld --command=/home/vbox/.cxoffice/HelloWorld/dosdevices/c:/cxrunTarget/HelloWorld64.exe

Does that work?

A thought:
If there is no active CrossOver license on your system where you execute cxrun then a pop-up may appear asking for license activation, could be that this is the where it hangs?

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy.
You can accept the use of cookies or other identifiers by clicking the Accept button. By clicking Reject, this disables 3rd party tracking.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzUwNjkyMDk4LCJjc3JmX3Rva2VuIjoiTXU1SEVwc1doUExNU1hzNiIsImdkcHIiOm51bGx9