Re: [MeeGo-dev] Display manager like gdm or slim for multi-user login

2010-12-09 Thread CSJ
Hi,

when I use `uxlaunch -x` in .xinitrc and startx by `xinit`
and it can not auto-mount USB stick.

But after I modified
/usr/share/pilkit-1/actions/org.freedesktop.udisjs.policy
allow_any to yes.
It can works.

So I am wondering how could I auto-mount USB stick without modify the file?
and where uxlaunch without -x handle this permission issue?

thanks

2010/12/7 CSJ 

> Hi Auke,
>
> the -x option works for me,
>
> but now nautilus can not auto-mount USB storage.
> I am wondering if something not do when using "-x" to start uxlaunch.
>
> Thanks,
> CSJ
>
> 2010/12/7 CSJ 
>
> Oh thanks,
>> I will try the "x" option.
>>
>>
>> 2010/12/7 Auke Kok 
>>
>> On 12/06/10 03:35, CSJ wrote:
>>>
>>>> Hi, all
>>>>
>>>> I see meego-dm source /etc/sysconfig/desktop.
>>>> if DISPLAYMANAGER=GDM then it will execute it.
>>>>
>>>> so I modified meego-dm use slim as display manager.
>>>> but slim will execute ~/.xinitrc for X clients.
>>>>
>>>> How could I use .xinitrc to start a desktop as uxlaunch do?
>>>> cause the launch_user_session() is a little complicated.
>>>>
>>>> or say How could I make uxlaunch not to execute Xorg but only X clients.
>>>> then I can just execute like `uxlaunch --only-clients` in ~/.xinitrc.
>>>>
>>>
>>> Please look at the uxlaunch source code on gitorious, this feature is
>>> present and documented in the code:
>>>
>>> http://meego.gitorious.org/meego-os-base/uxlaunch/blobs/master/options.c
>>>
>>> Auke
>>>
>>
>>
>
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev


Re: [MeeGo-dev] Display manager like gdm or slim for multi-user login

2010-12-06 Thread CSJ
Hi Auke,

the -x option works for me,

but now nautilus can not auto-mount USB storage.
I am wondering if something not do when using "-x" to start uxlaunch.

Thanks,
CSJ

2010/12/7 CSJ 

> Oh thanks,
> I will try the "x" option.
>
>
> 2010/12/7 Auke Kok 
>
> On 12/06/10 03:35, CSJ wrote:
>>
>>> Hi, all
>>>
>>> I see meego-dm source /etc/sysconfig/desktop.
>>> if DISPLAYMANAGER=GDM then it will execute it.
>>>
>>> so I modified meego-dm use slim as display manager.
>>> but slim will execute ~/.xinitrc for X clients.
>>>
>>> How could I use .xinitrc to start a desktop as uxlaunch do?
>>> cause the launch_user_session() is a little complicated.
>>>
>>> or say How could I make uxlaunch not to execute Xorg but only X clients.
>>> then I can just execute like `uxlaunch --only-clients` in ~/.xinitrc.
>>>
>>
>> Please look at the uxlaunch source code on gitorious, this feature is
>> present and documented in the code:
>>
>> http://meego.gitorious.org/meego-os-base/uxlaunch/blobs/master/options.c
>>
>> Auke
>>
>
>
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev


Re: [MeeGo-dev] Display manager like gdm or slim for multi-user login

2010-12-06 Thread CSJ
Oh thanks,
I will try the "x" option.


2010/12/7 Auke Kok 

> On 12/06/10 03:35, CSJ wrote:
>
>> Hi, all
>>
>> I see meego-dm source /etc/sysconfig/desktop.
>> if DISPLAYMANAGER=GDM then it will execute it.
>>
>> so I modified meego-dm use slim as display manager.
>> but slim will execute ~/.xinitrc for X clients.
>>
>> How could I use .xinitrc to start a desktop as uxlaunch do?
>> cause the launch_user_session() is a little complicated.
>>
>> or say How could I make uxlaunch not to execute Xorg but only X clients.
>> then I can just execute like `uxlaunch --only-clients` in ~/.xinitrc.
>>
>
> Please look at the uxlaunch source code on gitorious, this feature is
> present and documented in the code:
>
> http://meego.gitorious.org/meego-os-base/uxlaunch/blobs/master/options.c
>
> Auke
>
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev


[MeeGo-dev] Display manager like gdm or slim for multi-user login

2010-12-06 Thread CSJ
Hi, all

I see meego-dm source /etc/sysconfig/desktop.
if DISPLAYMANAGER=GDM then it will execute it.

so I modified meego-dm use slim as display manager.
but slim will execute ~/.xinitrc for X clients.

How could I use .xinitrc to start a desktop as uxlaunch do?
cause the launch_user_session() is a little complicated.

or say How could I make uxlaunch not to execute Xorg but only X clients.
then I can just execute like `uxlaunch --only-clients` in ~/.xinitrc.

Thanks,
CSJ
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev


[MeeGo-dev] meego-tools build script handle wrong dependency

2010-11-17 Thread CSJ
Hi all

My /usr/bin/build is from build package build-2010.08.04

I wrote a spec that contains
BuildRequires: kernel-netbook-devel

and I have 3 version kernels in my own pool:

kernel-netbook-2.6.35-10.3.10
kernel-netbook-2.6.35-10.3.11
kernel-netbook-2.6.35-10.3.12
kernel-netbook-devel-2.6.35-10.3.10
kernel-netbook-devel-2.6.35-10.3.11
kernel-netbook-devel-2.6.35-10.3.12

So I expect when I build the spec it will use the latest kernel-devel
eg. kernel-netbook-2.6.35-10.3.12 and kernel-netbook-devel-2.6.35-10.3.12

but when I use /usr/bin/build to build my package.
It output messages as:
Installing kernel-netbook-devel-2.6.35-10.3.10
Installing kernel-netbook-2.6.35-10.3.12

Why the build script mess up the kernel-netbook and kernel-netbook-devel
dependency?
Does anyone has the same issue or suggestion to fix the problem?

thanks in advanced.
CSJ
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev


Re: [MeeGo-dev] libglx.so for virtualbox

2010-10-29 Thread CSJ
Hi, Haitao,

Thanks a lot.

2010/10/28 Feng, Haitao 

> Hi CSJ,
>
> You need to modify and build the Xorg code to get libglx.so.
>
> The modification is in:
>xserver/glx/glxdriswrast.c:__glXDRIscreenProbe,
> change from
>screen->base.GLXmajor = 1;
>screen->base.GLXminor = 4;
> to
>screen->base.GLXmajor = 1;
>screen->base.GLXminor = 2;
>
> This is only for MeeGo 05-24 image. Currently the issue has been fixed and
> clutter could be started up by software rendering, so for latest MeeGo
> netbook
> image, you do not need this step any more. However, you still need to set
> the
> suid for guest Xorg.
>
> Thanks
> -Haitao
>
> On Thu, Oct 28, 2010 at 02:08:46PM +0800, CSJ wrote:
> > Hi, all
> >
> > In Meego wiki:
> > http://wiki.meego.com/MeeGo_1.0_Netbook_VirtualBox
> >
> > mentioned Download Libglx.so.gz
> >   Replace libglx.so for an X issue, this libglx.so will put glx version
> to 1.2,
> > instead of 1.4.
> >
> > is there any source code of this libglx.so?
> > Or say, where does this libglx.so com from?
> >
> > Thanks,
> > CSJ
> >
>
> > ___
> > MeeGo-dev mailing list
> > MeeGo-dev@meego.com
> > http://lists.meego.com/listinfo/meego-dev
>
>
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev


[MeeGo-dev] libglx.so for virtualbox

2010-10-27 Thread CSJ
Hi, all

In Meego wiki:
http://wiki.meego.com/MeeGo_1.0_Netbook_VirtualBox

mentioned Download Libglx.so.gz <http://wiki.meego.com/images/Libglx.so.gz>
  Replace libglx.so for an X issue, this libglx.so will put glx version to
1.2, instead of 1.4.

is there any source code of this libglx.so?
Or say, where does this libglx.so com from?

Thanks,
CSJ
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev