Re: [X2Go-User] x2go login error

2015-01-19 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 19.01.2015 um 19:01 schrieb Rance Hall:

 I added the redirector as you suggested.  I was concerned that I
 could not see this output as it contains valuable information, but
 the output is still visible and x2go now connects to this server
 without issue.

That sounds weird.  If the output is redirected, then it should not
show up at all.  Could it be that you have added the line to several
scripts that are run at login?

Here's a snippet of information that might help you find out where to
search, written down by a friend of mine:
- 8start snippet8
Bash will read the following files in the following sequence:
if it is a login shell:
/etc/profile (if present)
afterwards:
(if present) ~/.bash_profile
(else, if present) ~/.bash_login
(else, if present) ~/.profile
- only the first match of these last three will be used, if 
any of
these three files are present.

if bash is an interactive *non*-Login-Shell:
/etc/bash.bashrc
afterwards:
~/.bashrc (if present)

Login-Shells are used by console-tty, ssh, other remote Logins,
sometimes sudo and su.
*non*-Login-Shells are used for the other cases (like xterm, other
X11-Terminal-Clients, and some other caseses of sudo and su).

A classic X-Login will run /etc/X11/Xsession, which in turn checks if
~/.xsession and ~/.xsessionrc are present.  If they are, .xsessionrc
will be sourced, while .xsession will be spawned as a separate process.

- 8 end snippet 8

And if that wasn't already confusing enough, there's more to be found at
https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html


 Thanks for the suggestion.

You're welcome!  Thank you for choosing X2Go!

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUvYcQAAoJEG7d9BjNvlEZteMH/3nBeZGmEoztCBOcCqCv3W1k
9OZzJkuHUNWBHahw+57UwU/c2TO6zgHfLnEMaxxJbgZujOAtvdcJOwAM+dwhg0f5
cYpDSFSuq+hEAt5MTAu2I/F1G98oCBstFFqKrruKpRK0jdFet0I40OT/ZWwGAnel
7NpC0XrgbQAWPhimyt8Duxnd66K4gmgvUoHQu6KNdJjBpQfbYvYepvMa7C1UxUL8
8eyKodgwGTwXf3S4umcmBLCrQF6+1xptgXaG5aHNdPxSmalXYPHJlWTkwB5fHgqP
VHr+wFnzhvhfKB80B4/OQLLM1sQgHMxHRoQq/nnllKGxT7OWe6oG3glKmgYeSak=
=eyy7
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] x2go login error

2015-01-19 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 19.01.2015 um 23:37 schrieb Stefan Baur:
 I added the redirector as you suggested.  I was concerned that
 I could not see this output as it contains valuable
 information, but the output is still visible and x2go now
 connects to this server without issue.
 That sounds weird.  If the output is redirected, then it should
 not show up at all.

Bzzt.  The error is on my side. I actually reversed the parameters.
 21 /dev/null will not make the whole thing go silent.
That's what  /dev/null 21 does.

With  21 /dev/null, STDERR still gets printed.  So you could
simply use  /dev/null for the same effect.

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUvaLQAAoJEG7d9BjNvlEZKt8H/i5FUeTwDeo12IK5mQz7yTue
RMmkVhi1NpT3Q74Kk2fptkr2Qaz7/Yy7ye/VGx7eKz7RTI7dMqpHGFtObvCvOTHW
/MlL0sQfOp9WYn1r9DjBNsg/S9UmxPWXN4iTYDw7alAH3cWz6AXNG3BcOYWoaK1+
0mCiF+CnSom+tr8z+1seUSUnblyMurjkeI13kGFO5NIF9hwXa+8SsKEfXZUNOA7X
N5pYA0+hWI3+j4r5zZz5FLZvwF/tHgH4o38zV7+CdnWcMABjfsPG2cdsiYiysxyj
PfBLpS2QFXd2PiYYLvLeemwqfivh+/I95XXqJyMAJmbk/6jOWO0qsIYOs6U52wg=
=K1aH
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] connection failed DBI

2015-01-19 Thread Brent S. Elmer Ph.D.
On Mon, 2015-01-19 at 05:07 +, Mike Gabriel wrote:
 Hi Brent,
 
 On  Fr 16 Jan 2015 15:13:21 CET, Brent S. Elmer Ph.D. wrote:
 
  I have a new x2go server setup on a Red Hat 6.3 system.  When I try to
  connect to it I get the following:
  Connection failed DBI
  connect('dbname=/home/x2gouser/x2go_sessions','',...) failed: unable to
  open database file at /usr/lib64/x2go/x2gosqlitewrapper.pl line 89
  [limit users] at /usr/lib64/x2go/x2gosqlitewrapper.pl line 89.
 
  On the server, I tried to do a x2godbadmin --createdb and I got:
  Can not find user (x2gouser)
 
  So, I added user x2gouser and redid the x2godbadmin.
  Now I get the error above.
 
  I normally run Debian machines and have never had to do the adduser or
  x2godbadmin that I can remember.
 
  What do I need to do to get the x2go server working?
 
  Brent
 
  From what packaging source did you obtain your X2Go Server packages?  
 This should normally be all automatized during package installation.
 
 Mike
 
It has always been my experience on Debian that everything was
automatized on installation.  I looked on the x2go Redhat Enterprise
Linux installation instruction page and did the instructions for using
EPEL and also added x2go repository.  I should have probably just done
the EPEL part.  Anyhow, since both were enabled I not sure which one it
will get.  Here is what it shows for x2goserver:

# yum info x2goserver
Loaded plugins: product-id, refresh-packagekit, rhui-lb, security,
subscription-manager
This system is not registered to Red Hat Subscription Management. You
can use subscription-manager to register.
Installed Packages
Name: x2goserver
Arch: x86_64
Version : 4.0.1.18
Release : 0.0x2go1.1.git20141006.949.main.el6
Size: 264 k
Repo: installed
From repo   : x2go-releases
Summary : X2Go Server
URL : http://www.x2go.org
License : GPLv2+
Description : X2Go is a server based computing environment with
: - session resuming
: - low bandwidth support
: - session brokerage support
: - client side mass storage mounting support
: - audio support
: - authentication by smartcard and USB stick
: 
: This package contains the main daemon and tools for X2Go
server-side session
: administrations.


Should I disable one or the other and reinstall or what?

Brent

___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Full screen mode on client

2015-01-19 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 19.01.2015 um 13:55 schrieb Mihai Moldovan:
 On 16.01.2015 11:01 PM, Peter Brodsky wrote:
 Let me know if this is a feature, or a bug for which I should
 submit a report.
 
 Running my X2Go client on a Windows 8 machine, I maximized the
 session window (by hitting the little square next to the red X).
 Now I cannot get to anything else on the client.  There's no icon
 available to reduce or minimize the window.  I tried Esc - no
 joy.  Even shutting down the server doesn't help - now I have a
 dead session filling the screen.  The only way to get out is
 Ctrl-Alt-Delete and kill the application.
 
 Have you tried Ctrl - Alt - F or Ctrl - Alt - Shift - F? The 
 documentation states, that this feature is not available on
 Windows, but... who knows.

Uh, I think there are two issues at hand here.
1) @Pete: Alt-Tab should always switch back to the Windows Desktop so
   you don't have to use Ctrl-Alt-Delete.
2) @Mihai: Maximizing a session, when fullscreen hasn't been
   specified in the settings, should not make the top bar disappear.

@Pete: Could you please tell us the values you selected on the first
and third tabs of your session configuration? Also, please specify the
X2GoClient version you're using (Help/About X2GoClient).

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEbBAEBAgAGBQJUvQCHAAoJEG7d9BjNvlEZkScH+KNiLbDgbckGGoMpFG82xEJh
VqAOHbaZSdsatDm3HZf1ikl06lGNNYET3Cs4HHkaqzlwp03NSwFQQ2zcl9Enkkar
/atQ4rELSwYPgxN3xr73GLcJmYgHADakUyNimC4DJBE5k0188EtjEddUlliWBG4v
aNoYLmnkb2pCGbiT39uH0s5mLSKyKdRlxAsbBYtt5/lLyl+N8wFYQgIMHoGdcC5X
omtCXOlTcqCH3sZFWeZR/w8vizrgvBbYpMCLOZiQhVbGR67pYlL4TCTD9IZVltP2
CFG1qI0XPshLtb72XU9mODAa/Ox26uyAQBs2QeYw5FOJutHqSvZsJVUXSSK1Qw==
=7+2U
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Full screen mode on client

2015-01-19 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 19.01.2015 um 14:03 schrieb Stefan Baur:
 On 16.01.2015 11:01 PM, Peter Brodsky wrote:

 Running my X2Go client on a Windows 8 machine, I maximized the 
 session window (by hitting the little square next to the red
 X). Now I cannot get to anything else on the client.  There's
 no icon available to reduce or minimize the window.

[...]

 2) @Mihai: Maximizing a session, when fullscreen hasn't been 
 specified in the settings, should not make the top bar disappear.

Guys,

this seems to be an issue. See Bug 670 that has just received an update.

CCing the Bug, so X2Go-Dev gets to see this, too.

@X2Go-Dev/Bug#670:
See http://lists.x2go.org/pipermail/x2go-user/2015-January/002827.html

@X2Go-User:
See http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=670

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUvQ0jAAoJEG7d9BjNvlEZmqUH+gKv2w8XSGZ3gU8VKqsPZkoj
AfaUC8URnbl2gWisuNBTmuievUv5NjpKPAmHrvs43nKIG1Ka5YX0vjlXZoa4y4fC
1gfQW5mDOJ9bpeI/cKIqu/rGUcHb7TlKCAPVTUnt8+4Qv0CLPA1RWhj8icbx4uvX
LAl/kKhyVYauDrpAuLceYsVTASjQrFC8y7mfLYOhOLJVKRqOgIeoJgzLqhWcQkUd
4T5+zLRtA+RLs2vWkbaHzGRyBYW5NtfRwCYLHtFKohTXlavdgb7HgZEAs3lxhokY
p4tOTY08P/aHLqQhk7LggxQYpFvf+KnUXbhd8CkZipOIllQY8T7IMWsBsuLgP5E=
=DvHO
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


[X2Go-User] x2go login error

2015-01-19 Thread Rance Hall
My x2go server is my desktop at work and there is a .bashrc that launches
keychain and loads my ~/.ssh/id_dsa into the session environment.

the terminal gets the following output before the prompt:

 * keychain 2.7.1 ~ http://www.funtoo.org
 * Found existing ssh-agent: 1829
 * Known ssh key: /home/rhall/.ssh/id_dsa

Then you get a bash prompt.

This output becomes the text of the error message when I try to connect to
this same box via x2go-client.

The relevant lines in .bashrc are:

/usr/bin/keychain ~/.ssh/id_dsa
source ~/.keychain/rhall-sh
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] x2go login error

2015-01-19 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 19.01.2015 um 17:25 schrieb Rance Hall:
 My x2go server is my desktop at work and there is a .bashrc that 
 launches keychain and loads my ~/.ssh/id_dsa into the session
 environment.
 
 the terminal gets the following output before the prompt:
 
 * keychain 2.7.1 ~ http://www.funtoo.org * Found existing
 ssh-agent: 1829 * Known ssh key: /home/rhall/.ssh/id_dsa
 
 Then you get a bash prompt.
 
 This output becomes the text of the error message when I try to
 connect to this same box via x2go-client.
 
 The relevant lines in .bashrc are:
 
 /usr/bin/keychain ~/.ssh/id_dsa source ~/.keychain/rhall-sh

Just to make things easier for others trying to debug your issue - you
have an SSH agent named keychain running on the *server*, not on the
client?

If so, I could imagine X2GoClient is getting confused by this output
when it tries to ssh into the server. Do you think you could, for
debug purposes, silence this keychain tool by running it with
 21 /dev/null
(without the quotes) appended to its call?

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUvTh0AAoJEG7d9BjNvlEZoCkIAIj5qXLpcQAg3+4CBHF157ug
FryJtbzS7OXHD/QUy+otxq9yo5moUHio79OhfsprYU7MGH+PUU0bVr2VQTC4ujJl
d+mba0X9M347y96phFzCS9CIY3/16e5yfR/9GekQVn6l/h/GdrtWecoQzYnSUolm
V+lhydo7d9ubyy352GQMOsL4f05bNXExnBgky5/fGz4QVfOgNpa1P+7CR7PQ4+yG
e8HZ5AD6EgNPIli4AcVEomvOCWngAufVJOJPq/8rkK1clklKxdpseZd5eZYn0elZ
kfui9t+SXpI9BD06Ib7tbc6hse3AVqY8jFiXtVCPad1R14XW9kmA1Eg/vmbe6qI=
=iTkA
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user