整理下思路(8)

Meego启动分辨率问题

分辨率由启动X11 Server的配置文件确定,因而适当设置xorg.conf.d目录下的文件应该可以解决分辨率问题,不过还是必须通过调试验证才能确定正确的参数,一种可行的配置如下:

Section "Monitor"
Identifier "Configured Monitor"
EndSection


Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
DefaultDepth 16
SubSection "Display"
    Depth   16
    Modes   "1024x768"
EndSubSection
EndSection


Section "Device"
Identifier "Configured Video Device"
Driver "fbdev"
Option "fb" "/dev/fb2"
EndSection
标红的设置决定显示分辨率


Meego开机启动过程

参见博客http://www.lupaworld.com/home-space-uid-112536-do-blog-id-237839.html

Meego开机启动过程通过uxlauch启动图形和整个系统,而startx启动了 twm这样一个丑陋的窗口管理器。

摘自博客:

uxlaunch.c在一开始调用了get_options(argc, argv),在options.c 文件中查找这个函数,发现这个函数也就是打开 /etc/sysconfig/uxlaunch 这个文件,读取里面的配置,在这个文件中默认指定了user=meegosession=/usr/bin/mutter --sm-disable。 从main() 函数中调用的函数的名字可以看出,无非就是启动Xserver,然后再启动 user X session

通过查看先前下载的MEEGO源码,的确如此。






你可能感兴趣的:(server,session,user,video,图形,meego)