[Q] Strip down Ubuntu Touch for server application? - Ubuntu Touch Q&A, Help & Troubleshooting

My Nexus 4 has a broken digitizer. Instead of fixing it or selling it out, I figure I'll use it as a server since it has better specs than some of the Android-on-a-stick boxes out there. Ubuntu Touch installs without a hitch, but on start already 1.3Gb of RAM is used, and occasionally it would shutdown for no apparently reason. What packages can I uninstall to strip it down to a more stable, server-like, GUI-less environment? I don't need Unity etc. etc.
Alternatively, does anyone have experience installing ARM Ubuntu server on the Nexus 4?

I'm looking for broken N4 or N7 myself. I will connect it to tv as media center. Another thing is canonical has plans for ubuntu tv so nexus on big screen will look same good
Sent from my GT-I9300 using xda app-developers app

Related

[Q] NxClient in webtop ?

Has anyone used webtop much and installed much linux desktop software? Although I'm not able to get a new phone at the moment I'm wondering if it's possible to install and run an NXclient on this device. They already have a citrix client on there which achieves similar ends but in a very corporate fashion.
I'd just like to be able to access a linux cloud node or my home desktop with the super efficient nx protocol.
I really like the direction this device is pushing things. I've been waiting for this kind of convergence for a long long time. My entire computing energy footprint could be significantly reduced. Once a Quad Core Tegra3 version of this kind of device is available it will deserve the title nirvana device.
Surely I'm not such a pioneer ?
I was looking for someone that got an rdp client working. It seems that anything compiled for arm should work given you are on the full ubuntu/debian mod.
Sent from my MB860 using XDA Premium App

A broken laptop.

I have a broken HP Pavillion laptop..
can i do something with it.... as in make a tab or something like that out of it?
Probably, it's can turn on but you have black screen and noise. Need's GPU reballing. You can't do it yourself.
Pavillions are so crap, I have many clients with GPU problems.
If it's not GPU, describe your problem.
Do you want to put android on it?
It don't think it will work very well, even though android now can run on normal x86 CPUs, check out the Android x86 Project. The problem are the drivers, you can't just use the windows/linux ones.
I hate hp. I use a hp DV6000. Pos laptop. Thinking bout getting an alienware soon or maybe a macbook pro and run it as a vm with win7.
Sent from my MIUI.us Sensation 4G using XDA App
Why have you posted this in the Android General section? This isn't directly related to Android.
To answer your question, it's quite unlikely that you can do anything with it now. What you're asking for is too far fetched at the moment. It's not easy to port a perfect working version of Android to a computer.
Sent from my Desire HD using xda premium
Well, if it's still functioning, you can put some Linux distro, make a nice frame for it and use it as a bigger digital photo frame.

Linux(Fedora, Ubuntu, etc) on the Nexus 10

For now this post is primarily a feeler to see if there are any other developers that want to work on dual booting Android and a Linux distribution. My Nexus 10 has shipped but has not yet arrived so I've not done any work on it yet.
The Samsung Chromebook is able to run Ubuntu without issues and it has the same SoC. Hopefully, the Nexus 10 kernel will be similar and can easily use the Linux GPU blobs without a lot of work.
http://www.phoronix.com/scan.php?page=article&item=samsung_chrome_a15&num=1
The Nexus 10's fast CPU in combination with a keyboard case should result in a relatively good experience when running a traditional Linux distribution with KDE Plasma Active or the like.
I'm sure its possible to run as a chroot, and vnc in, but if I could actually use the accelerated GPU, I'd hook up a mouse and keyboard with OTG, it'd be a high res laptop replacement.
Sent from my Nexus 10 using xda premium
I am very interested in this. I've got F17 and Gentoo running on my ARM Chromebook (and I have a N10).
What are you thinking for multiboot control, moboot?
jmhalder said:
I'm sure its possible to run as a chroot, and vnc in, but if I could actually use the accelerated GPU, I'd hook up a mouse and keyboard with OTG, it'd be a high res laptop replacement.
Sent from my Nexus 10 using xda premium
Click to expand...
Click to collapse
Chroot isn't really what I'm wanting either. Hoping to eventually get close to or full hardware support natively.
I am very interested in this. I've got F17 and Gentoo running on my ARM Chromebook (and I have a N10).
What are you thinking for multiboot control, moboot?
Click to expand...
Click to collapse
Probably not moboot. LittleKernel was used as a base for moboot which has only really been used on Qualcomm architectures. This, of course, made it perfectly suited for us to use on the HP TouchPad. I'm not sure it would be worth the work required to port it to the Nexus 10.
That said, I don't think a multi booting bootloader is something we need to worry about right now. We can work with simply fastboot to load a different kernel and ramdisk while we work on native Linux. The bootloader can be worked on later after we get a better idea of what we are up against.
dalingrin said:
Chroot isn't really what I'm wanting either. Hoping to eventually get close to or full hardware support natively.
Probably not moboot. LittleKernel was used as a base for moboot which has only really been used on Qualcomm architectures. This, of course, made it perfectly suited for us to use on the HP TouchPad. I'm not sure it would be worth the work required to port it to the Nexus 10.
That said, I don't think a multi booting bootloader is something we need to worry about right now. We can work with simply fastboot to load a different kernel and ramdisk while we work on native Linux. The bootloader can be worked on later after we get a better idea of what we are up against.
Click to expand...
Click to collapse
I'm no developer. But as a Ubuntu user I would love to see you bring this to us! I'd be happy to test anything related.
Sent from my Nexus 10 using Tapatalk 2
dalingrin said:
That said, I don't think a multi booting bootloader is something we need to worry about right now. We can work with simply fastboot to load a different kernel and ramdisk while we work on native Linux. The bootloader can be worked on later after we get a better idea of what we are up against.
Click to expand...
Click to collapse
Heh, this is the exact conclusion we came to on the Open webOS project for the gnex.
Sounds good to me.
dalingrin said:
For now this post is primarily a feeler to see if there are any other developers that want to work on dual booting Android and a Linux distribution. My Nexus 10 has shipped but has not yet arrived so I've not done any work on it yet.
The Samsung Chromebook is able to run Ubuntu without issues and it has the same SoC. Hopefully, the Nexus 10 kernel will be similar and can easily use the Linux GPU blobs without a lot of work.
http://www.phoronix.com/scan.php?page=article&item=samsung_chrome_a15&num=1
The Nexus 10's fast CPU in combination with a keyboard case should result in a relatively good experience when running a traditional Linux distribution with KDE Plasma Active or the like.
Click to expand...
Click to collapse
(1) Thanks for the initative! I'm still enjoying your work with the Nook Color, and I really look forward to a native port of ubuntu on the N10.
(2) I'm not a developer but I would be delighted to help out with testing etc.
(3) I know that development has yet to begin, but do you envison being able to use N10 both (ie. some sort of dualboot?) as an android device and as a light laptop -- latex, light C coding? And if so, would 16g be enough or would it need 32g to be useable (as opposed to just playing around....)? I'm to order the N10 and I have a limited budget; your advice on this is most appreciative.
Thanks!
case-sensitive said:
...would 16g be enough or would it need 32g
Click to expand...
Click to collapse
http://www.indiegogo.com/pengpod
Pengpod1000 has 8GB for dual boot.
Sent from my Nexus 10 using xda app-developers app
In terms of space, Windows 8 requirements on ARM is the same 4 - 5 GB.
It is interesting that Exynos 5 dual core supports Direct X11 which indicates it was designed to also target Windows.
Sent from my Nexus 10 using xda app-developers app
case-sensitive said:
(1) Thanks for the initative! I'm still enjoying your work with the Nook Color, and I really look forward to a native port of ubuntu on the N10.
(2) I'm not a developer but I would be delighted to help out with testing etc.
(3) I know that development has yet to begin, but do you envison being able to use N10 both (ie. some sort of dualboot?) as an android device and as a light laptop -- latex, light C coding? And if so, would 16g be enough or would it need 32g to be useable (as opposed to just playing around....)? I'm to order the N10 and I have a limited budget; your advice on this is most appreciative.
Thanks!
Click to expand...
Click to collapse
I definitely want to dual boot eventually. 16GB will be enough but will get cramped quickly if you store a few videos and music.
Sent from my Nexus 10 using Tapatalk HD
I would also like to help beta testing. Ive also got an idea of programming but i think i would just slow down the production...
I would support this too.
Sent from my Galaxy Nexus using xda premium
is there any way to get this
https://wiki.ubuntu.com/Nexus7/Installation
running in dualboot on the nexus 10?
Maybe a bootmenu like on gokhan's siyah kernel on the SIII ?
I just chroot-installed lubuntu 12.04 on my N10, using http://forum.xda-developers.com/showthread.php?t=1585009 This is just for curiosity's sake, to see what ubuntu is like on the N10, both in terms of usage/GUI and in terms of performance (knowing full well that performance will take a big hit under chroot/VNC). Here my little report, in case it would be of use as a reference for developing/running linux natively on the N10.
In short: lubuntu is almost usable. Graphics is sluggish (as expected?); as you move xterm across the screen you actually see a series of rectangles and it takes a few seconds for the DE to clean it up. Once you're inside the xterm then the system seems fairly responsive. I was able to apt-get install latex and libreoffice (!) and both work. Curiously scp does not work (ssh does) and I didn't spend much time investigating scp. I can't install dropbox.
I set the resolution of the VNC viewer to be 2560x1500 (leaving room for the android buttons). That was a mistake; menu/window frames/scroll bars etc are TINY. I should have used a smaller resolution and then pinch-zoom. Suggestion for developer: Make everything bigger.
According to top, just running the VNC viewer takes 110-120% of the CPU. That means if we can run linux naively we should expect much better performance.
Finally, I installed "System Profiler & Benchmark". Here's the output of the benchmark for the N10 vs that of an N270 atom netbook with 1G of ram and my Quad Core Q9400 @ 2.66GHz (for all benchmarks below except for cryptohash: a smaller number is better):
CPU Blowfish
Q9400 2003 MHz 3.283
N10 Unknown MHz 24.159
netbook 1600MHz 16.305 <-- not typo
Intel(R) Celeron(R) M processor 1.50GHz (null) 26.1876862
PowerPC 740/750 (280.00MHz) (null) 172.816713
CPU CryptoHash
Q9400 356.041
N10 67.604
netbook 57.059
CPU Fibonacci
Q9400 3.021
N10 5.861
netbook 8.358
Intel(R) Celeron(R) M processor 8.1375674
PowerPC 740/750 58.07682
CPU N-Queens
Q9400 17.614
N10 15.616 <-- not typo
netbook 17.852
FPU FFT
Q9400 1.560
N10 13.498
netbook 17.646
FPU Raytracing
Q9400 19.257
N10 20.286
netbook 33.042
Intel (R) Celeron (R) M processor 40.8816714
PowerPC 740/750 161.312647
I would love to see a Linux distribution running on the Nexus 10.
My preferred one is Mer and the user interface of my choice is Plasma Active (this would later allow a port of Sailfish OS, if a tablet UI gets available).
Is anybody else interested in accomplishing this port?
My previous experience is a proof-of-concept port of MeeGo/Mer to the HTC Desire HD:
So is there any plans on someone trying to get this on the N10?
fr8cture said:
So is there any plans on someone trying to get this on the N10?
Click to expand...
Click to collapse
Just got my Nexus 10 and I'll definitely look into this - although some help wouldn't be bad.
case-sensitive said:
I just chroot-installed lubuntu 12.04 on my N10, using http://forum.xda-developers.com/showthread.php?t=1585009 This is just for curiosity's sake, to see what ubuntu is like on the N10, both in terms of usage/GUI and in terms of performance (knowing full well that performance will take a big hit under chroot/VNC). Here my little report, in case it would be of use as a reference for developing/running linux natively on the N10.
In short: lubuntu is almost usable. Graphics is sluggish (as expected?); as you move xterm across the screen you actually see a series of rectangles and it takes a few seconds for the DE to clean it up. Once you're inside the xterm then the system seems fairly responsive. I was able to apt-get install latex and libreoffice (!) and both work. Curiously scp does not work (ssh does) and I didn't spend much time investigating scp. I can't install dropbox.
I set the resolution of the VNC viewer to be 2560x1500 (leaving room for the android buttons). That was a mistake; menu/window frames/scroll bars etc are TINY. I should have used a smaller resolution and then pinch-zoom. Suggestion for developer: Make everything bigger.
Click to expand...
Click to collapse
I've got a Debian chroot running on mine until we get a proper dual-boot solution using a slightly modified from of this script: http://forum.xda-developers.com/showthread.php?t=1328742
Running LXDE, its definitely usable for text heavy stuff like office. While the visuals would be a little muddy, I'd recommend running at 1280x752. That's a perfect fit while leaving room for the buttons, and things are large enough that you could realistically use it. If you wanted to run at full res, use 2560x1504.
If you're using a bluetooth mouse with yours, I highly recommend using Jump Desktop as your VNC viewer. Its the only one I know of that supports right clicks. The only drawback is you cant run it at full resolution unless you lower the color depth, it crashes immediately otherwise.
I would love to see this happen!
I'm taking my first programming classes this semester, and I'd love to see Ubuntu come to the N10. That would be pretty dang sweet. :cyclops:
I can't see any framebuffer output (enabled VT and FB in .config) and I really don't know why.. Nothing suspicious in /proc/last_kmsg after reboot (it just hangs at some point, watchdog reboots)
Will take some time to debug this odd behaviour (maybe anybody has some clues what could have gone wrong?)

[Q] Nexus 10 as Multitouch touchpad

I recently started coveting a Logitech Wireless Rechargeable Touchpad T650 @staples and was trying to find a way to do it with my nexus 10.
I stumbled upon the following app Appwhich looks to be exactly what I want to do with the added bonus of showing the windows 8 desktop, but the website is all in japanese and I cant figure out how to get it to work. I have tried some of the more standard programs but they lack the true multitouch experience and now that i've seen the screen capture I want it. Has anyone found a way to do this reliably?
OK I just tried the app and it works great. I just translated the page and found the download link. The actual software is in English.
Here is the 64 bit versions http://www.tnksoft.com/soft/phone/winmulti/touch_win7_64.zip
And the 32 bit http://www.tnksoft.com/soft/phone/winmulti/touch_win7_32.zip
Sent from my Nexus 10 using Tapatalk HD
I also tried that app and it doesn't work that great, its kinda laggy and slow, quality isn't realy good.
Splashtop or Unified Remote works better.
Yeah, after getting the app to work I was underwhelmed. Was looking for something more that I could use on my desk while looking at my monitor. Not while looking at the nexus.
I've been using the non-HD version on my Galaxy Nexus. Haven't tried this yet on the Nexus 10. It's not as great as a real multitouch trackpad, but the only important feature for me is two-finger scroll
https://play.google.com/store/apps/details?id=com.necta.wifimouse.HD&hl=en

[Q] Other Linux distros possibility?

So, with Ubuntu Mobile capturing the attention of hundred of thousands I thought I would ask the one question that's been in my head since the first time I heard of Ubuntu Mobile, what about other Linux distros?
Considering Ubuntu is Debian-based and one of Ubuntu Mobile's key selling points is "it's the same is your PC" software-wise *cough* bloatware *cough* how likely do you think it is for a similar feat to be acomplished by another Linux distro (I like the ring of 'Arch Mobile' :cyclops: ) or will this be a more disgustingly exclusive Ubuntu feature (much like Unity, which didn't gain much traction in other distros).
Please voice your opinion on the matter, even if it's not completely relevant. I'd like to see how the community sees this.
Ubuntu for mobile has optimised stdio.h for touch screen mode of input and integration for touch input device at kernel level. Maybe if another distro can achieve this... Probably need a lot of libs & /dev/ mod files to get compatible drivers for touch devices. Repositories (apt.get, rpm, deb & yast etc) need to haxe modified programmes (apps) optimised for phone display, i/o etc.... Not an easy task.....
Dead cookies leave no trails...
Maybe a mobilised version of PackageKit would work for package management woes, if not I think there may be hope depending on how the phone utilises its 'desktop mode' and that can resolve issues that may accompany distro-specific issues (like Arch's KISS philosophy) and the libraries will be added to repositories (or even just made into an installable package?) for touchscreen usage and hopefully packages could be installed traditionally (i.e. 'apt-get install' 'pacman -S' 'yum install' 'dpkg -i' etc.)
I built a Linux image for my phone (Galaxy Spica)
-W_O_L_F- said:
I built a Linux image for my phone (Galaxy Spica)
Click to expand...
Click to collapse
Oh that's quite interesting, when it was running a Linux image was your phone still running Android and with Linux working inside Android (using VNC for X etc.) or was it running natively in the same fashion as Ubuntu Mobile is said to be?
I would think that any Distro based of Ubuntu will be able to be run on a phone.
swehes said:
I would think that any Distro based of Ubuntu will be able to be run on a phone.
Click to expand...
Click to collapse
I hope by the time all the mobile software is "figured out" (for lack of a better word) that using the device-specific software won't be limited to Ubuntu-based distros, I don't mind Ubuntu and its derivatives per se, but I much prefer using a more advanced distro; but I suppose Ubuntu is what you make of it
swehes said:
I would think that any Distro based of Ubuntu will be able to be run on a phone.
Click to expand...
Click to collapse
This is not a comletely new idea mind you. We have two Ubuntu/Linux threads in the Asus Transformer tf101 dev thread. Both are WIPs but both have many users who are working on making the process better and simpler to have Linux and Android dual boot. Both methods are for native install as well so no need for chroot or VNC.
Sent from my Transformer TF101 using Tapatalk HD
Interesting thought. I don't know if the variation will come from other Linux flavors or just different themes or desktop environments. Could it just be that there are themes or desktop environment like cinnamon, XFCE, pantheon and others instead of different Linux operating systems completely? Then again everything is going mobile so maybe the other Linux flavors will disappear unless they follow in Ubuntu's steps and go mobile.
Sent from my SAMSUNG-SGH-T989 using xda premium
Cl3Kener said:
Interesting thought. I don't know if the variation will come from other Linux flavors or just different themes or desktop environments. Could it just be that there are themes or desktop environment like cinnamon, XFCE, pantheon and others instead of different Linux operating systems completely? Then again everything is going mobile so maybe the other Linux flavors will disappear unless they follow in Ubuntu's steps and go mobile.
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
No, not everything is going mobile. It's just that x86 machines have reached saturation point by now; everyone has one, so the focus is on getting a smartphone or a tablet. Plus, hardware is so powerful that there's no real need to upgrade. Software has not caught up. Even as a gamer, my ATI 6950/Phenom II 955 box hasn't had an issue with running everything topped out so far, new games and all. For sure, you don't need much just to run the everyday stuff like Chrome or Office. People still use desktop computers quite a bit, though in quite a lot of households I do find that it's not at all uncommon for the computer arsenal to consist exclusively of laptops (though that is still x86 and not ARM).
Kookas said:
No, not everything is going mobile. It's just that x86 machines have reached saturation point by now; everyone has one, so the focus is on getting a smartphone or a tablet. Plus, hardware is so powerful that there's no real need to upgrade. Software has not caught up. Even as a gamer, my ATI 6950/Phenom II 955 box hasn't had an issue with running everything topped out so far, new games and all. For sure, you don't need much just to run the everyday stuff like Chrome or Office. People still use desktop computers quite a bit, though in quite a lot of households I do find that it's not at all uncommon for the computer arsenal to consist exclusively of laptops (though that is still x86 and not ARM).
Click to expand...
Click to collapse
Well obviously software developers and video gamers will always have desktop computers. It's people that aren't processor hungry that just want to check emails and social media that are going mobile. I know people that don't even own a computer and just use internet through their phones. I can see them embracing of having their phone work as a computer when they dock it into a monitor keyboard mouse environment. That's the only way they could teach their kids about computers.
Sent from my SAMSUNG-SGH-T989 using xda premium
I'd love to see Debian for phones. But once I think about it. There's nothing "new" about this concept. Technically Its already out as I have native Debian and arch Linux on my iconia tab via an arm ports. Touch screens support has been patched into the Linux kernel since the 2.6.x series so it works great at the hardware level. So when I get to to bottom of all of the hype all I see is canonical marketing some sort of Unity Touch. (Gnome and KDE were too big I guess ). My point is what bother to get another ubuntu like os for phones when there's already 99% of distos already ported to arm and touch. The only thing that Ubuntu for phones can do that the Debian/other linux ports can't do is make calls, but any hacker with a pair of tweezers could port the radio interface to a Linux distro.
Sent from my SGH-T999 using xda app-developers app

Categories

Resources