X Window System / X11 server for Android, complete and fully functional, with PulseAudio server included.
You may use it to stream applications from your Linux PC, or to launch Linux installed on your Android (installing Linux is done via separate app).
3D acceleration and OpenGL are not supported. If you're launching X clients from PC, you can install VirtualGL to use OpenGL.
Touch screen with two fingers to send right mouse button click, with three fingers to send middle button click. You can also press button on your stylus, or use Bluetooth mouse.
Swipe with two fingers to scroll documents.
Finger hover is supported on select devices. If you have Galaxy S4/Note 3 device, enable AirView in system settings to use it.
To invoke keyboard, press Back key. Non-English text input is not supported in terminal, but it works in GUI applications.
If you don't see Back key, swipe up from the bottom of the screen.
If you have hardware Menu key, it will send Ctrl-Z (Undo in most apps).
You can disable gyroscope in Mouse emulation → Advanced → Gyroscope.
You can enable portrait screen orientation and 24bpp color depth in Change device config → Video.
To set custom display number, go to Change device config → Data installation location → Specify directory → do not change directory, press OK → change parameters to XSDL :1234, press OK, where 1234 is your display number. You may also pass other parameters to Xserver using this dialog.
To connect to the display manager on your PC, add parameter -query your.PC.IP.address to the Xserver command line, then configure your display manager.
If you have XDM, you will need to remove a line starting with :0 from /etc/X11/xdm/Xservers , add * to /etc/X11/xdm/Xaccess , and set DisplayManager*authorize: false in /etc/X11/xdm/xdm-config , to disable local X server and allow connections from external IP addresses.
If you want SHM extension to work in Linux chroot - download file libandroid-shmem.so from here:
https://github.com/pelya/cuntubuntu/tree/master/dist
copy it to chroot, set executable flag, and execute this in chroot before other commands:
export LD_PRELOAD=/path/to/libandroid-shmem.so
.APK file for side-loading and old versions:
https://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/
Sources:
https://github.com/pelya/commandergenius/tree/sdl_android/project/jni/application/xserver
เซิร์ฟเวอร์ X Window System / X11 สำหรับ Android สมบูรณ์และทำงานได้อย่างสมบูรณ์พร้อมเซิร์ฟเวอร์ PulseAudio ที่ให้มา
คุณสามารถใช้มันเพื่อสตรีมแอพพลิเคชั่นจากพีซี Linux ของคุณหรือเพื่อเปิดใช้งาน Linux ที่ติดตั้งบน Android ของคุณ
ไม่รองรับการเร่ง 3D และ OpenGL หากคุณเปิดตัวไคลเอนต์ X จากพีซีคุณสามารถติดตั้ง VirtualGL เพื่อใช้ OpenGL
หน้าจอสัมผัสด้วยสองนิ้วเพื่อส่งคลิกเมาส์ปุ่มขวาด้วยสามนิ้วเพื่อส่งปุ่มกลางคลิก คุณยังสามารถกดปุ่มบนสไตลัสของคุณหรือใช้เมาส์บลูทู ธ
ปัดด้วยสองนิ้วเพื่อเลื่อนเอกสาร
รองรับการเลื่อนนิ้วบนอุปกรณ์ที่เลือก หากคุณมีอุปกรณ์ Galaxy S4 / Note 3 ให้เปิดใช้งาน AirView ในการตั้งค่าระบบเพื่อใช้งาน
ในการเรียกใช้แป้นพิมพ์ให้กดปุ่มย้อนกลับ เทอร์มินัลไม่สนับสนุนการป้อนข้อความที่ไม่ใช่ภาษาอังกฤษ แต่ใช้งานได้ในแอปพลิเคชัน GUI
หากคุณไม่เห็นปุ่มย้อนกลับให้ปัดขึ้นจากด้านล่างของหน้าจอ
หากคุณมีปุ่มเมนูฮาร์ดแวร์มันจะส่ง Ctrl-Z (เลิกทำในแอพส่วนใหญ่)
คุณสามารถปิดการใช้งานเครื่องวัดการหมุนวนใน การจำลองเมาส์ → ขั้นสูง → การหมุนวนได้
คุณสามารถเปิดใช้งานการวางแนวหน้าจอแนวตั้งและความลึกของสี 24bpp ใน เปลี่ยนการกำหนดค่าอุปกรณ์ → วิดีโอ
หากต้องการตั้งค่าหมายเลขแสดงที่กำหนดเองให้ไปที่ เปลี่ยนการกำหนดค่าอุปกรณ์ → ตำแหน่งการติดตั้งข้อมูล → ระบุไดเรกทอรี →อย่าเปลี่ยนไดเรกทอรีกด ตกลง →เปลี่ยนพารามิเตอร์เป็น XSDL: 1234 กด ตกลง โดยที่ 1234 คือหมายเลขแสดงผลของคุณ คุณสามารถส่งพารามิเตอร์อื่น ๆ ไปที่ Xserver โดยใช้กล่องโต้ตอบนี้
หากต้องการเชื่อมต่อกับเครื่องมือจัดการการแสดงผลบนพีซีของคุณให้เพิ่มพารามิเตอร์ -query your.PC.IP.address ในบรรทัดคำสั่ง Xserver จากนั้นกำหนดค่าเครื่องมือจัดการหน้าจอของคุณ
หากคุณมี XDM คุณจะต้องลบบรรทัดที่ขึ้นต้นด้วย : 0 จาก / etc / X11 / xdm / Xservers เพิ่ม * เพื่อ / etc / X11 / xdm / Xaccess และตั้งค่า DisplayManager * อนุญาต: false ใน / etc / X11 / xdm / xdm-config เป็น ปิดใช้งานเซิร์ฟเวอร์ X ในเครื่องและอนุญาตการเชื่อมต่อจากที่อยู่ IP ภายนอก
หากคุณต้องการให้ส่วนขยาย SHM ทำงานใน Linux chroot - ดาวน์โหลดไฟล์ libandroid-shmem.so จากที่นี่:
https://github.com/pelya/cuntubuntu/tree/master/dist
คัดลอกไปที่ chroot ตั้งค่าสถานะที่ปฏิบัติการได้และดำเนินการนี้ใน chroot ก่อนคำสั่งอื่น ๆ :
ส่งออก LD_PRELOAD = / path / to / libandroid-shmem.so
.APK ไฟล์สำหรับการโหลดข้างและเวอร์ชั่นเก่า:
https://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/
แหล่งที่มา:
https://github.com/pelya/commandergenius/tree/sdl_android/project/jni/application/xserver