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

If you are running Wayland and you cannot register because of a DISPLAY env error, do this:

You might have to find your userid if it differs from mine (1000), to do that, just type:
$ id
and you want the number for your "uid" in the path below for XDG_RUNTIME_DIR=/run/user/<id goes here> see below:

The sudo -H flag: Request that the security policy set the HOME environment variable to the home directory specified by the target user's password database entry. You may not need this flag.
The sudo -E flag for sudo retains env variables you pass to it while it is running under sudo

2 issues happen here often is that your DISPLAY isn't set automatically under sudo (at least mine isn't) and the other issue is that if you try to register and you are using a global installation such as the .deb file, or from arch linux aur, it will not have the proper permissions to make changes.

The following command is what allowed me to use /opt/cxoffice/bin/cxregister and login with my credentials and successfully register. One could always go the route of installing in their home directory, but to each their own computer.

sudo -HE DISPLAY=:0 XDG_RUNTIME_DIR=/run/user/1000 /opt/cxoffice/bin/cxregister

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...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzUwNjkyMDk4LCJjc3JmX3Rva2VuIjoiVldLNk5yaGZMMmJ3Szg5OCIsImdkcHIiOm51bGx9