[Q] Backtrack on S4 vnc viewer grey screen? - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Okay so I have followed all the steps to put BT5 on my galaxy s4 and have been successful with everything, and am able to access backtrack through the command line, but when trying to get the GUI through VNC viewer all I am able to see is a grey screen and a cross I can move around like a mouse. Does anyone have any experience with this? Thank you all in advance!!

samps0 said:
Okay so I have followed all the steps to put BT5 on my galaxy s4 and have been successful with everything, and am able to access backtrack through the command line, but when trying to get the GUI through VNC viewer all I am able to see is a grey screen and a cross I can move around like a mouse. Does anyone have any experience with this? Thank you all in advance!!
Click to expand...
Click to collapse
im not sure about the apps bt5 ect , however on my s4 i was able to connect with vnc viewer app and all i got was the same as you black / grey screen , i updated to latest version of vnc viewer and all was fine ... not sure if this reply will help you but all i can do is try

Hey guys, i've found something. After strating the vnc server i've found an error in the .vnc/localhost:1.log:
xrdb: No such file or directory
xrdb: can't open file '/root/.Xresources
Changing the first line of .vnc/xstartupfile to xrdb /etc/X11/Xresources i get a new error, now it's:
cc1: error: /etc/X11/Xresources: No such file or directory
It doesen't depend on what i'm doing, i alwasy get new errors and also the grey screen. Has someone found something new too?

i-wiki.ch said:
Hey guys, i've found something. After strating the vnc server i've found an error in the .vnc/localhost:1.log:
xrdb: No such file or directory
xrdb: can't open file '/root/.Xresources
Changing the first line of .vnc/xstartupfile to xrdb /etc/X11/Xresources i get a new error, now it's:
cc1: error: /etc/X11/Xresources: No such file or directory
It doesen't depend on what i'm doing, i alwasy get new errors and also the grey screen. Has someone found something new too?
Click to expand...
Click to collapse
Try VMLite, worked for me when all the others would not.

gutharius said:
Try VMLite, worked for me when all the others would not.
Click to expand...
Click to collapse
what exactly do you mean? vmlite can realise the control of your smartphone over the network but i want the GUI of my Backtrack.

help
Hi all,
I am having the same problem with the grey screen and black cross. I'm using Complete Linux Installer to boot Backtrack, but am unable to view the desktop GUI via VNC.
Reading through various posts about the subject, but still the same outcome. Can someone post up a working xstartup file, where they are successfully running Backtrack to see if this is where i'm going wrong. I'm sure this is stopping me seeing the desktop.
Also, various posters have mentioned taking a look at the log file. What is the logfile called and where is it stored?
Thanks in advance.
Sid.

silversid said:
Hi all,
I am having the same problem with the grey screen and black cross. I'm using Complete Linux Installer to boot Backtrack, but am unable to view the desktop GUI via VNC.
Reading through various posts about the subject, but still the same outcome. Can someone post up a working xstartup file, where they are successfully running Backtrack to see if this is where i'm going wrong. I'm sure this is stopping me seeing the desktop.
Also, various posters have mentioned taking a look at the log file. What is the logfile called and where is it stored?
Thanks in advance.
Sid.
Click to expand...
Click to collapse
Hi Sid,
Thats the problem, we don't have a working xstartup file and i don't think that the problem lays down to the xstartup file. You can get a view of the logfile with following command: In the root directory: cat .vnc/localhost:1.log
I've tried various network services in backtrack and tried to access this services via android and via a windows pc. Both can't get something usefull. SSH will abort after one second, vnc shows the anoying grey screen and much other problems. I think we need someone who knows all the differences from the s3 to the s4. I think this problems are of cause the new cpu.
Sorry that i can't help you sid.
sincerly i-wiki.ch

Any luck with you guys thus far? Still no luck on my end. Might be stuck using the terminal for a while.

Same problem here. Any solution?

silversid said:
Hi all,
I am having the same problem with the grey screen and black cross. I'm using Complete Linux Installer to boot Backtrack, but am unable to view the desktop GUI via VNC.
Reading through various posts about the subject, but still the same outcome. Can someone post up a working xstartup file, where they are successfully running Backtrack to see if this is where i'm going wrong. I'm sure this is stopping me seeing the desktop.
Also, various posters have mentioned taking a look at the log file. What is the logfile called and where is it stored?
Thanks in advance.
Sid.
Click to expand...
Click to collapse
I think the problem isnt xstartup file, take a look on /root/.xsession-errors:
Xsession: X session started for root at Fri Jul 12 03:16:10 UTC 2013
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
No default user directories
Setting IM through im-switch for locale=all_ALL.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
Failed to start message bus: Failed to open "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory
EOF in dbus-launch reading address from bus daemon

Ok, find the solution, compile and install selinux packages from nsa (and lot of dependencies), gdm/gnome is working now!, the problem was that the kernel of s4 firmwares have selinux and backtrack v5 arm doesnt and cant manage it.
Sorry my english!

mezcal2011 said:
Ok, find the solution, compile and install selinux packages from nsa (and lot of dependencies), gdm/gnome is working now!, the problem was that the kernel of s4 firmwares have selinux and backtrack v5 arm doesnt and cant manage it.
Sorry my english!
Click to expand...
Click to collapse
Could you give us more details on how to fix that? Please? Even on your native language, no problem.
Sent from my GT-I9505 using Tapatalk 4 Beta

grey screen
When I connected for the first time the only thing I saw was a grey background and couldn’t do anything…
Here’s the sollution…
open the file /root/.vnc/xstartup in your favorit editor (I use nano..)
nano /root/.vnc/xstartup
comment out every line in the file and add the following:
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
Your file should look like this
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#x-window-manager &
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
gnome-session &
Now reboot your box and run the vnc server again, It should work now..
Note: vnc sends your password in clear text over the network. If you use it to connect to a pc on the ‘internet’ make sure you tunnel your traffic over SSH !!
Have Fun…..
you can read the org. text here: h t t p :// hezik.nl/remote-control-your-backtrack-5-box-using-vnc-server
i hope this one can help

fanta-stick said:
When I connected for the first time the only thing I saw was a grey background and couldn’t do anything…
Here’s the sollution…
open the file /root/.vnc/xstartup in your favorit editor (I use nano..)
nano /root/.vnc/xstartup
comment out every line in the file and add the following:
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
Your file should look like this
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#x-window-manager &
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
gnome-session &
Now reboot your box and run the vnc server again, It should work now..
Note: vnc sends your password in clear text over the network. If you use it to connect to a pc on the ‘internet’ make sure you tunnel your traffic over SSH !!
Have Fun…..
you can read the org. text here: h t t p :// hezik.nl/remote-control-your-backtrack-5-box-using-vnc-server
i hope this one can help
Click to expand...
Click to collapse
I'm sorry, but does it mean I have to run all these every time before getting my backtrack working?

Backtrack 5 with SELinux support
Check my post HERE.

Related

Debian working niceley on Desire.

Debian for Desire.
If you are able to try this on another android device, please do as I will be very interested in the results.
Download
http://www.multiupload.com/79TSI1AAF9
You will need.
-Root access.
-Busybox (included in most custom roms)
-1.4gig free on SDCARD
-VNC Client (ie. AndroidVNC)
-Terminal Emulator (ie. ConnectBot)
-7zip
Instructions
-Extract the file deSIREbian.7z on your PC using 7zip.
-Copy the contents (debian.img and deboot) to root directory of SDCARD.
-On your phone in terminal emulator type
su
sh /sdcard/deboot
Click to expand...
Click to collapse
You should get a blank screen showing "localhost:/#" after a couple of seconds.
-On your phone in your VNC client log in using these details
Password - password
Port - 5901
Click to expand...
Click to collapse
Nickname and Address are not needed, call it what you want though.
Changing the colour to 24bit and enabling local mouse pointer and full screen bit map are not neccesary but reccomended.
-Thats it.
Notes.
-You can log in via ssh, (gives a much better terminal, ie works properly with aptitude). Use [email protected] and password "toor"
-The version of Debian is Armel Lenny, installed using debootstrap.
-It is just the base package with LXDE on top, you only get a desktop, a file browser, an internet browser, and a pic viewer.
-If you want more packages there's tonnes of room on the image. eg apt-get install openoffice.org or apt-get install abiword or apt-get install any flipping thing u want
-You can access the SDCARD from Debian at "root/sdcard" (read-write)
-You can access Debian filesystem from Android (When Debian is running) at "sdcard/debian" (read only)
-debian.img is mounted at "sdcard/debian" using "dev/block/loop5"
-So far the only rom i have come accross that this dont work with is one of the cyanogen nightlies from last week. apart from that, working on opendesire, cyanogen, defrost, leedroid, official 2.2 with busybox...
Issues.
Debian cannot be shut down. You need to reboot the phone to do this. (You can kill the VNC server with "vncserver -kill :1" there is an icon on the festoons to do this.)
Update log.
deSIREbain.
-First release.
deSIREbain2
Fixed
-Loading a second terminal no longer breaks vnc.
-You no longer need to create the folder debian on sdcard.
Added
-ssh server (login with root and toor)
Removed.
-The image has been downsized from 2 gig to 1.4
Hey,
thank you for your work, i will test it so far and will tell you the results
got this error:
Code:
# su
su
# sh /sdcard/deboot
sh /sdcard/deboot
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /sdcard/debian/root/sdcard failed: No such file or di
rectory
net.ipv4.ip_forward = 1
chroot: can't change root directory to /sdcard/debian: No such file or directory
#
If you have the same problems try out
su
mkdir /sdcard/debian
losetup /dev/block/loop3 /sdcard/debian.img
mount -t ext2 /dev/block/loop3 /sdcard/debian
ls /sdcard/debian
thx to mercianary for help
greetings
I found this guide quite helpful at getting a bootstrapped Debian setup running.
http://www.saurik.com/id/10
I didn't need to insert the ext2 module as it's already loaded for me, I guess G1s didn't have that convenience back then.
blackstoneuser5 said:
I found this guide quite helpful at getting a bootstrapped Debian setup running.
www . saurik.com/id/10
I didn't need to insert the ext2 module as it's already loaded for me, I guess G1s didn't have that convenience back then.
Click to expand...
Click to collapse
I used parts of this for reference too. Its a great guide, explains things really well.
i've just updated this. link is in the first post.
Fixed
-Loading a second terminal no longer breaks vnc.
-You no longer need to create the folder debian on sdcard.
Added
-ssh server (login with root and toor)
Removed.
-The image has been downsized from 2 gig to 1.4
debian for desire--help please
hi
I spent much time for searching debian or ubuntu for desire, but nothin worked
know i found this and i have download everything and start to install over the terminal
but the " sh /sdcard/deboot" is not workin to
there's only this answer:
# su
su
# sh /sdcard/deboot
sh /sdcard/deboot
[: not found
losetup: not found
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
busybox: not found
sysctl: not found
chroot: not found
may somebody help me?
i really want to have it on the desire
thanks
It looks like you had not installed busybox
Which ROM do you use ?
oh i'm sorry
i'm a newbie and don't really know what a rom is
but i had problems with busybox and there was a somebody who said i can get the app titanium and let it install the busybox
could you please show me a tut how to install busybox
maybe a german tut
thanks
Getting error at: sh /sdcard/deboot
line 5: syntax error near unexpected token `else'
Rosi1337 said:
Getting error at: sh /sdcard/deboot
line 5: syntax error near unexpected token `else'
Click to expand...
Click to collapse
dont know why that happened.. works on mine. syntax looks ok to me.
try with this one (attatched), it's the same but without the bit that's not working for you.
what rom are you using, i shall try to replicate the error so I can try to fix properly.
thepuechen said:
could you please show me a tut how to install busybox
maybe a german tut
thanks
Click to expand...
Click to collapse
There should be a guide on installing busybox somewhere if you want to search for it, i know i remember seeing one a while ago.
Too be honest, your better off just flashing a rom that includes busybox, it would be MUCH easier.
have a look here and see what takes your fancy, I would recomend defrost, because it is stable and easy to overclock.
Thanks mercianary,
It works fine!,
I use customised DeFroST_0.9b_uvonly with USB-host patch.
By the way I would like to add more options to kernel line.
Where can I find like a menu.lst file ? or How to add it to kernel line.
There is no /dev/graphics/* in running Debian console.
I would like to use FrameBuffer on running Debian.
thanks,
Android VNC won't connect Trying to get a handshake, but then says that VNC connection failed
please paste at that time log
jacobtc said:
Android VNC won't connect Trying to get a handshake, but then says that VNC connection failed
Click to expand...
Click to collapse
Please paste at that time log.
Maybe vnc server does not running.
tknv said:
Thanks mercianary,
It works fine!,
I use customised DeFroST_0.9b_uvonly with USB-host patch.
By the way I would like to add more options to kernel line.
Where can I find like a menu.lst file ? or How to add it to kernel line.
There is no /dev/graphics/* in running Debian console.
I would like to use FrameBuffer on running Debian.
thanks,
Click to expand...
Click to collapse
You should understand that this is not a really booted native linux. Instead you are working in a chroot environment. So there is no kernel running that can get parameters. Only the the stock kernel of your DeFroST. Also there is no FrameBuffer as the graphic hardware ist not accessible. Instead this approach uses a vnc-server to which you can connect via a local viewer.
The advantage of this approach is clear:
- run almost any linux package available in the debian repository
- use your phone as before with the nice android
The disadvantage:
- no graphic output, so no 3D-games (which are rare under linux on the arm platform ;-)
- you can crash your android by eating up to much ram (not such a problem - it restarts on its own and if not you just have to reboot)
Thread is dead?
It seems this thread is dead. The problems many users seem to have come from a dirty setup. The image is broken in many terms:
- wrong file permissions on important binaries, like su
- wrong file permissions on many device files under /dev, so the ttys are only accessible by root
- wrong permissions on other places so there are always errors when installing additonal software (e.g. with the man pages)
- wrong setup that uses the root user for the desktop - instead an unprivileged user should be used
- missing packages for timezones and locales so the time is only right, if you are in a UTC region and console programs having trouble displaying anything else then plain english
I can not recommend using this setup image. It is better to use one of the instructions available online to get a clean setup.
Su doesn't work because your allready root.
Getting anything but root to work would be a real pain.
As you said its a chroot environment, its never going to be perfect.
The image was made using debootstrap just like all the other 'clean' ones.
Yep, it is broken as hell, but it works for what most people would need it for...make,gcc,python,a proper web browser,torrents, and some emergency word processing on the train to work.
The problem most people have is not being able to mount the image, this is due to fro-yo a2sd taking up all the loop devices.
Just thought I'd add my 2 cents.
I tried this on a MIUI rom and the scripy didnt do anything - ie i ran it using:
"# sh /sdcard/deboot"
.....and all it said was:
"#"
I entered all the lines in the shell script but the last one said it failed to launch VLC and no commands registered property (not even ls)
So i tried it on Defrost 5.1, and the script still didn't work.
But when i entered everything manually, it did work. Not too sure about the green theme though.
But thanks alot! Saves me spending a few hours trying to coax a working debootstrap out of my computer.
Thanks!
Josh.
mercianary said:
Su doesn't work because your allready root.
Click to expand...
Click to collapse
Nope. Actually su works only for root. It's missing the setuid root flag like all other binaries that should have it set.
mercianary said:
Getting anything but root to work would be a real pain.
Click to expand...
Click to collapse
Nope. I am always working as a normal, unprivileged user in my chroot. You just have to be in the proper groups. No need to work as root. Android works also with an unprivileged user.
mercianary said:
As you said its a chroot environment, its never going to be perfect.
The image was made using debootstrap just like all the other 'clean' ones.
Yep, it is broken as hell, but it works for what most people would need it for...make,gcc,python,a proper web browser,torrents, and some emergency word processing on the train to work.
Click to expand...
Click to collapse
This is what I do not understand. There is no need that it is broken, as mine works without any errors. So I think something went wrong in creating yours. For sure a chroot is no running OS but you can server almost any service with it and run anything you want (if your ram does not get exhausted ;-).
mercianary said:
The problem most people have is not being able to mount the image, this is due to fro-yo a2sd taking up all the loop devices.
Click to expand...
Click to collapse
Yes. Everyone with a good rom should have a2sd+ (aka the old a2sd) which saves more space than the froyo one and leaves your loop devices for you.
jo

[UPDATE 2/12/2010] Terminal IDE - Full 'on device' Java / Android IDE

[UPDATE]
BusyBox 1.19.2
Bash 4.2
Midnight Commander 4.8
TMUX 1.5 - That's right, full terminal multiplexer..
Vim 7.3
Terminal IDE ASCII Soft keyboard first round bug fixes complete.
It's the addition of TMUX and MC that really excites..
--------------------------
Well,
As the only people I know who might even be interested in this, I would like to announce the release of Terminal IDE v1.0.
A complete Java / Android Development Environment that runs on the device itself, with a nice telnetd / sshd feature.
For Android. Of course... Eat this you IPhone Hounds..
Woo HOO!!
The application is available on Android Market.
https://market.android.com/details?id=com.spartacusrex.spartacuside
As what I can only describe as 'dark days' finally draw to an end, I am very pleased with this first draft.
PLEASE give it a go, log in over telnet for a smoother ride, and let me know how it goes..
DO THE TUTORIAL! Does it work ?!
I have released the whole project GPLv2! Yeah, Who Knew!?
http://code.google.com/p/terminal-ide/
BOOOOOM!
Spartacus
a link to the app in the market would be usefull.
Interesting. Was just wondering about coding on my tablet.
Pretty freakin sweet
Thanks for putting this out!
Awesome
The full keyboard alone makes it worth downloading, but the IDE as well - wow!
this is best bro.
I randomly found this last night while looking for a decent mobile IDE for my tablet. I was looking for a simple text editor with syntax highlighting and you've taken that extra step to include other tools for ssh, telnet and compilers. Much appreciated.
One question, how do you start the ssh server? sshd doesn't seem to do it. I would like to scp files to my device from my desktop in order to work on my commute.
Thanks
The sshd app is actually called Dropbear.
You also have Dropbearkey.
You use Dropbearkey to generate the sshd certificates you need.
I really need to add a tutorial on setting the sshd keys up
For now Google has a couple of articles on it.
For file transfers you also have busybox FTP but I admit not terribley secure..
Allthough SSH is provided, and I wonder whether an SSH pipe can be created..?
And lastly you can just copy the files over to your sdcard via USB..
Will look into it & add tutorials asap.
Ok. So I now have SSHD working..
But there is a slight issue.. basically when you log in you have to start bash manually.. unless you have the file /etc/shell with the correct shell to use.. Which requires a rooted phone.
Since Terminal IDE is for non-ROOT users, I will have to recompile the code to allow a shell to be specified on the command line.. Soon..
FOR NOW - This is how to connect to the phone via SSH (There are other ways using public keys but this is one way)
So - Once in Terminal IDE
2) You need to create a couple of server ssh keys
Start in $HOME
Code:
cd ~
Create folder
Code:
mkdir .ssh
Give it some secure permissions
Code:
chmod 700 .ssh
Get in there
Code:
cd .ssh
Now create the keys
Code:
dropbearkey -t dss -f dropbear_dss_host_key
dropbearkey -t rsa -f dropbear_rsa_host_key
ok - That's almost it. Just need to start dropbear with the correct parameters now. [Probably want to keep this in a script]
Back HOME
Code:
cd ~
You need to know the UID of your app, which is different per phone - use 'id'
Code:
id
That will tell you your user ID / Group ID. Let's say its 10058.
Now to start DropBear
Code:
dropbear -A -N username -U 10058 -G 10058 -C password -d ~/.ssh/dropbear_dss_host_key -r ~/.ssh/dropbear_rsa_host_key -F -E -p 8090 -P PidFile
This will start it running in the foreground with password set to 'password' on port 8090.
Then you can connect, like telnet, and simply use 'password' for the password.
Now for the issue. It will start a simple shell session in / with no ENVIRONMENT variables or anything..
I'll fix it permanently in a future release, but for now it can be fixed with these 2 commands.
cd into your home dir - Check this is correct on your device
Code:
cd /data/data/com.spartacusrex.spartacuside/files
And start bash with an init file Terminal IDE auto-magically creates..
Code:
./system/bin/bash --init-file ./.init
Everything should now be setup as usual.
Good luck..
Very awesome and thank you sir. Works like a charm.
One thing to clarify for those "braving" this (not that it's all that insane to try)... the '-N' is setting the username (in the case of the example, setting it to 'username').
Also, it gives a permission denied for scp, I'm assuming since it doesn't init/run the shell. Should be fine since FTP is included. Haven't tried this option yet. Not too worried about security at the moment, since I'll only run it on a private network.
May I make a (maybe) small feature request? Is it possible to include a "keep screen awake" option in the options menu? I have my Xoom config'd to turn off the wifi when the screen is off for power saving (can go ~4 days on 1 charge), so it will kill my connections if I let this happen. I know not everyone has this config set, but it'd be a nice option.
NOW, if I wasn't lazy, I could probably add this myself and build since I've dl'd the source. But, lazy and working on a few projects already.
Again, much thanks.
And as if by magic..
Funnily enough I was having the exact same issue last night while using wget to transfer a big file to my device..
NEW VERSION UPLOADED v1.13
Now has 3 non-exclusive lock types available in the options :
- CPU Lock
- SCREEN Lock
- WIFI Lock
Set them as you wish...
Saw that this morning when I was on the bus (Thursday morning here in Hong Kong). Very awesome and much appreciated.
As well, thanks for open-sourcing it. +1 for you sir!
Very cool stuff
Thanks for creating this.
Great app! However I can't compile .java files. I always get an error that it can't unzip a file in /android.policy.jar. Any idea?
Sent from my GT-I9100 using XDA App
Do you think its possible to also support compiling C sources directly in your phone
I've been searching for this ever since I got an android.
THANK YOU.
Says that it's incompatible with my OG Droid. Any idea why?
shpen said:
Says that it's incompatible with my OG Droid. Any idea why?
Click to expand...
Click to collapse
Most likely seems to be due to the ROM you are using and/or the market version
can u post the build.prop here?
/system/build.prop
also, try going back to market 2.x, 3.x market(s) do loads of checks
Does anybody know why I can't compile java files? I always get the following error:
Error reading /system/framework/android_policy.jar cannot read zip file.
Any ideas? Could anyone upload there android_policy.jar because that might cause the error.
Sent from my GT-I9100 using XDA App
Hi Schindler33.
Can I ask, have you followed the tutorials, say the first helloworld example TO THE LETTER?
Does the helloworld example work?
The parameters have to be correct, and as always exact, and the BOOTCLASSPATH variable must be set.
If so, is it a custom ROM?
Does that policy jar file exist and is it readable by non root users?
As much info as possible good..

Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Thread

Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Thread
This guide assumes you are familiar with using the Tubuntu application by x3Maniac. If you are not, please read the OP by x3maniac to familiarize yourself with the application before going further. Also, I'm giving instructions based on the standard dual boot configuration.
OP for Tubutnu by x3maniac
This install takes about 2 hours or more because of installing GNOME-CORE.
Please note that this version is very new. There are a few bugs like any OS and some random issues I have encountered. x3maniac is also working on a newer initramfs and kernel. This will be released in due time. Continue to check the OP for updates.
One more note, there is no GUI. We are going to install gnome-core as the GUI. You can install any desktop you want but this guide is only for GNOME-CORE.
1. After sucessful bual boot you should be in Prime (Android). Please set up your internet connection so you have a valid wpa_supplicant to copy. Reboot to recovery or power down, vol down + power and vol up to enter recovery to boot Ubuntu.
2. Login with root and family as the password. (you are at a text based login)
3. Execute this command: resize2fs /dev/mmcblk0p8 (ensures your partition is fully using the 6GB available)
4. We now need to set up an internet connection. Execute this command: mount -o rw /dev/mmcblk0p7 /tmp
5. cd /tmp then cd /misc/wifi
6. Execute this command: cp wpa_supplicant.conf /etc
7. Execute this command: wpa_supplicant -B -c /etc/wpa_supplicant.conf -iwlan0
8. Execute this command: /usr/lib/klibc/bin/ipconfig wlan0 (type out everything as you see it)
9. nano /etc/resolv.conf add nameserver 8.8.8.8 to this file. ctrl + o and ctrl + x to save and exit.
10 nano /etc/apt/sources.list find entries that are commented out with the"#" sign for "universe" and remove the pound sign. Save and exit.
10. Execute this command: apt-get update
11. Execute this command: apt-get install sudo -y
12. nano /etc/sudoers add this line username ALL=(ALL:ALL) ALL ) (substitute the username you made) (you are copying the same line that has root but with your new username)
13. Execute this command: apt-get install bash-completion (optional but recommended)
14. Execute this command: nano /etc/hosts add 127.0.0.1 tf101.raring to this file. Save and exit.
15. Execute this command: apt-get install apt-utils (optional but recommended)
16. Execute this command: adduser username (substitute username for whatever username you would like). Enter a password as well.
17.Execute this command: exit we are exiting so we can login with the new user and install the gnome-core.
18. Login with your new username and password
19. Execute this command: sudo apt-get install gnome-core (may take about 2 hours or so to install) DO NOT REBOOT AFTER THIS FINISHES
20. You may encounter questions such as encoding and character set. I chose UTF-8 for "Encoding to use on the console" and Latin1 and Latin5 for character set. NOTE: I'm not sure if the second one is correct.
21. Execute this command: sudo apt-get purge pulseaudio (once this is done you may reboot and should be presented with the GUI)
22. Login to the GUI with your username and open terminal.
23. Execute this command: sudo apt-get install software-center (this is Ubuntu software center)
24. Execute this command: sudo apt-get install cpufrequtils (this is the governor for the CPU's)
25. Execute this command: sudo nano /etc/rc.local
26. Add the following 2 lines into this file and save and close:
26b. cpufreq-set --cpu 0 -d 812000 -u 1400000 -g ondemand
26c. cpufreq-set --cpu 1 -d 812000 -u 1400000 -g ondemand
27. If you have problems booting back into Android, open terminal and Execute this command: sudo echo boot | dd of=/dev/mmcblk0p3 bs=1 seek=0
reserved
Was just wondering if this method has the onboard keyboard for the SL101 enabled? Currently using the tubuntu package setup and the hardware keyboard was not being recognized.
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th
benmatlock said:
Was just wondering if this method has the onboard keyboard for the SL101 enabled? Currently using the tubuntu package setup and the hardware keyboard was not being recognized.
Click to expand...
Click to collapse
Not that I'm aware of. It's specific to the tf101 only.
Good guide, thanks!
When I want to apt-get install gnome core, my user is not in sudoers file, you may have forgotten to add this step
(visudo, add username ALL=(ALL:ALL) ALL )
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th
You are right. I'll fix that soon!
Is it normal that status bar are both black and some icons are missing ( replaced with a black and white "picture" icon ).
May be it miss something ? Or it's just me xD
I'll try to get onboard on login now Thanks for your guide anyway !
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th
Kingzak34 said:
Is it normal that status bar are both black and some icons are missing ( replaced with a black and white "picture" icon ).
May be it miss something ? Or it's just me xD
I'll try to get onboard on login now Thanks for your guide anyway !
Click to expand...
Click to collapse
Sounds right for gnome core but I would have to see if yours is the same as mine.
Seems to be quite a minimalistic setup.
Thanks for checking out onboard.
Kingzak34 said:
When I want to apt-get install gnome core, my user is not in sudoers file, you may have forgotten to add this step
(visudo, add username ALL=(ALL:ALL) ALL )
Click to expand...
Click to collapse
Guide has been updated at step 10b. Thanks!
Thanks for the guide. Before I give it a shot, I have a few questions. Are you aware if:
- The HDMI output works (don't care much about audio but some may)?
- It suffers the same random freezes as Lunbuntu does? Mine freezes randomly while doing trivial tasks, such as creating a desktop shortcut lol :\ Trying to get a stable one going!
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th
Lethe6 said:
Thanks for the guide. Before I give it a shot, I have a few questions. Are you aware if:
- The HDMI output works (don't care much about audio but some may)?
- It suffers the same random freezes as Lunbuntu does? Mine freezes randomly while doing trivial tasks, such as creating a desktop shortcut lol :\ Trying to get a stable one going!
Click to expand...
Click to collapse
Not sure of HDMI but yes there are freezes for me that is. Some more updates will be coming soon to help make it better.
I think with last 2.6.34 kernel with confgured 316-1200 cpu, it shouldnt freez ( Didnt had freez for now, didnt do the cpu config at the end of guide )
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th
Kingzak34 said:
I think with last 2.6.34 kernel with confgured 316-1200 cpu, it shouldnt freez ( Didnt had freez for now, didnt do the cpu config at the end of guide )
Click to expand...
Click to collapse
Let me refine my statement...I think many of my freezes were due to suspend and a few other little things. Also probably some of them were my fault too.
Still happening to me... it can take 1 minute it can take 20 minutes, under very light load, doing the most random things...
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th
Lethe6 said:
Still happening to me... it can take 1 minute it can take 20 minutes, under very light load, doing the most random things...
Click to expand...
Click to collapse
Try loading cpufrequtils from the last step of the guide. Should help considerably.
Here we are ! I found a way to show Onboard on login screen !
Was searching long long time why doesnt work, cause I didnt installed onboard .... Shame on me !
So ! Defaut DM is gdm.
Open term,
nano /etc/gdm/Init/Default
Before the exit 0 at the end, add "onboard&"
Then save and reboot
( You can add options like size and position to the command, look into onboard man )
( Dont forget the & otherway, You'll got to log in text mode and add it cause if there is no &, Onboard appear and nothing append, screen stay black )
Ho, and be carefull, you add a ) in line that contain
ALL=(ALL:ALL) ALL )
Click to expand...
Click to collapse
The last ) must not be typed
Kingzak34 said:
Here we are ! I found a way to show Onboard on login screen !
Was searching long long time why doesnt work, cause I didnt installed onboard .... Shame on me !
So ! Defaut DM is gdm.
Open term,
nano /etc/gdm/Init/Default
Before the exit 0 at the end, add "onboard&"
Then save and reboot
( You can add options like size and position to the command, look into onboard man )
( Dont forget the & otherway, You'll got to log in text mode and add it cause if there is no &, Onboard appear and nothing append, screen stay black )
Ho, and be carefull, you add a ) in line that contain The last ) must not be typed
Click to expand...
Click to collapse
That worked! Lol...I went through a lot of config files doing the same thing. This is great news, much appreciated KingZak!
TomTcom said:
That worked! Lol...I went through a lot of config files doing the same thing. This is great news, much appreciated KingZak!
Click to expand...
Click to collapse
You can do the same with kdm and lightdm ( But not with lightdm from x3maniac Lubuntu dont know why )
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th
Kingzak34 said:
You can do the same with kdm and lightdm ( But not with lightdm from x3maniac Lubuntu dont know why )
Click to expand...
Click to collapse
KingZak, have you been able to use the file /usr/share/onboard-defaults.conf? I wanted specific sizes and settings for login screen, screen saver, and desktop. However when I use the file of doesn't use the settings I modify.
Any ideas?
***
In dconf editor you can tell it to use the defaults config file but it appears to reset each time onboard is closed...hmmm..not sure the next step.

[Guide] Ubuntu 12.04 desktop on N7 2013 with LinuxOnAndroid

Hello,
I'm gonna describe here a method that can bypass the "loop device not found" bug with Android 4.3 and LinuxOnAndroid (also called Complete Linux Installer).
With that method, you will be able to run Ubuntu 12.04. It will not harm your device, since it's only an application and a "mount loop".
This is not from me, I found some loose informations on LoA's forum and just tried it out. Then I wrote this guide when I finally got it working. Credits are at the end of the post.
Informations :
- Any Kernel should work (I use ElementalX 1.4)
- Any ROM should work (I use ParanoidAndroid 3.99)
- Any 4.3 device should work (this has been seen working on Nexus 4 and Nexus 7 flo).
- This trick should work for any GNU/Linux armel distribution, but you'll have to change some things, like "startlxde" command and others. I can't help you for that.​
What do I need ?
- Root access(SuperSu is recommended)
- BusyBox
- a root file explorer (ES File Explorer is recommended)
- Android 4.3 or CustomROM based on 4.3
- A computer running GNU/Linux (Ubuntu is recommended, but this should work with any debian-based distro. LiveUSB should work)
- Internet access (Around 450Mb download is needed, so 3G or 4G is not recommended)
- ... some free time.​
What should I do ?
Step 1 : Install apk on your device
Download and install those 3 applications :
- Complete Linux Installer
- Terminal Emulator
- Android-VNC-viewer​
Step 2 : Prepare the .img ubuntu disk on your computer
- Start Ubuntu on your computer.
- Download the LinuxOnAndroid "ubuntu.img" from Sourceforge (you'll need the 'small' version : 396Mo)
- Create a new folder (anywhere you want, ext4 partition is recommended, so /home/user is good) and call it "loa" (for LinuxOnAndroid)
Code:
[I]Example : [/I]
mkdir /home/yourname/loa
- Extract the ubuntu1204-v4-small.zip in that folder
- Open a terminal and navigate to the directory where the ubuntu.img was extracted :
Code:
cd /home/yourname/loa
- Enter the following commands :
Code:
#Create the needed directories
mkdir ubuntunew ubuntuold
#Create a new empty .img
dd if=/dev/zero of=ubuntunew.img bs=1M count=0 seek=4096
#Format your new .img into ext4 (original is ext2 and bugs with Android 4.3)
mkfs.ext4 -F ubuntunew.img
#Mount the .img into the directories
sudo mount -o loop ubuntu.img ubuntuold
sudo mount -o loop ubuntunew.img ubuntunew
#Copy the content of downloaded ext2.img into created ext4.img (may process during some time)
sudo cp -r ubuntuold/* ubuntunew
#Unmount mounted .img
sudo umount ubuntuold
sudo umount ubuntunew
Step 3 : prepare your device for the new ubuntunew.img
- Copy the ubuntunew.img (4Go) from your computer to your device
- Place the ubuntunew.img in SDCARD/ubuntu/ubuntunew.img (you'll need to create the directory)​
Step 4 : prepare Complete-Linux-Installer for the new ubuntunew.img
- Open "ES File explorer", turn on the "root explorer" option
- Navigate to /data/data/com.zpwebsites.linuxonandroid/files
- Edit bootscript.sh with a text editor :
1) In "Set up loop device and mount image" :
The line :
$bbox mount -t ext2 /dev/block/loop255 $mnt
becomes
$bbox mount -t ext4 /dev/block/loop255 $mnt
2) In "Mount all required partitions" :
add the line :
$bbox mount -o bind /sys/fs/selinux $mnt/selinux
3) In "Unmount all user defined mounts if any" :
add the line :
$bbox umount $mnt/selinux
- Save changes in bootscript.sh​
Step 5 : Use Complete-Linux-Installer to boot ubuntunew.img
- Open "Complete-Linux-Installer
- Go to "Launch" > "Settings" > "Add"
Name : Droidbuntu
Image : /storage/emulated/0/ubuntu/ubuntunew.img
- Choose "Droidbuntu" from the list and "Start Linux"
- Proceed with the installation (terminal starts and ask you a few things) :
Code:
Example values I used on my N7 flo :
- resolution : 1920x1200 (I disabled navbar and statusbar, if you did not, you'll have to try acceptable values)
- run vnc : [B]yes[/B] (important! it will allow you to start the GUI)
- run ssh : no
- password : whatever you want
- You should now be in linux shell (you can tell by the [email protected]:/# in the terminal emulator)
- Enter the command :
Code:
#It will allow you to start the GUI by adding startlxde to the xstartup script
echo startlxde | tee /home/ubuntu/.vnc/xstartup
- Leave the terminal alone (don't close it) and open "androidVNC"
Values to use :
Code:
Nickname : Droidbuntu
Password : ubuntu
Adress : localhost
Port : 5900
Username : root
24-bit color (4 bpp)
Check the local mouse checkbox
- Clic on "Connect"​
You are now in Ubuntu 12.04 LXDE. :highfive:
You may want to change "entrymode" in settings, and use "Touchpad", it's better in my opinion.​
What's next ?
To start Ubuntu later, just open Complete-Linux-Installer and click "Start linux", then once you're in [email protected], open VNC and "connect". Yes, it's that simple.
The command lines need to be entered in terminal emulator, not in lxterm nor any terminal in Ubuntu.​
Credits :
LinuxOnAndroid Team
Canonical and partners
Following LinuxOnAndroid forum users : clb, Isei, RobbH
NOTE : My english surely isn't perfect. If I made any errors, or if you don't understand a step, please tell me.
I can upload an ext4 ubuntu.img (described in step 2), but only if it really is necessary. The image is 4.0 Gigabyte and it will take me a long time to upload this... (My upload internet speed is 40Ko/s so it will take 30 hours to upload, and I'll be glad not to^^)
Awesome guide thank you.
Sent from my HTC Desire HD
Could some one post the image prefered-large one because i do not have ubuntu and it seems complicated for a 'noob like me
bogii4 said:
Could some one post the image prefered-large one because i do not have ubuntu and it seems complicated for a 'noob like me
Click to expand...
Click to collapse
This will not work "as it" with the large image, because you are adding the command startlxde to Ubuntu, which will start LXDE, not Unity.
Do not forget that small image uses LXDE, when large image uses Unity. I don't know which command you should use to start Unity in the xstartup script for VNC.
But, if you want some programs that are inclueded in large-image, you can always use "apt-get install nameofthepackageyouwant" in the terminal-emulator while using Ubuntu. This command will download and install the program. But if you want Unity, I can't help you, maybe some else know...
And, by the way. You don't have Ubuntu on your PC but you want to use it on Android ? That's odd^^
can you verify this works on Flo? it's not clear that you have this on your Nexus
reading the working devices list on linuxonandroid.org, it says "It does not work when going to the mount step since there is a bug in 4.3. It should run perfectly after that is fixed."
have a link or two where someone has successfully installed this on their Nexus 7 (Flo)? or do you have screenshots of it on yours?
Midnight_Rider said:
can you verify this works on Flo? it's not clear that you have this on your Nexus
reading the working devices list on linuxonandroid.org, it says "It does not work when going to the mount step since there is a bug in 4.3. It should run perfectly after that is fixed."
have a link or two where someone has successfully installed this on their Nexus 7 (Flo)? or do you have screenshots of it on yours?
Click to expand...
Click to collapse
It works on flo, I posted here in "Neuxs 7 (2013) > Nexus 7 (2013) General" and the title of this thread is "on N7 2013".
I also explained in the introduction that this is a way to bypass the bug with 'mount loop'.
I also said in the "informations" box that it works with 'flo'
I also gave the credits to users from LinuxOnAndroid forum, who made this possible. There you'll find some testimony of people who were able to run it. You can also check RobbH's post on LinuxOnAndroid thread, here, on XDA.
Sorry, but I think that it's pretty clear haha
Sent from my Nexus 7 using xda app-developers app
sure, ok, seems odd though that you edited your OP after you tell me the info i was looking for was already in the OP
whatever, thanks anyway
Midnight_Rider said:
sure, ok, seems odd though that you edited your OP after you tell me the info i was looking for was already in the OP
whatever, thanks anyway
Click to expand...
Click to collapse
I added this to OP :
Code:
Example :
mkdir /home/yourname/loa
I'm trying to help you and others here, I'm not here to be insulted and called a liar. Thank you.
anyway (workaround) we can boot the 'large image as in Unity the full desktop experience? or do we have to wait for an actual fix ?
Just thought I would pop in and say hi.
Thanks to @Vaykadji and everyone else in LoA land that helped get everything running on 4.3 we are finally sorting the bugs.
A beta version of the app featuring the edits needed in the boot script has been pushed to our beta test group and new ext4 images are being cooked as we speak.
Should not be much longer now and LinuxonAndroid will fully support 4.3
bogii4 said:
anyway (workaround) we can boot the 'large image as in Unity the full desktop experience? or do we have to wait for an actual fix ?
Click to expand...
Click to collapse
as I said : the part in the guide where you add "startlxde" to the xstartup script is only for LXDE (so: small image of Ubuntu only). But if you find the same command for Unity, you will maybe be able to boot with Unity.
Note: Unity and LXDE are both "desktop environment", but different ones. Google it if you don't understand, I can't explain this with my poor English :/
I used this method,but in ubuntu 12.04,it's only X cursor and gray desktop.
in ubuntu 13.04,solved this problem. so we best use ubuntu 13.04.
now I have a problem:in ubuntu,I installed openjdk and run java application .if java application not close and run background.then I press power button to close screen,battery drain very quickly.I saw "android os " always awake.one hour maybe drain 5% battery.
if close the java application battery drain normal.and "android os " no longe awake.
this problem only found in nexus 7 (flo), I have run java application in other android device(like nexus 7 2012,htc evo 4g lte,htc incredible) all of them didn't appear this problem.
some people can test this problem?
and how can I resolved it?
sdwshlsdx said:
I used this method,but in ubuntu 12.04,it's only X cursor and gray desktop.
in ubuntu 13.04,solved this problem. so we best use ubuntu 13.04.
now I have a problem:in ubuntu,I installed openjdk and run java application .if java application not close and run background.then I press power button to close screen,battery drain very quickly.I saw "android os " always awake.one hour maybe drain 5% battery.
if close the java application battery drain normal.and "android os " no longe awake.
this problem only found in nexus 7 (flo), I have run java application in other android device(like nexus 7 2012,htc evo 4g lte,htc incredible) all of them didn't appear this problem.
some people can test this problem?
and how can I resolved it?
Click to expand...
Click to collapse
The X cursor and gray desktop appears when you don't add "startlxde" to you xstartup script. I'll try with 13.04 if I have the time, I couldn't tell right know.
Works well on Ubuntu 13.04 small image (but in 13.04, you don't have to do the "echo startlxde | tee /blablabla" command)
a little off topic but.. i was able to boot Windows XP using Bosch it took 10-15mins to fully boot but it is not usable i expected more mouse seems smooth but clicking - the start menu, open something takes forever :/ worth it?
Vaykadji said:
I added this to OP :
Code:
Example :
mkdir /home/yourname/loa
I'm trying to help you and others here, I'm not here to be insulted and called a liar. Thank you.
Click to expand...
Click to collapse
you're right, did not mean to insinuate anything or insult you, that was not my intent. please accept my apologies
Thank you ! We're good.
Now, since this guide will soon no longer be usefull (with LoA being updated), I'm willing to do some researchs on how to improve Linux ARM experience. Because I noticed that they were plenty of cool things that were not ported (or not officially though).
Some repo's are broken for example. Official repo's (I was planning to install LightSpark, a flash-player fork, but no can do). Maybe this will be more usefull for LinuxOnAndroid user's.
And Touch should be released soon for Nexus products (not including flo, but hopefully it'll come quick).
So, with this, it's not touch screen?
Sent from my Nexus 7 using Tapatalk 4

[Tutorial] Add a GUI (desktop Linux) to the AoL base on the YT2 830,1050,1380

This is just a sample GUI setup for a simple localhost SSH/Xserver-Xsdl setup. I'm using LXDE because it is fast,
uses Openbox and I can easily modify window borders, scrollbars and such for the touch screen.
Once your GUI is setup, you can also get a vncserver running to access from your PC...
Prerequites for a localhost X11 session:
- Unlocked bootloader - See Here
- Linux base installed - See Here
- Install an ssh client (I use JuiceSSH) and Xserver-Xsdl from the PlayStore
- Knowledge of your distro's Linux command line and package management (apt-get, pacman, installpkg, etc) - See the internet
Root user access it great but I definitely use a normal user, with sudo privileges, for everyday X stuff. I'm keeping it general because for
some reason people like other distro's beside Arch. :silly:
PREP - Adding some Android access groups and a normal non-root user:
- Update your distro
- Install sudo
- Getting your user the right permissions, add the following from ssh:
Code:
groupadd -g 3001 aid_net_bt_admin
groupadd -g 3002 aid_net_bt
groupadd -g 3003 aid_inet
groupadd -g 3004 aid_net_raw
groupadd -g 3005 aid_net_admin
groupadd -g 3006 aid_net_bw_stats
groupadd -g 3007 aid_net_bw_acct
groupadd -g 3008 aid_net_bt_stack
groupadd -g 1015 sdcard_rw
groupadd -g 1028 sdcard_r
- Add normal user
Code:
useradd -a -g users -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin,aid_net_bw_stats,aid_net_bw_acct,aid_net_bt_stack,sdcard_rw,sdcard_r -s /bin/bash username
- Add a password to the user
Code:
passwd username
- Install LXDE group, xorg-server, pulseaudio, pavucontrol (check your distro's package names)
- For terminal apps (ie LXterminal) to run correctly and some makepkg issues add the following (bold below) to /etc/init.stage2
just before the export statement
-- NOTE - BE VERY CAFEFULL WITH THIS FILE OR YOU WILL NOT BOOT TO ANDROID
- READ SOFTBRICK
Code:
...
busybox mount -o bind /android/dev/socket /dev/socket
[B]mount -o remount,mode=620,gid=5 /dev/pts
ln -s /proc/self/fd /android/dev/fd[/B]
export PATH=/sbin:/usr/sbin:/bin:/usr/bin
BONUS PREP:
To make life a little easier on the touch screen I have made the following changes:
1 - Increase scrollbar width, edit or add the following to ~/.gtk-2.0.mine
Code:
style "wide-scrollbar-style"
{
GtkScrollbar::slider_width = 24
}
widget_class "*Scrollbar" style "wide-scrollbar-style"
2 - Increase window borders, copy a theme directory you want from /usr/share/themes/ to ~/.local/share/themes/, then edit your new (copied) themerc
Code:
!!General
window.handle.width: 0
window.client.padding.width: 0
window.client.padding.height: 0
border.Width: 20
padding.width: 3
menu.overlap: 2
3 - Increase window control icons, in the same new theme directory use a graphics editor to scale the .xbm icons from
10x10px to 16x16px (to start)
4 - Once you have LXDE up and running you can right click on the panel and adjust the size your panel and icons
RUNNING Xserver-Xsdl THE FIRST TIME:
- Start Xserver-Xsdl and download the extra fonts
- Select "Change Device Configuration" and change the following:
-- Mouse emulation>Mouse emulation mode>Tablet​-- Mouse emulation>Advance features> uncheck Reletive mouse movement (laptop mode)​
- At the "Tap Screen to Change" screen select "Native" and then x0.7 dpi to start with (you can change this
everytime to get the best for you)
HERE WE GO:
- Get Xserver-Xsdl running and waiting (blue screen with PC ssh connection information)
- Start or switch to your ssh client as your normal user
- Type the following (or make it a script, I did):
Code:
export PULSE_SERVER=tcp:localhost:4712
env DISPLAY=localhost:0 startlxde
(Using 'env" makes the ssh session unusable until you logout of the X session)
- Select Xserver-Xsdl from recents or the notification bar and PROFIT
Anytime you logout or force-close Xserver-Xsdl you will need to follow steps 1-3
Thank you.
Reserved #1
I'm 1st
Reserved #2
Mine
Reserved #3
This one also (just in case)
Cool!
This is supported GLX? (Required specifications of the Steam games)
(I am difficult to understand English...)
neverapple88 said:
Cool!
This is supported GLX? (Required specifications of the Steam games)
(I am difficult to understand English...)
Click to expand...
Click to collapse
There is no hardware acceleration. This is just a simple GUI, letting Android do the dirty framebuffer work. It is mostly to do basic desktop stuff. Once a dualboot or kexecboot comes along then we could do it...
workdowg said:
There is no hardware acceleration. This is just a simple GUI, letting Android do the dirty framebuffer work. It is mostly to do basic desktop stuff. Once a dualboot or kexecboot comes along then we could do it...
Click to expand...
Click to collapse
Thank you , But I have a new problem.
[[email protected] ~]# usermod -a -g users -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin,aid_net_bw_stats,aid_net_bw_acct,aid_net_bt_stack,sdcard_rw,sdcard_r, -s /bin/bash neverapple88
usermod: group '' does not exist
I already add user neverapple88 (use useradd)
neverapple88 said:
Thank you , But I have a new problem.
[[email protected] ~]# usermod -a -g users -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,aid_net_admin,aid_net_bw_stats,aid_net_bw_acct,aid_net_bt_stack,sdcard_rw,sdcard_r, -s /bin/bash neverapple88
usermod: group '' does not exist
I already add user neverapple88 (use useradd)
Click to expand...
Click to collapse
My bad... It was suppose t be useradd
From my LG-G4, Rooted running Stock 5.1
lose the comma at the end of sdcard_r
usermod -a -g users -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,a id_net_admin,aid_net_bw_stats,aid_net_bw_acct,aid_ net_bt_stack,sdcard_rw,sdcard_r -s /bin/bash neverapple88
ionioni said:
lose the comma at the end of sdcard_r
usermod -a -g users -G aid_net_bt_admin,aid_net_bt,aid_inet,aid_net_raw,a id_net_admin,aid_net_bw_stats,aid_net_bw_acct,aid_ net_bt_stack,sdcard_rw,sdcard_r -s /bin/bash neverapple88
Click to expand...
Click to collapse
Thanks!
workdowg said:
My bad... It was suppose t be useradd
From my LG-G4, Rooted running Stock 5.1
Click to expand...
Click to collapse
I have to stop trying to fix these post from my phone.... tapatalk sucks for that....
Sent from my YOGA Tablet 2-1050F using Tapatalk
typing in ssh
export PULSE_SERVER=tcp:localhost:4712
export DISPLAY=localhost:0 startlxde
-> start XSDI app -> .... server waiting~...
next~
typing in ssh
startlxde
** Message: main.vala:99: Session is LXDE
** Message: main.vala:100: DE is LXDE
** Message: main.vala:131: log directory: /home/neverapple88/.cache/lxsession/LXDE
** Message: main.vala:132: log path: /home/neverapple88/.cache/lxsession/LXDE/run.log
-> Working LXDE in(?) XSDI app
and Message 'No session for pid 4339' and [ok] button
I'm using alternatives. : tmux! (no working?!)
JuiceSSH app is useless, This is can't run startlxde (I don't know..)
The last way I think now : juice app ssh -> run ssh in raspberry pi -> my tablet............
ps. Working on a computer. (PC ssh -> tablet)
and What is 'now edit your new themerc' ? I don't know..
neverapple88 said:
typing in ssh
export PULSE_SERVER=tcp:localhost:4712
export DISPLAY=localhost:0 startlxde
-> start XSDI app -> .... server waiting~...
next~
typing in ssh
startlxde
** Message: main.vala:99: Session is LXDE
** Message: main.vala:100: DE is LXDE
** Message: main.vala:131: log directory: /home/neverapple88/.cache/lxsession/LXDE
** Message: main.vala:132: log path: /home/neverapple88/.cache/lxsession/LXDE/run.log
-> Working LXDE in(?) XSDI app
and Message 'No session for pid 4339' and [ok] button
I'm using alternatives. : tmux! (no working?!)
JuiceSSH app is useless, This is can't run startlxde (I don't know..)
The last way I think now : juice app ssh -> run ssh in raspberry pi -> my tablet............
ps. Working on a computer. (PC ssh -> tablet)
Click to expand...
Click to collapse
It looks like you are starting Xsdl after trying to connect to it? You need to start the server first. Juice works fine (use connectbot but I'm unsure whether it has persistent notification so it doesn't get killed by android)
and What is 'now edit your new themerc' ? I don't know..
Click to expand...
Click to collapse
I fixed the instructions, more clear now. (2 - Increase window borders, copy a theme directory you want from /usr/share/themes/ to ~/.local/share/themes/, then edit your new (copied) themerc) Thank you.
workdowg said:
It looks like you are starting Xsdl after trying to connect to it? You need to start the server first. Juice works fine (use connectbot but I'm unsure whether it has persistent notification so it doesn't get killed by android)
I fixed the instructions, more clear now. (2 - Increase window borders, copy a theme directory you want from /usr/share/themes/ to ~/.local/share/themes/, then edit your new (copied) themerc) Thank you.
Click to expand...
Click to collapse
Working with connectbot and PC ssh! but Juice ssh is can't
neverapple88 said:
Working with connectbot and PC ssh! but Juice ssh is can't
Click to expand...
Click to collapse
Glad its working for you. I actually find for the pc a vnc server works better. Im not sure why it seems faster...
Have you tried playing sounds on local xsdl? It seems choppy but i was suprised it works at all. It makes me very happy because i use a script to fix and post sermons to my church podcast... now i can do it where ever and whenever...
workdowg said:
Glad its working for you. I actually find for the pc a vnc server works better. Im not sure why it seems faster...
Have you tried playing sounds on local xsdl? It seems choppy but i was suprised it works at all. It makes me very happy because i use a script to fix and post sermons to my church podcast... now i can do it where ever and whenever...
Click to expand...
Click to collapse
i wonder if there are more than 2 or 3 users of the Yoga Tab who are able to for eg. dump their fastboot partition to a file and do that without having a tutorial
maybe Yoga Tab 2 has reached his max in what regards the tweaking/modding in the usability area for the casual user
Hi people, I have LXDE running ok on the yoga 2 tablet 1050F, it look great, but i am not able to run any app, except file manager since the luncher is on taskbar ... i dont have any app in menu button or from any other place, i am not able to start a console, for example, so ... how can i start an app, i already installed all i need ... in menu button i have only "logout" and "run", but when you press on "run" it restart taskbar and dont do anything else ... some ideas ??
additionally, i would like to try with a different window manager, with icewm for example. Is it possible ? if it is, how ?
thank you very much.
---------- Post added at 08:05 PM ---------- Previous post was at 07:30 PM ----------
neo2110 said:
Hi people, I have LXDE running ok on the yoga 2 tablet 1050F, it look great, but i am not able to run any app, except file manager since the luncher is on taskbar ... i dont have any app in menu button or from any other place, i am not able to start a console, for example, so ... how can i start an app, i already installed all i need ... in menu button i have only "logout" and "run", but when you press on "run" it restart taskbar and dont do anything else ... some ideas ??
additionally, i would like to try with a different window manager, with icewm for example. Is it possible ? if it is, how ?
thank you very much.
Click to expand...
Click to collapse
Ok, i am launching apps using the file manager ...
---------- Post added at 08:26 PM ---------- Previous post was at 08:05 PM ----------
Just as a tip ... I changed the owner of my user in /home/ and when I restarted the graphical server apps appeared into menu button ... not all, but many ...
neo2110 said:
Hi people, I have LXDE running ok on the yoga 2 tablet 1050F, it look great, but i am not able to run any app, except file manager since the luncher is on taskbar ... i dont have any app in menu button or from any other place, i am not able to start a console, for example, so ... how can i start an app, i already installed all i need ... in menu button i have only "logout" and "run", but when you press on "run" it restart taskbar and dont do anything else ... some ideas ??
additionally, i would like to try with a different window manager, with icewm for example. Is it possible ? if it is, how ?
thank you very much.
---------- Post added at 08:05 PM ---------- Previous post was at 07:30 PM ----------
Ok, i am launching apps using the file manager ...
---------- Post added at 08:26 PM ---------- Previous post was at 08:05 PM ----------
Just as a tip ... I changed the owner of my user in /home/ and when I restarted the graphical server apps appeared into menu button ... not all, but many ...
Click to expand...
Click to collapse
Wuauu Xserver XSDL is amazing, very easy to configure and with many options ... thanks to everyone who make it possible to have linux running on this wonderful yoga 2 tablet ...
Is there any YouTube videos for this?

Categories

Resources