![]() |
2007-02-04
, 16:59
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#2
|
![]() |
2007-02-04
, 18:09
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#3
|
![]() |
2007-02-04
, 19:33
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#4
|
![]() |
2007-02-04
, 21:14
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#5
|
![]() |
2007-05-01
, 18:08
|
|
Posts: 1,107 |
Thanked: 720 times |
Joined on Mar 2007
@ Germany
|
#6
|
![]() |
2007-05-02
, 00:59
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#7
|
![]() |
2007-05-02
, 05:33
|
|
Posts: 919 |
Thanked: 37 times |
Joined on Aug 2006
@ /dev/null
|
#8
|
The Following User Says Thank You to SeRi@lDiE For This Useful Post: | ||
![]() |
2007-05-22
, 02:28
|
|
Posts: 231 |
Thanked: 21 times |
Joined on May 2007
@ Singapore
|
#9
|
![]() |
2007-05-22
, 20:34
|
|
Posts: 87 |
Thanked: 1 time |
Joined on Mar 2006
|
#10
|
For those unfamiliar xlockmore is a screensaver like application.
http://www.tux.org/~bagleyd/xlockmore.html
I am starting by saying, I am not a developer, I can not change c code, this is a straight compile of a few programs and hacked together to get a screensaver.
DISCLAIMER, THIS IS MY RANTINGS AND HACKINGS ON THE N800. This is intended for the sole purpose to share my experiences, and fun with others. Do this at your own risk, dont scream at me if this procedure causes you to need to reflash. It worked on, mine, I tested it against multiple images, and I think all the bugs are worked out. You should always take a fresh backup before making any major changes on your system. ALSO NOTE No DEBS will be coming unless you are making them. It is what it is.
LOCKING
Password is limited to escape characters. A separate users is setup "xlock" to run xlock, with a password only of escape characters, however many you would like. I added a small test in .profile, if you login from ssh using xlock, it will kick you out. I did not want people to be able to login remotely with that account. probably better way to handle this, and I am sure someone will point it out.
to install this you need the following setup
becomeroot needs to be installed
http://eko.one.pl/maemo/dists/mistra....1-2_armel.deb
You need to make sure this line is in /etc/sudoers , or this will not work
user ALL = (ALL) NOPASSWD: ALL
If you do not, after installing becomeroot,
Start xterm
run
sudo gainroot
cp and paste this command in next to add it
echo "user ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
Now we need to add a user
As the root user in xterm run the following
useradd -u 19999 -g 29999 xlock
You now need to set this users password.
passwd xlock
The only password you can use is some number of "esc" keys. The escape key is the only key that works inside password field, in xlock. I set mine to "esc""esc""esc""esc""esc" (hit escape key five time for the password, then enter)
UPDATED EDIT ----~~~~-----
Note at this point you should ssh into the n800 as the xlock user, the password is the number of "esc" characters you set the password to.
DO NOT CONTINUE UNTIL PASSWORD IS VERIFIED THROUGH SSH or you could get locked out of your N800
Now that the user is add and root access is all setup, untar my archive.
http://penguinbait.com/archive.tar
cd /
tar xvf /path/to/tar/archive.tar
This is whats in the tar archive, its 2.8MB, su is added because busybox su does not support "-c" and I was having issues switching to xlock user
Nokia-N800-51:~/test# find . -type f -exec ls -l {} \;
-rwxr-xr-x 1 root root 52 Feb 4 02:38 ./usr/bin/xlock.sh
-rwsr-sr-x 1 root root 2468556 Feb 3 20:29 ./usr/bin/xlock
-rwxr-xr-x 1 root root 40123 Feb 4 02:38 ./usr/bin/su
-rw-r--r-- 1 root root 85484 Feb 3 18:03 ./usr/lib/libXmu.so.6
-rw-r--r-- 1 root root 56132 Feb 3 18:03 ./usr/lib/libXpm.so.4
-rw-r--r-- 1 root root 246108 Feb 3 18:03 ./usr/lib/libXt.so.6
-rw-r--r-- 1 root root 106 Feb 4 01:53 ./usr/share/applications/hildon/0777_xlock.desktop
-rwxr-xr-x 1 root root 420 Feb 4 02:38 ./etc/init.d/xlock
-rwxr-xr-x 1 root root 417 Feb 4 01:55 ./etc/rc2.d/S71xlock
-rw-r--r-- 1 root root 379 Feb 4 02:26 ./home/xlock/.profile
-rwxr-xr-x 1 root root 412 Feb 4 03:30 ./home/xlock/.bashrc
Nokia-N800-51:~/test# du -sh
2.6M .
FYI - libs were pulled from scratchbox, and were needed for xlock, I just copied the files it complained about. So its not a link, not sure if it should be.
You should now have all you need. There should be an option on the menu to start xlock, it will also startup on boot, about 5-10 seconds after login. I tried to get it to start earlier, but it kept killing the system and rebooting. So we'll see. This needs to be picked up by a developer, its really cool. You can change the script to call a specific screensaver, currently its random.
Run it from the menu, reboot, let me know how it goes.
Additional info
when it prompts for password, hit the escape key the correct number of times, then the middle of the dpad to enter the password. Thats it your in!!!!!!!!!
xlock -help
xlock -mode matrix
(use matrix screensaver, if you use the help, it will tell you the others you can set it to also)
Edit the files to add mode or other options
menu /usr/bin/xlock.sh
boot /etc/init.d/xlock
Before someone asks, the escape key on the n800, is the circle shaped arrow key turning to the left.!!!!!!!!!
Hopefully someone finds this fun or usefull, I did....
I would love to see someone make the virtual keyboard pop up on this
Last edited by penguinbait; 2007-02-04 at 17:05.