Screen0_output_mode selects the video/monitor mode to use (resolution and refresh rate). Screen0_output_type = 3 means HDMI output. Generally this is 0, which means use screen0 with fb0 (one screen). The settings in the section of the script.bin/fex file define the display output enabled at boot.ĭisp_mode selects single-screen output or different dual screen modes. I should run `startx' command manually to get a gray blank screen with a black mouse and right-click ability!īut I like this happens automatically after booting! I searched my OS docuements and found this: script.bin/fex file conf files within etc/modprobe.d and etc/modules-loud.d, also in share/X11/ directories, and after booting system I can see my LCD turns on (only blank black screen), like when I ran this command: sudo modprobe fbtft_device custom name=fb_ili9341 gpios=reset:1,dc:201,led:6 speed=16000000 rotate=90 bgr=1īut nothing more. Session optional pam_ck_connector.Sorry if I used wrong subject, but my problem is explained completely here: My /etc/pam.d/common-session does not contain pam_loginuid: What does ck-list-sessions show for you after logging in on the terminal (before running startx), and after running startx? Session optional pam_ck_connector.so nox11 d/common- session does not contain pam_loginuid: This seems to work fine for me under natty (I did an upgrade from maverick, not a fresh install). etc/X11/Xsession.d# dbus-send -system -dest= -type=method_call -print-reply -reply-timeout=2000 /org/freedesktop/ConsoleKit/Manager .GetCurrentSessionĮrror .GeneralError: Unable to lookup session information for process '5533' I'm not sure if I should be concerned about this or not. GeneralError: Unable to lookup session information for process '5533' ConsoleKit -type=method_call -print-reply -reply- timeout= 2000 /org/freedeskto p/ConsoleKit/ Manager org.freedesktop. d# dbus-send -system -dest= org.freedesktop. Out of curiosity, I tried manually running the dbus commands used in the new script, but I get an error: Using the new Lucid script, I get two Sessions after running X from the command line, as expected: This appears to have been fixed in Lucid, which provides an updated 90consolekit script similar to the one above, but using a dbus call instead of ck-list-sessions to determine whether a session has already been started. On-since = '2009-11- 14T22:10: 32.525471Z'Īnother (less trivial) solution would be to patch ck-launch-session to allow updating the existing session with the appropriate X display information, then always run ck-launch-session from 90consolekit to perform this update. Using this script, I get my expected permissions, and 'ck-list-sessions' shows: This will prevent a duplicate CK session from being created when logging in via GDM (which already creates an appropriately populated CK session), but allows an additional CK session to be created when 'startx' is run from a text console (with a CK session that is not appropriately populated). This script checks for an existing CK session that is populated with an appropriate x11-display-device, and if one is not present, it creates a new session. d/90consolekit with something like the following:ĬK_GET_ X11_DISPLAY_ DEVICE= /usr/lib/ ConsoleKit/ ck-get- x11-display- deviceĬK_LIST_ SESSIONS= /usr/bin/ ck-list- sessionsĬK_LAUNCH_ SESSION= /usr/bin/ ck-launch- session I believe the simplest solution is to replace the current /etc/X11/ Xsession. I expect to have the same permissions whether I login via GDM, or login via a text console, then run 'startx'. Running 'ck-list-sessions' from within X shows: If I then run 'startx' (if I'm not running GDM, or 'startx :1' if I am running GDM), I do not have my normal permissions, because my session is not marked 'active', because my session has not been populated with the appropriate X device information. If I login to a text console, a ConsoleKit session is created for that terminal. Using consolekit 0.3.1-0ubuntu2 in Karmic.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |