> For the complete documentation index, see [llms.txt](https://docs.codeocean.com/user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codeocean.com/user-guide/cloud-workstation/launching-a-cloud-workstation/using-ubuntu-desktop-in-code-ocean.md).

# Using Ubuntu Desktop in Code Ocean

The Ubuntu Desktop Cloud Workstation provides a desktop-like environment in Code Ocean ideal for using Ubuntu desktop-compatible apps, running servers (e.g. Flask Apps), or having simultaneous access to programming tools and the web via Firefox.

## Preparing to launch a Ubuntu Desktop Cloud Workstation <a href="#launching-a-terminal-cloud-workstation" id="launching-a-terminal-cloud-workstation"></a>

To launch an **Ubuntu Desktop Cloud Workstation**, your Capsule must use a Starter Environment with Ubuntu Desktop pre-installed such as the one shown below. Refer to the [Selecting A Starter Environment](/user-guide/setting-up-the-environment/starter-environment.md) section for more guidance on the appropriate Starter Environment.

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/v92rf8CndguTctnsfDQx/Screenshot%202024-02-16%20at%2010.32.16%20PM.png" alt=""><figcaption></figcaption></figure>

If an unsupported Starter Environment is selected and you attempt to open the **Ubuntu Desktop Cloud Workstation**, an error message will appear, as shown in the image below.

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/nXo79i8BcDfHZCZmbXFL/Screenshot%202024-02-16%20at%2010.30.27%20PM.png" alt="" width="563"><figcaption></figcaption></figure>

## Launching an Ubuntu Desktop Cloud Workstation

After selecting your Starter Environment, select the **Ubuntu Desktop Cloud Workstation** icon to access a desktop view of your Capsule.

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/PY7O2PxCekkaEiKhaqXZ/Screenshot%202024-02-16%20at%2010.28.37%20PM.png" alt="" width="375"><figcaption></figcaption></figure>

Once launched, you will see the Ubuntu Desktop interface, providing full access to the desktop environment.

<figure><img src="https://content.gitbook.com/content/JBvQzbhmtTYD6eK7t7ko/blobs/E1r31Sq1iL4UxieOsH3r/Screenshot%202024-02-16%20at%2010.36.26%20PM.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.codeocean.com/user-guide/cloud-workstation/launching-a-cloud-workstation/using-ubuntu-desktop-in-code-ocean.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
