Skip to content

Commit 1c62122

Browse files
author
Sam Alarie
authored
Create basic-usage.md
1 parent 65dd9b5 commit 1c62122

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

udroid-landing/basic-usage.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### Basic Usage
2+
| **Command** | **Usage** |
3+
|--------------------|-----------|
4+
| `udroid` | To login to shell |
5+
| `udroid upgrade` | to upgrade fs or to get new features if available |
6+
| `startvnc` | start vncserver at port `1` (you can change default port by exporting env varaible `DEFAULT_VNC_PORT` to a port number) |
7+
| `udroid stopvnc` | stop vncserver at given or default port `1`
8+
| `udroid --enable-dbus` | To start udroid with dbus hack enabled |
9+
| `udroid --enable-dbus-vnc` | To start vnc session with dbus hack enabled |
10+
11+
## Environment Variables
12+
- `DEFAULT_VNC_PORT` to set vnc port for scripts
13+
- `HIPPO_BRANCH` to set custom branch for cloning code
14+
15+
#### Alt way to login
16+
```bash
17+
proot-distro login udroid --bind /dev/null:/proc/sys/kernel/cap_last_cap
18+
```

0 commit comments

Comments
 (0)