Re: [X2Go-User] x2go client side printing

2014-06-29 Thread Mike Gabriel

Hi Steve,

On  Sa 28 Jun 2014 23:39:34 CEST, Steve Bergman wrote:

X2GO, like FreeNX before it, continues to be absolutely amazing. I  
have ~100 business users in 4 offices in 4 cities in 2 states doing  
all their daily office work in X2GO/MATE/Debian, and it just flies  
over the WAN. I just got finished watching (and listening to) Mike  
Gabriel's talk at Debconf on YouTube via X2GO over a 6mbit  
connection. Impressive.


then I have something delicious for you, as well:

1. Install a fresh machine as X2Go Server (e.g. with MATE).
2. Upgrade to X2Go Server from the nightly builds
3. Install mTelePlayer server-side (NEWEST stuff): apt-get install mteleplayer

4. Install PyHoca-GUI from the nightly builds on your Linux client:  
apt-get install pyhoca-gui
5. Install the client-side part of mTelePlayer: apt-get install  
mteleplayer-clientside



Open a (not too large, we are working on performance) video file (not  
a video on a website, a real video file!) inside an X2Go session with  
mTelePlayer and be happy...


Mike

PS: note that this is all highly developmental stuff... no warranty  
given for now, at all!!!



--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb


pgp5xodJDcOGG.pgp
Description: Digitale PGP-Signatur
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] problem getting x2go to work.

2014-06-29 Thread Jon Gilbert
Mike-

I finally noticed in my client that when I killed the x2gostartagent process, 
if the client is still open when I issue the kill command, then a window 
appears in the client this message over and over:

Connection failed my_username is not authorized at 
/usr/lib/x2go/x2gosqlitewrapper.pl line 526.

The client really ought to show these kinds of errors without you having to 
kill the process on the server. But there is a bug in the Mac client where you 
cannot check the show details button until *after* a successful login. 
Therefore you never get to see the verbose output when your logins fail -- 
which is when it would be most useful to see it!

Anyway after some digging on that error message, I figured out that my problem 
was that my Bitnami AMI had me signing in as username ubuntu which is really 
just an alias to the user bitnami. But because I was signed in as a different 
username than the name of the home folder, it was messing up. When I logged 
instead using bitnami as the username, then suddenly it worked... kind of. 

gnome-session --session=gnome-fallback does not work for me... I'd see the 
screen but was not able to click on anything. I thought, maybe I have the wrong 
bindings installed, so I tried to aptitude install x2gognomebindings but it 
just kept saying this error:

Couldn't find any package matching x2gognomebindings.  However, the following
packages contain x2gognomebindings in their description:
  x2goserver-fmbindings 

So then I installed the x2goserver-fmbindings and I still couldn't get it to 
respond. I could see the desktop but nothing happens if I click. 

I could also not get on with just using the GNOME selection.

I did have better luck with gnome-session --session=gnome-classic but it's 
still unusably slow. Even on 32k JPEG and with bandwidth set to WAN, stuff just 
happens way too slow, or doesn't happen at all. I know it's not my connection 
that's the problem. It's probably because it's an Amazon Micro instance, and 
it's just dog slow. 

If I use xfce4, I wonder if it would run faster? I'd like to try your xfce4 
steps but I've already installed ubuntu-desktop, so will it hurt me to also 
install xfce4 alongside it? Can I have both installed? I just want to know if I 
should start over fresh with a new AMI. I don't need anything fancy, just want 
a GUI for managing files and running basic utilities like a git client. 

Thanks,

Jon

On Sat. 28 Jun.2014, at 7:29 AM, Michael DePaulo mikedep...@gmail.com wrote:

 Hi Jon,
 
 Sorry to hear that you are running into this problem.
 
 On Mon, Jun 23, 2014 at 10:13 PM, Jon Gilbert j...@prismnet.com wrote:
 I have a server set up which is Ubuntu 12.04.4 LTS (GNU/Linux 
 3.2.0-64-virtual x86_64).
 
 I installed ubuntu-desktop as instructed by the x2go wiki. I also did these 
 steps:
 
 sudo apt-get install x2goserver
 sudo apt-get install x2goserver-xsession
 sudo apt-get install sqlite3
 sudo x2godbadmin --createdb
 
 The last 2 commands should not be necessary. I am not very familiar
 with the db though.
 
 I try to connect from the Mac client (tried all the versions) and it always 
 fails. It just hangs at the screen where it's trying to connect. I set the 
 server log level to debug and it just says:
 
 Jun 24 00:52:50 my_ip /usr/bin/x2golistsessions[32234]: x2golistsessions 
 has been called with no option
 Jun 24 00:52:50 my_ip /usr/bin/x2gostartagent: x2gostartagent called with 
 options: 800x600 isdn 256k-jpeg unix-kde-depth_32 us query 0 D 
 gnome-flashback.sh
 Jun 24 00:52:50 my_ip /usr/bin/x2gostartagent: client announced itself as 
 ,,173.12.186.158''
 Jun 24 00:52:50 my_ip /usr/bin/x2gosessionlimit[32271]: x2gosessionlimit 
 has been called
 Jun 24 00:52:50 my_ip /usr/bin/x2golistsessions[32274]: x2golistsessions 
 has been called with options: --all-servers
 Jun 24 00:52:51 my_ip /usr/lib/x2go/x2gogetdisplays[32289]: db_getdisplays 
 called, server: my_ip; return value:
 Jun 24 00:52:51 my_ip /usr/lib/x2go/x2gogetports[32298]: db_getports 
 called, server: my_ip; return value:
 Jun 24 00:52:52 my_ip /usr/lib/x2go/x2gogetdisplays[32342]: db_getdisplays 
 called, server: my_ip; return value:
 Jun 24 00:52:52 my_ip /usr/lib/x2go/x2gogetports[32351]: db_getports 
 called, server: my_ip; return value:
 
 It repeats this over and over as the processor runs at 100% on the server, 
 being hosed by the several x2go processes that seem to be stuck in an 
 infinite loop.
 
 You'll notice that it runs gnome-flashback.sh in my command, that's because 
 it doesn't work to connect the normal way either, so I tried the steps 
 outlined in this e-mail from this list:
 http://lists.x2go.org/pipermail/x2go-user/2014-May/002260.html
 
 There is no need to follow those steps because you are using Ubuntu
 12.04.4, not Ubuntu 14.04. Ubuntu 12.04 has GNOME 3.2, not GNOME 3.8.
 GNOME 3.6 and earlier have gnome fallback session, which is
 compatible with X2Go. flashback isn't even available until GNOME
 3.8, it's what fallback 

Re: [X2Go-User] problem getting x2go to work.

2014-06-29 Thread Michael DePaulo
See responses inline.

On Sun, Jun 29, 2014 at 10:35 PM, Jon Gilbert j...@prismnet.com wrote:
 Mike-

 I finally noticed in my client that when I killed the x2gostartagent process, 
 if the client is still open when I issue the kill command, then a window 
 appears in the client this message over and over:

 Connection failed my_username is not authorized at 
 /usr/lib/x2go/x2gosqlitewrapper.pl line 526.

 The client really ought to show these kinds of errors without you having to 
 kill the process on the server. But there is a bug in the Mac client where 
 you cannot check the show details button until *after* a successful login. 
 Therefore you never get to see the verbose output when your logins fail -- 
 which is when it would be most useful to see it!

Is there an existing bug report for this behavior of the Mac client?
If not, please report it. Instructions:
http://wiki.x2go.org/doku.php/wiki:bugs

 Anyway after some digging on that error message, I figured out that my 
 problem was that my Bitnami AMI had me signing in as username ubuntu which 
 is really just an alias to the user bitnami. But because I was signed in as 
 a different username than the name of the home folder, it was messing up. 
 When I logged instead using bitnami as the username, then suddenly it 
 worked... kind of.

OK. I think I this should be documented on the wiki as under a page
like known issues with virtual appliances. Or common configuration
issues. I'll take care of that. I want to see if there is an existing
page 1st. Thank you for documenting it via this email.

 gnome-session --session=gnome-fallback does not work for me... I'd see the 
 screen but was not able to click on anything. I thought, maybe I have the 
 wrong bindings installed, so I tried to aptitude install x2gognomebindings 
 but it just kept saying this error:

 Couldn't find any package matching x2gognomebindings.  However, the 
 following
 packages contain x2gognomebindings in their description:
   x2goserver-fmbindings

 So then I installed the x2goserver-fmbindings and I still couldn't get it to 
 respond. I could see the desktop but nothing happens if I click.

 I could also not get on with just using the GNOME selection.

See comment below about UNITY.

 I did have better luck with gnome-session --session=gnome-classic but it's 
 still unusably slow. Even on 32k JPEG and with bandwidth set to WAN, stuff 
 just happens way too slow, or doesn't happen at all. I know it's not my 
 connection that's the problem. It's probably because it's an Amazon Micro 
 instance, and it's just dog slow.

 If I use xfce4, I wonder if it would run faster? I'd like to try your xfce4 
 steps but I've already installed ubuntu-desktop, so will it hurt me to also 
 install xfce4 alongside it? Can I have both installed? I just want to know if 
 I should start over fresh with a new AMI. I don't need anything fancy, just 
 want a GUI for managing files and running basic utilities like a git client.

OK, I think I see the problem. ubuntu-desktop. You have the UNITY
desktop environment installed, not vanilla GNOME. Please try
specifying UNITY as your session type. Our logic in the x2goserver
package will make sure Unity runs in Unity 2d mode. This mode is
provided by package unity-2d. ubuntu-desktop depends on
unity-2d, so you do have unity-2d installed.

Also, as for XFCE:

It's lightweight and it never tries to use 3d effects, so it runs
faster to one degree or another.

I recommend installing it according to my instructions.

Absolutely, you can have both desktop environments installed. If you
had a physical machine, you would select which desktop environment to
use at the display manager's greeter (the graphical login screen.)

 Thanks,

 Jon

No Problem,
-Mike#2

 On Sat. 28 Jun.2014, at 7:29 AM, Michael DePaulo mikedep...@gmail.com wrote:

 Hi Jon,

 Sorry to hear that you are running into this problem.

 On Mon, Jun 23, 2014 at 10:13 PM, Jon Gilbert j...@prismnet.com wrote:
 I have a server set up which is Ubuntu 12.04.4 LTS (GNU/Linux 
 3.2.0-64-virtual x86_64).

 I installed ubuntu-desktop as instructed by the x2go wiki. I also did these 
 steps:

 sudo apt-get install x2goserver
 sudo apt-get install x2goserver-xsession
 sudo apt-get install sqlite3
 sudo x2godbadmin --createdb

 The last 2 commands should not be necessary. I am not very familiar
 with the db though.

 I try to connect from the Mac client (tried all the versions) and it always 
 fails. It just hangs at the screen where it's trying to connect. I set the 
 server log level to debug and it just says:

 Jun 24 00:52:50 my_ip /usr/bin/x2golistsessions[32234]: x2golistsessions 
 has been called with no option
 Jun 24 00:52:50 my_ip /usr/bin/x2gostartagent: x2gostartagent called with 
 options: 800x600 isdn 256k-jpeg unix-kde-depth_32 us query 0 D 
 gnome-flashback.sh
 Jun 24 00:52:50 my_ip /usr/bin/x2gostartagent: client announced itself as 
 ,,173.12.186.158''
 Jun 24 00:52:50 my_ip