Closed GoogleCodeExporter closed 9 years ago
Yep ! It's a must have feature !
Thanks for the app :)
Original comment by hadjedjyohan
on 9 Jul 2010 at 3:14
While this would, of course, be the perfect feature, it would require
implementation of the entire X11 windowing system (which has been done but ends
up being somewhat slow...)
Original comment by martinpa...@gmail.com
on 24 Jul 2010 at 1:46
Yes but what i need isn't to display X11 on my phone but to be able to lunch
graphical applications on my server from a ssh connection initiated by my phone
and i can't switch display if the -X option isn't implemented .
DISPLAY=:0
xhost local:username
I can't run these commands to turn display to server without the -X option .
ps: if someone have an alternative solution i will be glad to hear about it .
Original comment by rickgha...@gmail.com
on 24 Jul 2010 at 4:36
Switch the display to what? You can't have it display on your phone because
your phone doesn't have X11. If manipulating the DISPLAY on your server to
display the graphical programs *on your server* doesn't work, it's not anything
adding an X11 forwarding feature to ConnectBot will solve.
Original comment by kenny@the-b.org
on 4 Aug 2010 at 4:46
@rickgha,
make connectbot execute this
export DISPLAY=:0
after logging in to shell, and your gui commands will be launched on your
server screen
Original comment by pstevens...@gmail.com
on 12 May 2011 at 1:13
@pstevens
yes indeed I don't actually need the -X option ( that what I was missing ).
thanks , my issue is solved .
Original comment by rickgha...@gmail.com
on 12 May 2011 at 7:57
How do you tell connectbot to execute 'export DISPLAY=:0' after it logs into
the shell?
Original comment by philip.f...@alumni.utoronto.ca
on 9 Oct 2011 at 3:02
@phillip It's a command just like any other that you type in connectbot after
it connects to your shell.
Original comment by mehmetae...@gmail.com
on 9 Oct 2011 at 3:36
I would like to reopen this one:
See:
https://market.android.com/details?id=com.theqvd.android.x
The intent that can be used is:
x11://localhost:0
If any feature is needed in the X11 application, I would be happy to implement
that.
Original comment by nito.mar...@gmail.com
on 9 Feb 2012 at 6:52
My goal is displaying on Android remotely lauched apps on Linux.
Sooo, is it possible to forward X11 ports with ConnectBot or not ?
I am trying to use the "X server" app but I don't think opening 600X ports
manually is a good idea.
Also I tried "Xvnc:X/X11", but didn't want to do a VNC.
Original comment by wana...@gmail.com
on 6 Apr 2012 at 3:11
@kenny my phone *has* x11. See comments 9 and 10.
Please reopen!!!
Original comment by marian...@gmail.com
on 28 Jul 2012 at 4:07
Similar issue but I'm not even at the -X option. (not to mention forced closes
but that's for another day)
I've got open-ssh on the linux box.
I did the ssh-keygen -t rsa thing.
I've tried to connect from the phone through Fing (which uses ConnectBot) and
directly
with ConnectBot.
In both cases I get connected but the password authentication fails.
I suspect character encoding but for the life of me can't find a setting for it.
If I can get past this step I can try the -X option.
Original comment by spaes...@gmail.com
on 1 Aug 2012 at 8:43
I don't understand why this issue is medium. X servers are available on
android. I can not use them at work only because I have not found a way to do
ssh -X (or ssh -Y). The slowness is not an issue: Xserver were working
perfectly fine 20 years ago and tablets are getting more powerful.
Original comment by nath.boc...@gmail.com
on 24 Oct 2012 at 7:32
Hi guys!
I tried to export the display like this:
export DISPLAY=ipaddress:0 , also export DISPLAY=ipaddress:6000 .
Gnuplot (on remote machine) thinks about it a while, then says that it is not
able to open display.
So the question is: is it possible on android to remotely run gnuplot w/ x11?
I'm using android-xserver as x server.
Thanks.
MA
Original comment by maan...@gmail.com
on 18 Nov 2012 at 11:55
OMGOMG I got it working !
Here is how I did (if someone is still looking for it...)
So, I am using Connect bot along with the app "X server" (which is not really
beautiful, but this is kind of a proof of concept)
Config "X server":
You need to specify what ip addresses are allowed to display anything in it.
Add "127.0.0.1" in the "access control" menu. (Yes it's stupid that it's not
here already..) You can also add the address of your server, but that would
mean you will be streaming X11 on the network without any encryption (baaaad
!!) This is it for the "X server" config.
Config "Connect bot":
I guess you all know how to connect to your ssh server using that. But I was
never sure how to do a port forwarding (yes I am gonna forward the 600X port :/
)
So this is a "remote" forward. From the 6001 port (remote) to the
localhost:6000.
I choose port 6001 because on the server, 6000 is already used by the local
display (if you have any...) So now server's 6001 port goes on the mobile's
6000 port (yeay !)
We now have to specify that any X app should be launched on the 6001 port.
Edit your connectBot connection and edit the "Post-login automation" (or type
this after you logged in...)
"export DISPLAY=:1" and press enter, so it executes it more than just typing it.
This means that what will be executed in this session will be displayed on the
6001 port of the server, which is forwarded to the 6000 port of the mobile,
that is accepted by the "X server" app. Voila !
Ho! Just check that the "X Server" app is still runing, it might shutdown when
you are multitasking.
So things like xterm and xclock are working great. You just don't have a window
manager... Unless you manage to startx... but I couldn't be bothered so to make
it work so far.
Also it seems that bigger apps like firefox, thunar (etc...) are missing some
x11 server extensions to work properly. If anyone is a pro in X11... Maybe
other X server apps implement those, I have to try !
A site that helped me to see a bit clearer:
http://tldp.org/HOWTO/XDMCP-HOWTO/intro.html
Original comment by wana...@gmail.com
on 19 May 2013 at 2:16
I did exactly what you suggested, but it says "Error: Can't open display: :1"
Original comment by maan...@gmail.com
on 13 Feb 2014 at 4:47
Any solution for that? I even bought the xvnc app,
But still i cannot run xterm
What i need (as in several above comments) to run programs like gnuplot,
xmgrace.. , or any other programs that needs such interface(in the terminal)
when i am connected to a server
I really appreciate ur help
I starving for a solution
Original comment by hossein....@gmail.com
on 17 Mar 2014 at 7:04
Btw i tried all the above suggestions hundred times .... Non of them works for
me( i have a nexus)
Original comment by hossein....@gmail.com
on 17 Mar 2014 at 7:07
As a workaround to display on your Android device (tablet/nettop/smartbook...)
X11 server (like GPL "X server" application) is :
* launch network connection (wifi, ethernet or whatever.
* get your device IP (for exemple by using settings=> about your phone => state
(status ?), you will see on this page your IP address.
* launch X server on your phone,
* connect to the system that will launch X11 application (aka clients) and type
:
export DISPLAY=<yourdevice_adr_ip>:0 (for exemple DISPLAY=192.168.0.2:0)
launch your X11 client... et voilà !
Warning everything is transfered without encryption at all, this is a
workaround until SSH X forwarding is implemented in connectbot (or other
android SSH client ?).
Original comment by goo...@popolon.org
on 1 Jul 2014 at 10:41
I have the same error "Error: Can't open display: :1"
i'm on samsung note 3 with android 4.4.2 (kitkat)
i'm trying to connect to scientific linux host
Original comment by brib...@gmail.com
on 10 Sep 2014 at 9:33
Original issue reported on code.google.com by
rickgha...@gmail.com
on 9 Jul 2010 at 1:57