@related TizeN
Setup Xephyr
1. Install Xephyr onto host:
sudo apt-get install xserver-xephyr
2. Create network device-host through usb0: 2.1 On tizen device switch ssh on:
sdb shell set_usb_debug.sh --sshon
Since turn ssh on you can't use *sdb shell*. You should to turn ssh off if you want to use *sdb shell* by the command:
sdb shell set_usb_debug.sh --sshoff
2.2 On host set up usb0 network:
sudo ifconfig usb0 192.168.129.1
Check that target device connect like ethernet interface usb0 with IP 192.168.129.1.This interface can disappear form time to time. In this case you can use following bash script:
#!/bin/sh while true; do sleep 8 sudo ifconfig usb0 192.168.129.1 done
3. On client side open terminal and connect to host through ssh with X11 forwarding:
ssh -X login@host_ip
4. Since you successfully logged in and have been droped to ssh command prompt, you should to run Xephyr in background mode:
Xephyr -ac -br -noreset -screen 800x600 :1 &
5. Then, you should to connect to device through ssh:
ssh root@192.168.129.3
6. Great job. Now you can run any Tizen application onto Xephyr, set DISPLAY environment variable before command:
DISPLAY=192.168.129.1:1.0 /usr/apps/org.tizen.message/bin/message
or
DISPLAY=192.168.129.1:1.0 xclock