Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Autologin and autostart photon: (5 Items)
   
Autologin and autostart photon  
Hi,

can someone help me.
I try to include a autologin and autostart photon.

First i removed the password of user "root".
Second i included an new line on the end with "login -f root" into /etc/rc.d/rc.local.

Now the autologin work but photon don't start automaticly.
I have to start it manuall over Terminal.

In my second test i try to strart photon over shell but this also don't work.

I use QNX 6.4.1. 
Is the a other way to autologin and autostart photon?

Best regards,
Georg.
Re: Autologin and autostart photon  
1. Please read these docs: http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.photon_prog_guide/embed.html
These docs outline what you need to get photon running on a target.

2. Take a look at the stock /usr/bin/ph script -- you can examine the steps it takes to bring Photon up. You can 
manually do all these steps and identify why Photon doesn't start.

3. Use sloginfo utility for additional error information.

RE: Autologin and autostart photon  
I start it like this from rc.local

/usr/photon/bin/Photon -l '/usr/photon/bin/phlogin -O
-Uusername:password'

-----Original Message-----
From: Georg Matery [mailto:community-noreply@qnx.com] 
Sent: Thursday, May 12, 2011 10:18 AM
To: osmeta-core_os
Subject: Autologin and autostart photon

Hi,

can someone help me.
I try to include a autologin and autostart photon.

First i removed the password of user "root".
Second i included an new line on the end with "login -f root" into
/etc/rc.d/rc.local.

Now the autologin work but photon don't start automaticly.
I have to start it manuall over Terminal.

In my second test i try to strart photon over shell but this also don't
work.

I use QNX 6.4.1. 
Is the a other way to autologin and autostart photon?

Best regards,
Georg.



_______________________________________________

OSMeta
http://community.qnx.com/sf/go/post85626
Re: Autologin and autostart photon  
Hi Georg

I have similiar problem with Photon autologin. 
I have added the line 
/usr/photon/bin/Photon -l '/usr/bin/photon/phlogin -O -Uusernamie:password'
to my rc.local file but during Photon startup it suddenly shows second login screen (different than the first one) and i
 have to type username and password once again.
How to avoid this second login prompt? I would like to start Photon automaticaly with autologin.
Does anybody know how to do this and why is there second login prompt?

I have added the second login prompt view in the attachment.

Regards,
 Marcin.
Attachment: Image IMAG0408.jpg 850.04 KB
Re: Autologin and autostart photon  
Photon is deprecated and will not be included in the next QNX version. I'd recommend moving to Qt. In particular, KDAB 
is offering a Photon to Qt migration framework.

Cheers,

- Malte