...
To bring a WiFi interface up, run the following :
Code Block |
---|
$ ifconfig wlan0 up |
To discover your wireless network interface name, see Network Interfaces.
Install the wpa_supplicant package:
Code Block |
---|
$ apt-get install wpasupplicant |
...
Install the Weston package.
Code Block $ sudo apt install weston
Make a directory for the output of the Weston GUISet the XDG_RUNTIME_DIR env param.
Code Block $ mkdircat << 'EOF' > /youretc/directory/location
Give permissions to this directory.
Code Block $ chmod 0700 /your/directory/location
Set the XDG_RUNTIME_DIR env param to your directory.
Code Block $ su -c 'echo XDG_RUNTIME_DIR=/your/directory/location >> /etc/environment'
Run Weston.
Code Block $ weston
profile.d/weston.sh if test -z "$XDG_RUNTIME_DIR"; then export XDG_RUNTIME_DIR=/run/user/`id -u` if ! test -d "${XDG_RUNTIME_DIR}"; then # Make a directory for the output of the Weston GUI mkdir --parents "${XDG_RUNTIME_DIR}" chmod 0700 "${XDG_RUNTIME_DIR}" fi fi EOF
Restart the system
Code Block reboot
Start Weston (must be run from the Dissplay Terminal)
Code Block weston
Run the weston
command from the Dissplay Terminal using keyboard (PHYSICAL TERMINAL not serial session or remote connection)
For working with GNOME GUI on top of Xorg:
Install Xorg.
Code Block $ sudo apt install xorg
Install your desired gnome.
Code Block $ sudo apt install gnome-session
NOTE: ‘gnome-session’ is an example of gnome that we can work with, you can replace the ‘session' with another GNOME extention.
Start your GNOME GUI.
Code Block $ sudo systemctl start gdm
For logging in you need a user on your device to log into it. You can create one before step 3 by this command (replace the ‘username’ with name that you want) :
Code Block $ sudo adduser username
You can jump between GUIs that you install (like gnome-session) by the setting button that locates in the down right corner of the home screen.