![]() |
2014-05-05
, 09:28
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3092
|
Out of curiosity, I set up an old laptop with a minimal debian system just sufficient to run an X server and usb networking. I created a cloned set of Easy Debian scripts which connect to the laptop's X server over the usb0 connection. The result is totally satisfactory. There is no delay on keyboard or mouse input, and the screen updates smoothly. The N900 continues to use the wi-fi or 3G connection for all other network access.
The Following User Says Thank You to sulu For This Useful Post: | ||
![]() |
2014-05-08
, 23:48
|
Posts: 31 |
Thanked: 50 times |
Joined on Jan 2012
@ Ireland
|
#3093
|
#!/bin/sh ################################## #Change these two variables to the WM of your choice. WMEXEC="$1" [ "x$WMEXEC" != x ] || WMEXEC="startlxde50" ################################## export DISPLAY=:0 # export TSLIB_TSDEVICE=/dev/input/event3 debbie-sue 'echo "chroot is now open!"' ## debbie-sue '/usr/bin/Xephyr :1 -screen 800x480 -br -ac' & ## while [ "x$PARWIN" = "x" ] ; do ## # wait for Xephyr window to appear ## export PARWIN=`wmctrl -l | grep -i "N/A Xephyr" | awk '{print $1}'` ## done ## echo "Xephyr window ID is ($PARWIN)" ## DISPLAY=:1 ; debbie-sue "habak -mf /usr/share/fonts/truetype/DroidSans-Bold.$ ## -ht 'Ctrl-back to return to dashboard.'" ## DISPLAY=:0 ; wmctrl -i -r $PARWIN -T 'Easy Debian' ## wmctrl -i -r $PARWIN -b toggle,fullscreen ## DISPLAY=:0 ; wmctrl -i -r $PARWIN -T 'Easy Debian' ## wmctrl -i -r $PARWIN -b toggle,fullscreen ## zenity --display=:0 --info --title="Information" --text="Welcome to Easy Deb$ ## while [ "x$TWOWIN" = "x" ] ; do ## # wait for Zenity dialog to pop up... ## export TWOWIN=`wmctrl -l | grep -i Information | awk '{print $1}'` ## done ## sudo debian /sbin/qobi-wmhint-fix $PARWIN debbie-sue /usr/bin/$WMEXEC ## killall Xephyr export DISPLAY=:0
As far as I understand you configured ED's X-Server not to run on Maemo's local one but on the remote one of the laptop. So except for the X-output everything is still happening on the N900, right?
The Following 4 Users Say Thank You to zerox For This Useful Post: | ||
![]() |
2014-06-08
, 16:31
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#3094
|
![]() |
2014-06-18
, 21:35
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#3095
|
Is this [1] diff the only patch to be applied for directory-based Easy Debian?
[1] http://213.128.137.28/showpost.php?p...postcount=2911
pp900-a:/sbin# diff closechroot closechroot.old --- closechroot +++ closechroot.old @@ -29,7 +29,7 @@ fi #Abort if chroot not mounted. -if [ "$IMGFILE" != "none" ] && [ ! -f "$CHROOT/var/lock/qmount-complete" ] ; then +if [ ! -f "$CHROOT/var/lock/qmount-complete" ] ; then echo "Nothing to do; chroot not mounted!" - exit 1 + #exit 1 fi
The Following User Says Thank You to sulu For This Useful Post: | ||
![]() |
2014-06-19
, 10:20
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#3096
|
The Following User Says Thank You to TomJ For This Useful Post: | ||
![]() |
2014-06-19
, 17:13
|
Posts: 31 |
Thanked: 50 times |
Joined on Jan 2012
@ Ireland
|
#3097
|
![]() |
2014-06-19
, 17:25
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#3098
|
@TomJ
By way of a trial, you might save yourself a lot of work by creating an ext4 partition on your SD card and unpacking the ED image into that. It worked well for me.
![]() |
2014-06-20
, 00:34
|
|
Posts: 505 |
Thanked: 665 times |
Joined on Oct 2009
|
#3099
|
The Following User Says Thank You to TomJ For This Useful Post: | ||
![]() |
2014-06-20
, 10:06
|
|
Posts: 130 |
Thanked: 132 times |
Joined on Jan 2013
@ India
|
#3100
|
Well, no-one's said I'm mad yet, so let's see if I understand what needs doing while I wait for a multi-gig backup over USB1, here's what I think I need to do on my device which has a currently working ED setup...
1. Format media and make directory, (.ED perhaps?)
2. Mount the image file (mount -o loop /home/user/MyDocs/debian-m5-estel.img.ext3 /mnt/ED).
3. Copy all of image file to directory (cp -R /mnt/ED /media/mmc1/.ED)
4. modify /home/user/.chroot, to make it point to include, in the relevant position:
IMGFILE=none
CHROOT=/media/mmc1/.ED
5. Edit closechroot script (where is that located?) as per Sulu's post 3095 above.
6. ...
7. Profit
At the risk of jinxing myself this seems deceptively easy. Are there any (what are the) immediate gotcha's I'm missing?
/sbin/closechroot
![]() |
Tags |
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze |
|
Although, I must say, that I still see powerful, regular-size desktop computers as part of this "idea". Desktop computer with replaceable parts (and better performance/price ratio) for in home entertainment/work, and mobile device for all other (and the same on-the-go) needs (that can connect to big screen, keyboard, mouse etc, if need to emulate desktop arise). Not to mention that this mobile device can still connect to desktop via ssh, vnc, or x-forwarding, if need for max performance of calculating something arise.
/Estel
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!