Frequently Asked Questions
How can I upload a file to the virtual machine ?
Click on the up arrow below the terminal. The file(s) will be
copied to your home directory.
Note: file upload only works in the Linux VMs.
How can I export a file from the virtual machine ?
Use the export_file filename
shell command.
Note: file export only works in the Linux VMs.
How can I copy and paste data to the web terminal ?
To copy data, just select it with the mouse and use the "Copy"
contextual menu (right click). To paste data, right click on the
terminal cursor to show the contextual menu and select
"Paste". Alternatively, you can use the "Paste" command in the
navigator global menu.
Note: copy/paste of files is not supported. Copy/paste is only
supported in the console Linux VMs.
How can I use the web terminal on a mobile device ?
Touch the terminal window to show the virtual keyboard. In order to
use control keys, you may have to install a specific virtual
keyboard (such
as Hacker's
Keyboard on Android).
Can I access to the network from the virtual machine ?
Yes it is possible. It uses the websocket VPN offered by Benjamin
Burns (see
his blog). The
bandwidth is capped to 40 kB/s and at most two connections are
allowed per public IP address. Please don't abuse the service.
Can I run the virtual machines with
TinyEMU
?
Yes. Use the VM Config URL provided in
the Virtual Machine list. Then use it as
configuration file for the standalone emulator, e.g.:
temu https://bellard.org/jslinux/buildroot-x86-xwin.cfg
temu https://bellard.org/jslinux/buildroot-riscv64-xwin.cfg
Can I change the amount of RAM of the web virtual machine ? Can
I change the size of the terminal ?
Yes. There are many options that can be selected just by adding
parameters to the URL. For example:
https://bellard.org/jslinux/vm.html?cpu=x86&url=buildroot-x86.cfg&mem=128&cmdline=TEST%3d1
- url sets the virtual machine filesystem URL
- mem sets the memory size in MB
- cpu selects the cpu type: x86, riscv64 or riscv32 (default = x86)
- cols number of columns of the terminal (default = 80)
- rows number of lines of the terminal (default = 30)
- font_size font size in pixels (default = 15)
- graphic 0=terminal GUI, 1=frame buffer GUI (default = 0)
- w width in pixels of the frame buffer (only meaningful with graphic=1)
- h height in pixels of the frame buffer (only meaningful with graphic=1)
- cmdline adds parameters to the kernel command
line (you can get them as environment variables if the kernel
does not use them). Use the URL escape
%3d
for
the "=" character. The following variables are recognized by
the VM init script:
- KBMAP set the default keyboard mapping in X window or in the Linux frame buffer console (.e.g fr, us, de, ...).
- net_url sets the URL of the websocket VPN. An
empty value disables network access. A default VPN URL
is set if the option is not present.
How to set the keyboard mapping in the X11 GUI ?
Use the menu available with the mouse right click. If your country
is not listed, you can try to type the command:setxkbmap
-layout x
where x
is the country code of your
keyboard mapping.
If your keyboard is still not working correctly, it means your
browser does not return the PC hardware keycodes needed to emulate a
PC keyboard. You can still use the virtual keyboard (available in
the right click menu).
How to set the keyboard mapping in the Windows 2000 demo ?
Right click on the EN
icon near the clock (bottom right
of the screen), select properties, add the wanted keyboard and select it.
If your keyboard is still not working correctly, it means your
browser does not return the PC hardware keycodes needed to emulate a
PC keyboard.
Alternatively, you can use the on-screen-keyboard (its icon is on
the desktop).
Why is the [Alt] key not working as expected in Firefox ?
In older Firefox versions the [Alt] key is always intercepted by the
browser to display the menu. Upgrade to a more recent Firefox
version to have the problem fixed.