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 (يتم تثبيت Linux عبر تطبيق منفصل).
لا يتم دعم تسريع ثلاثي الأبعاد و OpenGL. إذا كنت تقوم بتشغيل عملاء X من جهاز الكمبيوتر ، فيمكنك تثبيت VirtualGL لاستخدام برنامج OpenGL.
شاشة تعمل باللمس بإصبعين لإرسال زر الفأرة الأيمن ، مع ثلاثة أصابع لإرسال الزر الأوسط. يمكنك أيضًا الضغط على الزر الموجود على قلمك ، أو استخدام ماوس Bluetooth.
اسحب بإصبعين لتمرير المستندات.
تحريك الإصبع مدعوم على أجهزة محددة. إذا كان لديك جهاز Galaxy S4 / Note 3 ، فقم بتمكين AirView من إعدادات النظام لاستخدامه.
لاستدعاء لوحة المفاتيح ، اضغط على مفتاح رجوع. لا يتم دعم إدخال النص بخلاف اللغة الإنجليزية في الجهاز الطرفي ، لكنه يعمل في تطبيقات واجهة المستخدم الرسومية.
إذا كنت لا ترى مفتاح الرجوع ، اسحب لأعلى من أسفل الشاشة.
إذا كان لديك مفتاح قائمة الأجهزة ، فسوف يرسل Ctrl-Z (تراجع في معظم التطبيقات).
يمكنك تعطيل الجيروسكوب في مضاهاة الماوس → Advanced → Gyroscope .
يمكنك تمكين اتجاه الشاشة العمودي وعمق الألوان 24bpp في تغيير تكوين الجهاز → فيديو .
لتعيين رقم العرض المخصص ، انتقل إلى تغيير تكوين الجهاز → موقع تثبيت البيانات → حدد دليل → لا تقم بتغيير الدليل ، اضغط على موافق → قم بتغيير المعلمات إلى XSDL: 1234 ، اضغط على موافق ، حيث يمثل 1234 رقم العرض الخاص بك. يمكنك أيضًا تمرير معلمات أخرى إلى Xserver باستخدام مربع الحوار هذا.
للاتصال بمدير العرض على جهاز الكمبيوتر الخاص بك ، قم بإضافة المعلمة - الاستعلام عن ملفك .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 / إلى / 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