Connect to resources from a command line or browser

You create connections to servers when you click on a desktop or application icon on the Citrix Workspace app home page. In addition, you can open connections from a command line or from a web browser.

To create a connection to a Program Neighborhood or StoreFront server using a command line

As a prerequisite, ensure that the store is known to Citrix Workspace app. If necessary, add it using the following command:

./util/storebrowse –addstore <store URL>

  1. Obtain the unique ID of the desktop or application that you want to connect to. This is the first quoted string on a line acquired in one of the following commands:

    • List all of the desktops and applications on the server:

      ./util/storebrowse -E <store URL>

    • List the desktops and applications that you have subscribed to:

      ./util/storebrowse -S <store URL>

  2. Run the following command to start the desktop or application:

    ./util/storebrowse –L <desktop or application ID> <store URL>

If you cannot connect to a server, your administrator might need to change the server location or SOCKS proxy details. For more information, see Connect through a proxy server.

To create a connection from a web browser

Configuration for starting sessions from a web browser is typically carried out automatically during installation. Because of the wide variety of browsers and operating systems, some manual configuration can be required.

If you set up .mailcap and MIME files for Firefox, Mozilla, or Chrome manually, use the following file modifications so that .ica files start up the Citrix Workspace app executable, wfica. To use other browsers, modify the browser configuration accordingly.

  1. Run the following commands for non-administrator installation of Citrix Workspace app. The settings of ICAROOT might be changed if they are installed to a non-default location. You can test the result with the command “xdg-mime query default application/x-ica,” which must return “wfica.desktop.”

    setenv ICAROOT=/opt/Citrix/ICAClient
    
    xdg-icon-resource install --size 64 “$ICAROOT/icons/000\_Receiver_64.png Citrix Workspace app”
    
    xdg-mime default wfica.desktop application/x-ica
    
    xdg-mime default new\_store.desktop application/vnd.citrix.receiver.configure
    
  2. Create or extend the file /etc/xdg/mimeapps.list (for administrator installation) or $HOME/.local/share/applications/mimeapps.list (mimeapps.list). The file must start with [Default Applications], and follow by:

    application/x-ica=wfica.desktop;

    application/vnd.citrix.receiver.configure=new_store.desktop;

    You might need to configure Firefox on its Preferences/Applications setting page. For “Citrix ICA settings file content,” select “Citrix Workspace app Engine (default)” in the pull-down menu. Or select “Use other …” and then select the file /usr/share/applications/wfica.desktop (for an administrator installation of Citrix Workspace app) or $HOME/.local/share/applications/wfica.desktop (for a non-administrator installation).

Connect to resources from a command line or browser