Trolltech Home | Qt-embedded-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-embedded-interest Archive, April 2003
how to skip the login process


Message 1 in thread

Can anyone tell me how can I skip the login process in linux kernel and
run qtopia directly.Becuz now I ned to login by typeing my user name and
then run the start script.But in commercial linux PDA,they can skip the
aove process.How can i do it?

Thx a lot


Message 2 in thread

Hi Chung,
	  Wah sound like a linux specific questions ? Anyway, there is two
way to do the things :-

	 First set the overwrite the login process and set it to logon to
default user or not at all. This for sure will works but you need to know c
code and where to do the patch.
	Secondly , find 
in file set password required to no.

-----Original Message-----
From: Chung Sheung Chi [mailto:roycsc@shinco.com.hk] 
Sent: Thursday, April 03, 2003 2:35 PM
To: qt-embedded-interest@trolltech.com
Subject: how to skip the login process

Can anyone tell me how can I skip the login process in linux kernel and
run qtopia directly.Becuz now I ned to login by typeing my user name and
then run the start script.But in commercial linux PDA,they can skip the
aove process.How can i do it?

Thx a lot

--
 [ signature omitted ] 

Message 3 in thread

Actually you can bypass login by running your ap, before it gets there. (You 
need to understand about the "&" in start up scripts.)

(Depending on distro, Slackware preferred) But in the /etc/rc.d/rc.local file, 
put in...

/the/path/to/your_file.qt

(You might want to do a search for linux start up scripts, for further 
information)


On Thursday 03 April 2003 01:55, Lai Kok Cheong wrote:
> Hi Chung,
> 	  Wah sound like a linux specific questions ? Anyway, there is two
> way to do the things :-
>
> 	 First set the overwrite the login process and set it to logon to
> default user or not at all. This for sure will works but you need to know c
> code and where to do the patch.
> 	Secondly , find
> in file set password required to no.
>
> -----Original Message-----
> From: Chung Sheung Chi [mailto:roycsc@shinco.com.hk]
> Sent: Thursday, April 03, 2003 2:35 PM
> To: qt-embedded-interest@trolltech.com
> Subject: how to skip the login process
>
> Can anyone tell me how can I skip the login process in linux kernel and
> run qtopia directly.Becuz now I ned to login by typeing my user name and
> then run the start script.But in commercial linux PDA,they can skip the
> aove process.How can i do it?
>
> Thx a lot
>
> --
> List archive and information:
> http://lists.trolltech.com/qt-embedded-interest/
>
> --
> List archive and information:
> http://lists.trolltech.com/qt-embedded-interest/


Message 4 in thread

Here is how we do it - keep in mind we don't use qtopia, so hopefully this still applies:

1. Make all changes in /etc/inittab

1. First pick a new run level, say 4
2. Turn off the getty for console in run level 4
(gettys section)
old:
1:2345:respawn:/sbin/mingetty tty1
new:
1:235:respawn:/sbin/mingetty tty1

Then add your to start at runlevel 4:
101:4:respawn:/your_app

To 'autorun' switch default runlevel to 4:

id:4:initdefault

Keep in mind you will need some 'backdoor' method (telnet, alternate virtual terminal) to go beck to run level 3 and get the login back. We added a button in our app to do this, and then reboot back to runlevel 3.

Hope this helps!

Phil

Phil Brooks - Software Engineer
Olympic Medical
206-268-5119
philb@olymed.com

-----Original Message-----
From: Chung Sheung Chi [mailto:roycsc@shinco.com.hk]
Sent: Wednesday, April 02, 2003 10:35 PM
To: qt-embedded-interest@trolltech.com
Subject: how to skip the login process


Can anyone tell me how can I skip the login process in linux kernel and
run qtopia directly.Becuz now I ned to login by typeing my user name and
then run the start script.But in commercial linux PDA,they can skip the
aove process.How can i do it?

Thx a lot

--
 [ signature omitted ]