Ubuntu works fine until I do a reboot/shutdown. When rebooting phone, is there a way to start Ubuntu and Tightvncserver? I'm getting connection error with AndroidVNC after reboot of phone. Maybe I'm missing a step in the installation process, thanks in advance for your support.
EarlyMon, in getting multiple clients, is there a way to do this with lxde and not icewm? Also, what does multiple clients get me? Are you saying you can only run one program at a time in the vnc? or would this allow me to connect to the server with the phone, laptop, desktop, whatever all at the same time? Just wondering if this is a change I need to make.
Also, I believe you said it, but I wanted to agree with you that this whole thing can be done from Terminal Emulator on the android phone - no need for a pc at all.
#!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey # Here's the holdover that will just launch an X terminal on your plain # X desktop, it came commented out, just avoid it, but leave it for maybe. #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # I don't think using IceWM with GNOME is a good idea, but you can use # either one with LXDE. # Chose your window manager by uncommenting only one of the following lines. #x-window-manager & icewm & # Chose your desktop, the first will launch GNOME, the second, LXDE. # Uncomment only one. #/etc/X11/Xsession startlxde &
# ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything [ -z "$PS1" ] && return export USER=root cd / rm -r -f tmp mkdir tmp cd / vncserver -geometry 960x540 # don't put duplicate lines in the history. See bash(1) for more options #export HISTCONTROL=ignoredups <rest of stock .bashrc follows from here>
export USER=root cd / rm -r -f tmp mkdir tmp cd / vncserver -geometry 960x540
sh-3.2# sh ubuntu.sh sh ubuntu.sh modprobe: chdir(220.127.116.11-silverneedle+): No such file or directory ?[H?[Jrm failed for -f, No such file or directory rm failed for -f, No such file or directory rm failed for -f, No such file or directory rm failed for -f, No such file or directory rm failed for -f, No such file or directory mkdir failed for /data/local/mnt, File exists ?[H?[JUnable to chmod bootubuntu: Operation not permitted ?[H?[J Ubuntu Chroot Bootloader v0.1 Ubuntu Bootloader is now installed! This process does NOT damage Android OS! Original Installer by Charan Singh Modified for Ubuntu Chroot by Max Lee at AndroLinux.com ,G2Hacks.com and NexusOn eHacks.net To enter the Ubuntu Linux console just type 'bootubuntu' sh-3.2#
Ok - I've been wanting to up the size of the ubuntu.img - and here's what I found on how to built it -
Guess I'm going to pop open a virtual machine on a spare PC, install a sandboxed Ubuntu, see if I can decompose ubuntu.img (so as to retain the changes I have), then simply re-assemble into a larger ubuntu.img file.
If anyone's done this and has any tricks to share, please lay 'em on me!
Otherwise, I'll keep you all posted - sure wish I'd found this yesterday when I had the time to goof off more!
PS - Left questions at the dev's site asking for tips.
adb reboot adb shell busybox df -h /dev/block/mmcblk1p1 <-----[make sure you have enough free space] adb shell cd /sdcard/ubuntu mv ubuntu.img oldubuntu.img dd if=/dev/zero of=ubuntu.img bs=1024000 count=XXXX <-----[XXXX is the size in MB you want] mke2fs ubuntu.img <------[answer "y" if it ask if you want to proceed] losetup /dev/block/loop1 ubuntu.img losetup /dev/block/loop2 oldubuntu.img mkdir ubuntu mkdir oldubuntu mount -t ext2 /dev/block/loop1 ubuntu mount -t ext2 /dev/block/loop2 oldubuntu cp -a oldubuntu/* ubuntu umount ubuntu umount oldubuntu reboot
|android, htc evo 3d, htc sensation 4g, htc shooter, ubuntu|
|Thread Tools||Search this Thread|