> ## Documentation Index
> Fetch the complete documentation index at: https://marinabox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Live Session Viewing

> View live MarinaBox sessions using the SDK

## Live Session Viewing

MarinaBox provides VNC-based live viewing capabilities for all sessions. You can get session details using either the SDK or CLI and view them in your browser.

### Using the CLI

```bash theme={null}
mb local get-session abc123xyz
```

### Python SDK

```python theme={null}
from marinabox import MarinaboxSDK

sdk = MarinaboxSDK()

# Get session details
session = sdk.get_session("abc123xyz")
vnc_port = session.vnc_port

print(f"View session at: http://localhost:{vnc_port}")
```

### Example Output

```python theme={null}
{
    "session_id": "abc123xyz",
    "vnc_port": 5004,
    "status": "running",
    "resolution": "1200x800x24"
    # ... other fields
}
```

### Direct Browser Viewing

Once you have the VNC port, open your browser and navigate to:

```
http://localhost:{vnc_port}
```

***

### Get Support & Join Our Community

* Discord: [https://discord.gg/nAyFBSSU87](https://discord.gg/nAyFBSSU87)
* Email: [askmarinabox@gmail.com](mailto:askmarinabox@gmail.com)
