Recently, Xilinx releases Ubuntu version for KRIA KV260. I am excited and want to share some experiences about it.
In this project, I want to connect Kria KV260 through an ethernet port because I don’t have any additional monitors. There are different ways to access a remote desktop on Kria KV260. This is one of the ways.
I have done all the steps on my pc which runs Ubuntu18.
How it workSetup the image file
Firstly, you need to setup SD card image ubuntu
Download the ubuntu image iot-kria-classic-desktop-2004-x03-20211110-98.img.xz from
https://ubuntu.com/download/xilinx
Download balena Etcher for flashing ubuntu image
Run balena Etcher and flash .image to SD card.
First run Linux
When your card is flashed then put it in KV260 slot and turn it on. Then, we can connect the board using UART with putty.
sudo putty /dev/ttyUSB1 -serial -sercfg 115200,8,n,1,N
First login default
Username: ubuntu
Password: ubuntu
Then the system asks you to change the password.
From the terminal, you can see what is the IP address of the board. In this KV260, the IP address is 192.168.0.170
Connect via ethernet
First, set the ip of the client (our pc).
nm-connection-editor
Select the ethx that connects to the board and change ip address to be in the same local network. For my pc I use:
Don’t forget to change the method to Shared to other computers for connecting to the internet.
Now, try ping 192.168.0.123 on the KV260 to check that it successfully connects to the PC.
Install X2Go on Server (KV260)
To access the remote desktop, we need to install X2Go for both server (KV260) and the client (PC). First, let install it on the server by running this:
sudo apt-get install software-properties-common
Add X2GO PPA repository then update and install it.
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
Install X2Go on Client (PC)
We need to install X2Go on the client so that we can connect to the KV260.
sudo apt-get install x2goclient
Before running x2go, we need to install a desktop environment. There are several graphic desktop environments that are available for x2go. But, I prefer to install minimal environments, MATE. You can install the full version or only binding environments.
To install MATE environment run:
sudo apt-get install x2gomatebindings
Or full MATE:
sudo apt install mate-core mate-desktop-environment mate-notification-daemon
Now, we are ready to run the application
sudo x2goclient
You will see :
Setting:
Host: ip address of KV260
Login: ubuntu
SSH port: default is 22. You can change your settings on /etc/ssh/sshd_config
Session type: choose the environment that you installed.
Click ok then you will get a login screen.
Log in with the password that you set on KV260.
Then
Now, you can access the remote desktop with MATE graphics on KV260.
Details
For x2go
https://wiki.x2go.org/doku.php
For ubuntu on kv260
Comments