* [gentoo-user] access Linux "X" from android tablet
@ 2012-11-03 23:04 Joseph
2012-11-04 0:23 ` Alan McKinnon
0 siblings, 1 reply; 13+ messages in thread
From: Joseph @ 2012-11-03 23:04 UTC (permalink / raw
To: gentoo-user
How can I access Linux X desktop from an Android tablet (preferred over VPN)?
I've tried installing openVPN on Android 4.0.3 (kernel 2.
6.39.4) but it is an uphill battle. I need to root the device and need a TAP/TUN module for kernel etc.
There is no "nxclient" for android.
--
Joseph
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-03 23:04 [gentoo-user] access Linux "X" from android tablet Joseph
@ 2012-11-04 0:23 ` Alan McKinnon
2012-11-04 1:11 ` Joseph
0 siblings, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2012-11-04 0:23 UTC (permalink / raw
To: gentoo-user
On Sat, 3 Nov 2012 17:04:15 -0600
Joseph <syscon780@gmail.com> wrote:
> How can I access Linux X desktop from an Android tablet (preferred
> over VPN)?
>
> I've tried installing openVPN on Android 4.0.3 (kernel 2.
> 6.39.4) but it is an uphill battle. I need to root the device and
> need a TAP/TUN module for kernel etc. There is no "nxclient" for
> android.
>
run a vnc server on the Linux machine and a vnc client on the tablet.
There are many vnc clients for Android.
You could also use RDP but finding an RDP server for Linux is not
usually an easy thing to succeed at.
Just to be specific, do you want to be able to log into the Linux
machine and run a NEW X session, or do you want to share an existing
running session?
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 0:23 ` Alan McKinnon
@ 2012-11-04 1:11 ` Joseph
2012-11-04 1:13 ` Alan McKinnon
2012-11-04 20:11 ` [gentoo-user] " Neil Bothwick
0 siblings, 2 replies; 13+ messages in thread
From: Joseph @ 2012-11-04 1:11 UTC (permalink / raw
To: gentoo-user
On 11/04/12 02:23, Alan McKinnon wrote:
>On Sat, 3 Nov 2012 17:04:15 -0600
>Joseph <syscon780@gmail.com> wrote:
>
>> How can I access Linux X desktop from an Android tablet (preferred
>> over VPN)?
>>
>> I've tried installing openVPN on Android 4.0.3 (kernel 2.
>> 6.39.4) but it is an uphill battle. I need to root the device and
>> need a TAP/TUN module for kernel etc. There is no "nxclient" for
>> android.
>>
>
>run a vnc server on the Linux machine and a vnc client on the tablet.
>
>There are many vnc clients for Android.
>
>You could also use RDP but finding an RDP server for Linux is not
>usually an easy thing to succeed at.
>
>Just to be specific, do you want to be able to log into the Linux
>machine and run a NEW X session, or do you want to share an existing
>running session?
>
>--
>Alan McKinnon
>alan.mckinnon@gmail.com
I'm running OpneVPN server/client configuration on Linux machines but I'm not sure which setting to select on Android to talk to OpneVPN
Android 4 comes with VPN type:
PPTP
L2TP/IPSec PSK
L2TP/IPSec RSA
IPSec Xauth PSK
IPSec Xauth RSA
IPSec Hybrid RSA
Which one is compatible with OpenVPN?
My preference would be to connect to an existing session "shadow"
--
Joseph
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 1:11 ` Joseph
@ 2012-11-04 1:13 ` Alan McKinnon
2012-11-04 1:47 ` [gentoo-user] 答复: " Yushu Gao
2012-11-04 1:54 ` Joseph
2012-11-04 20:11 ` [gentoo-user] " Neil Bothwick
1 sibling, 2 replies; 13+ messages in thread
From: Alan McKinnon @ 2012-11-04 1:13 UTC (permalink / raw
To: gentoo-user
On Sat, 3 Nov 2012 19:11:47 -0600
Joseph <syscon780@gmail.com> wrote:
> On 11/04/12 02:23, Alan McKinnon wrote:
> >On Sat, 3 Nov 2012 17:04:15 -0600
> >Joseph <syscon780@gmail.com> wrote:
> >
> >> How can I access Linux X desktop from an Android tablet (preferred
> >> over VPN)?
> >>
> >> I've tried installing openVPN on Android 4.0.3 (kernel 2.
> >> 6.39.4) but it is an uphill battle. I need to root the device and
> >> need a TAP/TUN module for kernel etc. There is no "nxclient" for
> >> android.
> >>
> >
> >run a vnc server on the Linux machine and a vnc client on the tablet.
> >
> >There are many vnc clients for Android.
> >
> >You could also use RDP but finding an RDP server for Linux is not
> >usually an easy thing to succeed at.
> >
> >Just to be specific, do you want to be able to log into the Linux
> >machine and run a NEW X session, or do you want to share an existing
> >running session?
> >
> >--
> >Alan McKinnon
> >alan.mckinnon@gmail.com
>
> I'm running OpneVPN server/client configuration on Linux machines but
> I'm not sure which setting to select on Android to talk to OpneVPN
>
> Android 4 comes with VPN type:
> PPTP
> L2TP/IPSec PSK
> L2TP/IPSec RSA
> IPSec Xauth PSK
> IPSec Xauth RSA
> IPSec Hybrid RSA
>
> Which one is compatible with OpenVPN?
>
> My preference would be to connect to an existing session "shadow"
>
Why do you think OpenVPN will give you an X server and let you share
a desktop?
Hint: it won't. You might be able to export X apps to the tablet over
OpenVPN, but you don;t have an X server there that can display anything.
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] 答复: [gentoo-user] access Linux "X" from android tablet
2012-11-04 1:13 ` Alan McKinnon
@ 2012-11-04 1:47 ` Yushu Gao
2012-11-04 1:54 ` Joseph
1 sibling, 0 replies; 13+ messages in thread
From: Yushu Gao @ 2012-11-04 1:47 UTC (permalink / raw
To: gentoo-user
Best Regards
Yushu Gao
-----邮件原件-----
发件人: Alan McKinnon [mailto:alan.mckinnon@gmail.com]
发送时间: 2012年11月4日 9:14
收件人: gentoo-user@lists.gentoo.org
主题: Re: [gentoo-user] access Linux "X" from android tablet
On Sat, 3 Nov 2012 19:11:47 -0600
Joseph <syscon780@gmail.com> wrote:
> On 11/04/12 02:23, Alan McKinnon wrote:
> >On Sat, 3 Nov 2012 17:04:15 -0600
> >Joseph <syscon780@gmail.com> wrote:
> >
> >> How can I access Linux X desktop from an Android tablet (preferred
> >> over VPN)?
> >>
> >> I've tried installing openVPN on Android 4.0.3 (kernel 2.
> >> 6.39.4) but it is an uphill battle. I need to root the device and
> >> need a TAP/TUN module for kernel etc. There is no "nxclient" for
> >> android.
> >>
> >
> >run a vnc server on the Linux machine and a vnc client on the tablet.
> >
> >There are many vnc clients for Android.
> >
> >You could also use RDP but finding an RDP server for Linux is not
> >usually an easy thing to succeed at.
> >
> >Just to be specific, do you want to be able to log into the Linux
> >machine and run a NEW X session, or do you want to share an existing
> >running session?
> >
> >--
> >Alan McKinnon
> >alan.mckinnon@gmail.com
>
> I'm running OpneVPN server/client configuration on Linux machines but
> I'm not sure which setting to select on Android to talk to OpneVPN
>
> Android 4 comes with VPN type:
> PPTP
> L2TP/IPSec PSK
> L2TP/IPSec RSA
> IPSec Xauth PSK
> IPSec Xauth RSA
> IPSec Hybrid RSA
>
> Which one is compatible with OpenVPN?
>
> My preference would be to connect to an existing session "shadow"
>
Why do you think OpenVPN will give you an X server and let you share a
desktop?
Hint: it won't. You might be able to export X apps to the tablet over
OpenVPN, but you don;t have an X server there that can display anything.
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 1:13 ` Alan McKinnon
2012-11-04 1:47 ` [gentoo-user] 答复: " Yushu Gao
@ 2012-11-04 1:54 ` Joseph
2012-11-04 2:41 ` William Kenworthy
` (2 more replies)
1 sibling, 3 replies; 13+ messages in thread
From: Joseph @ 2012-11-04 1:54 UTC (permalink / raw
To: gentoo-user
On 11/04/12 03:13, Alan McKinnon wrote:
[snip]
>> I'm running OpneVPN server/client configuration on Linux machines but
>> I'm not sure which setting to select on Android to talk to OpneVPN
>>
>> Android 4 comes with VPN type:
>> PPTP
>> L2TP/IPSec PSK
>> L2TP/IPSec RSA
>> IPSec Xauth PSK
>> IPSec Xauth RSA
>> IPSec Hybrid RSA
>>
>> Which one is compatible with OpenVPN?
>>
>> My preference would be to connect to an existing session "shadow"
>>
>
>
>Why do you think OpenVPN will give you an X server and let you share
>a desktop?
>
>Hint: it won't. You might be able to export X apps to the tablet over
>OpenVPN, but you don;t have an X server there that can display anything.
>
>
>--
>Alan McKinnon
>alan.mckinnon@gmail.com
Android is more compatible with Windows than Linux, even tough is based on Linux kernel.
Yes, I know I would an application like nxclient on Android that doesn't exist :-/
Wouldn't: ssh -Y user@IP-address work ?
But even if it did, it would be very, very slow.
--
Joseph
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 1:54 ` Joseph
@ 2012-11-04 2:41 ` William Kenworthy
2012-11-04 2:55 ` Joseph
2012-11-04 7:30 ` Joshua Murphy
2012-11-04 10:55 ` Alan McKinnon
2 siblings, 1 reply; 13+ messages in thread
From: William Kenworthy @ 2012-11-04 2:41 UTC (permalink / raw
To: gentoo-user
On Sat, 2012-11-03 at 19:54 -0600, Joseph wrote:
> On 11/04/12 03:13, Alan McKinnon wrote:
>
> [snip]
> >> I'm running OpneVPN server/client configuration on Linux machines but
> >> I'm not sure which setting to select on Android to talk to OpneVPN
> >>
> >> Android 4 comes with VPN type:
> >> PPTP
> >> L2TP/IPSec PSK
> >> L2TP/IPSec RSA
> >> IPSec Xauth PSK
> >> IPSec Xauth RSA
> >> IPSec Hybrid RSA
> >>
> >> Which one is compatible with OpenVPN?
> >>
> >> My preference would be to connect to an existing session "shadow"
> >>
> >
> >
> >Why do you think OpenVPN will give you an X server and let you share
> >a desktop?
> >
> >Hint: it won't. You might be able to export X apps to the tablet over
> >OpenVPN, but you don;t have an X server there that can display anything.
> >
> >
> >--
> >Alan McKinnon
> >alan.mckinnon@gmail.com
>
> Android is more compatible with Windows than Linux, even tough is based on Linux kernel.
> Yes, I know I would an application like nxclient on Android that doesn't exist :-/
>
> Wouldn't: ssh -Y user@IP-address work ?
> But even if it did, it would be very, very slow.
>
Not true at all, just that the standard feature set is enetrprise/user
oriented - not server or hobby-ist.
Install an openvpn client (I use "OpenVPN for Android" in the play
store) - the standard VPNs are for enterprise use (pptp is useless, my
institution blocks them, the others are for Cisco VPN concentrators.)
There are lots of vnc clients in the play store which should route
across the vpn fine.
BillK
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 2:41 ` William Kenworthy
@ 2012-11-04 2:55 ` Joseph
2012-11-04 3:28 ` William Kenworthy
0 siblings, 1 reply; 13+ messages in thread
From: Joseph @ 2012-11-04 2:55 UTC (permalink / raw
To: gentoo-user
On 11/04/12 10:41, William Kenworthy wrote:
[snip]
>> Android is more compatible with Windows than Linux, even tough is based on Linux kernel.
>> Yes, I know I would an application like nxclient on Android that doesn't exist :-/
>>
>> Wouldn't: ssh -Y user@IP-address work ?
>> But even if it did, it would be very, very slow.
>>
>
>Not true at all, just that the standard feature set is enetrprise/user
>oriented - not server or hobby-ist.
>
>Install an openvpn client (I use "OpenVPN for Android" in the play
>store) - the standard VPNs are for enterprise use (pptp is useless, my
>institution blocks them, the others are for Cisco VPN concentrators.)
>
>There are lots of vnc clients in the play store which should route
>across the vpn fine.
>
>BillK
Did you rooted the android? I think in order to install openvpn on Android one must "root" it first.
Which package did you use?
I got other blockers as well:
- Your device is not rooted
- Busybox is not installed
- TAP/TUN modules is NOT installed
--
Joseph
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 2:55 ` Joseph
@ 2012-11-04 3:28 ` William Kenworthy
0 siblings, 0 replies; 13+ messages in thread
From: William Kenworthy @ 2012-11-04 3:28 UTC (permalink / raw
To: gentoo-user
On Sat, 2012-11-03 at 20:55 -0600, Joseph wrote:
> On 11/04/12 10:41, William Kenworthy wrote:
>
> [snip]
>
> >> Android is more compatible with Windows than Linux, even tough is based on Linux kernel.
> >> Yes, I know I would an application like nxclient on Android that doesn't exist :-/
> >>
> >> Wouldn't: ssh -Y user@IP-address work ?
> >> But even if it did, it would be very, very slow.
> >>
> >
> >Not true at all, just that the standard feature set is enetrprise/user
> >oriented - not server or hobby-ist.
> >
> >Install an openvpn client (I use "OpenVPN for Android" in the play
> >store) - the standard VPNs are for enterprise use (pptp is useless, my
> >institution blocks them, the others are for Cisco VPN concentrators.)
> >
> >There are lots of vnc clients in the play store which should route
> >across the vpn fine.
> >
> >BillK
>
> Did you rooted the android? I think in order to install openvpn on Android one must "root" it first.
> Which package did you use?
> I got other blockers as well:
>
> - Your device is not rooted
> - Busybox is not installed
> - TAP/TUN modules is NOT installed
>
You need to do a bit of reading and look at the app I pointed you to -
on the right android version it doesnt need root.
BillK
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 1:54 ` Joseph
2012-11-04 2:41 ` William Kenworthy
@ 2012-11-04 7:30 ` Joshua Murphy
2012-11-04 10:55 ` Alan McKinnon
2 siblings, 0 replies; 13+ messages in thread
From: Joshua Murphy @ 2012-11-04 7:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1976 bytes --]
On Sat, Nov 3, 2012 at 9:54 PM, Joseph <syscon780@gmail.com> wrote:
> On 11/04/12 03:13, Alan McKinnon wrote:
>
> [snip]
>
> I'm running OpneVPN server/client configuration on Linux machines but
>>> I'm not sure which setting to select on Android to talk to OpneVPN
>>>
>>> Android 4 comes with VPN type:
>>> PPTP
>>> L2TP/IPSec PSK
>>> L2TP/IPSec RSA
>>> IPSec Xauth PSK
>>> IPSec Xauth RSA
>>> IPSec Hybrid RSA
>>>
>>> Which one is compatible with OpenVPN?
>>>
>>> My preference would be to connect to an existing session "shadow"
>>>
>>>
>>
>> Why do you think OpenVPN will give you an X server and let you share
>> a desktop?
>>
>> Hint: it won't. You might be able to export X apps to the tablet over
>> OpenVPN, but you don;t have an X server there that can display anything.
>>
>>
>> --
>> Alan McKinnon
>> alan.mckinnon@gmail.com
>>
>
> Android is more compatible with Windows than Linux, even tough is based on
> Linux kernel.
> Yes, I know I would an application like nxclient on Android that doesn't
> exist :-/
>
> Wouldn't: ssh -Y user@IP-address work ?
> But even if it did, it would be very, very slow.
>
> --
> Joseph
>
>
As an important note, the answer is a resounding NO to the last question...
there's not an X server running on the tablet/phone, typically. I've seen
Xvnc setups on (very rooted) android devices running native X based linux
software on the device with a VNC app displaying the local Xvnc session,
but that's the closest to X natively deployed on android I've seen (that
was an implementation of BackTrack on a friend's phone, amusing toy, but
not what I'd want for real work).
If all you want a VPN for is to tunnel a display across to the device, you
might be best off with an ssh app (I personally use connectbot) to tunnel
the port and a vnc app to handle the display. No rooting needed. For more
complex network access outside of the VNC session, however, a VPN might
actually be worth the work.
--
Poison [BLX]
Joshua M. Murphy
[-- Attachment #2: Type: text/html, Size: 2843 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 1:54 ` Joseph
2012-11-04 2:41 ` William Kenworthy
2012-11-04 7:30 ` Joshua Murphy
@ 2012-11-04 10:55 ` Alan McKinnon
2012-11-04 16:02 ` [gentoo-user] " Grant Edwards
2 siblings, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2012-11-04 10:55 UTC (permalink / raw
To: gentoo-user
On Sat, 3 Nov 2012 19:54:27 -0600
Joseph <syscon780@gmail.com> wrote:
> On 11/04/12 03:13, Alan McKinnon wrote:
>
> [snip]
> >> I'm running OpneVPN server/client configuration on Linux machines
> >> but I'm not sure which setting to select on Android to talk to
> >> OpneVPN
> >>
> >> Android 4 comes with VPN type:
> >> PPTP
> >> L2TP/IPSec PSK
> >> L2TP/IPSec RSA
> >> IPSec Xauth PSK
> >> IPSec Xauth RSA
> >> IPSec Hybrid RSA
> >>
> >> Which one is compatible with OpenVPN?
> >>
> >> My preference would be to connect to an existing session "shadow"
> >>
> >
> >
> >Why do you think OpenVPN will give you an X server and let you share
> >a desktop?
> >
> >Hint: it won't. You might be able to export X apps to the tablet over
> >OpenVPN, but you don;t have an X server there that can display
> >anything.
> >
> >
> >--
> >Alan McKinnon
> >alan.mckinnon@gmail.com
>
> Android is more compatible with Windows than Linux, even tough is
> based on Linux kernel. Yes, I know I would an application like
> nxclient on Android that doesn't exist :-/
>
> Wouldn't: ssh -Y user@IP-address work ?
It will work if you have an X-server on your Android tablet.
But I doubt you have an X-Server on your Android tablet.
Are you understanding what I am saying? Do you know what an X-server is?
It is not VNC, RDP, nx, newmachine or anything else; it is itself, the
thing that KDE and Gnome run on.
Android does not ship with an X-server.
> But even if it did, it would be very, very slow.
Not necessarily.
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: access Linux "X" from android tablet
2012-11-04 10:55 ` Alan McKinnon
@ 2012-11-04 16:02 ` Grant Edwards
0 siblings, 0 replies; 13+ messages in thread
From: Grant Edwards @ 2012-11-04 16:02 UTC (permalink / raw
To: gentoo-user
On 2012-11-04, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> It will work if you have an X-server on your Android tablet.
>
> But I doubt you have an X-Server on your Android tablet.
>
> Are you understanding what I am saying? Do you know what an X-server is?
>
> It is not VNC, RDP, nx, newmachine or anything else; it is itself, the
> thing that KDE and Gnome run on.
>
> Android does not ship with an X-server.
>
>> But even if it did, it would be very, very slow.
>
> Not necessarily.
Not for trivial applications like xterm. But if that's all you need
then an ssh client like connectbot is _way_ simpler.
While xterm will work fine, in my experience anything built on a
modern GUI "desktop" is utterly useless over any connection slower
than 100MB. Starting up something like Thunderbird over a 2MB remote
connection takes forever (minutes). Every mouse action takes several
seconds to register. Keystrokes take many seconds to process. The
authors of modern X frameworks have decided do depend on the
assumption that the X server is local and a few thousand round-trips
between client and server in order to handle a single user input event
can be handled in an instant and therefore isn't something to worry
about.
--
Grant
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] access Linux "X" from android tablet
2012-11-04 1:11 ` Joseph
2012-11-04 1:13 ` Alan McKinnon
@ 2012-11-04 20:11 ` Neil Bothwick
1 sibling, 0 replies; 13+ messages in thread
From: Neil Bothwick @ 2012-11-04 20:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
On Sat, 3 Nov 2012 19:11:47 -0600, Joseph wrote:
> I'm running OpneVPN server/client configuration on Linux machines but
> I'm not sure which setting to select on Android to talk to OpneVPN
>
> Android 4 comes with VPN type:
> PPTP
> L2TP/IPSec PSK
> L2TP/IPSec RSA
> IPSec Xauth PSK
> IPSec Xauth RSA
> IPSec Hybrid RSA
>
> Which one is compatible with OpenVPN?
None of them, install "OpenVPN for Android", which does not require root.
https://play.google.com/store/apps/details?id=de.blinkt.openvpn&feature=search_result#?t=W251bGwsMSwyLDEsImRlLmJsaW5rdC5vcGVudnBuIl0.
--
Neil Bothwick
Stupid user error. Terminate user (Y/n) ?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2012-11-04 20:14 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-03 23:04 [gentoo-user] access Linux "X" from android tablet Joseph
2012-11-04 0:23 ` Alan McKinnon
2012-11-04 1:11 ` Joseph
2012-11-04 1:13 ` Alan McKinnon
2012-11-04 1:47 ` [gentoo-user] 答复: " Yushu Gao
2012-11-04 1:54 ` Joseph
2012-11-04 2:41 ` William Kenworthy
2012-11-04 2:55 ` Joseph
2012-11-04 3:28 ` William Kenworthy
2012-11-04 7:30 ` Joshua Murphy
2012-11-04 10:55 ` Alan McKinnon
2012-11-04 16:02 ` [gentoo-user] " Grant Edwards
2012-11-04 20:11 ` [gentoo-user] " Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox