Re: [X2Go-User] OSX/windows keyboards?

2015-04-07 Thread Les Mikesell
On Tue, Apr 7, 2015 at 3:11 PM, Mihai Moldovan  wrote:
> Hi Les,
>
>
> On 07.04.2015 07:57 PM, Les Mikesell wrote:
>> When I start a remote linux session from an OSX client, then
>> disconnect and pick up the session from a windows client, the screen
>> seems OK but the keyboard input is garbage.  I thought I had that
>> problem a long time ago and then it was fixed.   Do the client
>> versions have to stay in sync?   And is there some way to reset the
>> keyboard type to fix it and continue the session?
>
> The OS X client is synchronizing the keyboard layout by fetching the
> output of xmodmap on OS X and passing it to the remote session once
> every few seconds. If the Windows client is not overriding this on
> resuming by some means (I currently do not know the default behavior of
> the Windows-specific code), I'd expect the mappings to be wrong.
>
> Aside from that, keeping the client versions close (or rather: using the
> newest version) is generally a good idea.
>
> Maybe you just need to force a keyboard layout in the session settings
> on the Windows machine? Note that those options are not available in the
> OS X client due to the automatic synchronization via xmodmap anymore.

Thanks, but it doesn't seem to make a difference whether I have the
windows client keyboard setting at automatic or configured as
pc105/us.   It still sends garbage to the session started by the OSX
client.

On a positive note, though, the Windows 4.0.3.2 client no longer has a
conflict with the 'synergy' keyboard/mouse sharing program I use.
With earlier x2go client versions the mouse cursor would just
disappear when it was supposed to move off the edge of the desktop
monitor and take control of the adjacent computer.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


[X2Go-User] OSX/windows keyboards?

2015-04-07 Thread Les Mikesell
When I start a remote linux session from an OSX client, then
disconnect and pick up the session from a windows client, the screen
seems OK but the keyboard input is garbage.  I thought I had that
problem a long time ago and then it was fixed.   Do the client
versions have to stay in sync?   And is there some way to reset the
keyboard type to fix it and continue the session?

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Questions about sessions

2015-03-05 Thread Les Mikesell
On Thu, Mar 5, 2015 at 3:46 PM, Mihai Moldovan  wrote:
>
> For my use case, I want the terminals and applications to be independent
> from each other and I don't really use a desktop session or browser
> regularly.
>
>
> This use case is totally different from your thinclient-like use case.
> And that's fine. You want integration, I want isolation. X2Go is
> supposed to support both. We really try to satisfy all
> reasonable/generic use cases.

Yes, it just seems odd to me to use multiple x2go sessions as the same
user instead of a window manager or desktop environment - or for that
matter, to do things differently than you would if you were logged in
at the physical console.   But my point is just that I'd like to see
the 'extra' steps to connect minimized as much as possible and to make
picking up running sessions on a different client as easy as it was
with NX.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Questions about sessions

2015-03-05 Thread Les Mikesell
On Thu, Mar 5, 2015 at 3:39 PM, Mike Gabriel
 wrote:
>> >
>> > I agree with Mihai, that it is awkward, landing in a session that one
>> > maybe does not want. I often run multiple sessions of the same desktop
>> > type for the same user.
>>
>> Don't you run into trouble with applications clobbering their own
>> hidden files or things like firefox launching what you expected to be
>> a new instance as a window in one of the suspended sessions instead?
>>   And when reconnecting, how do you distinguish which session you want?
>
> The simple answer is: I use PyHoca-GUI. That makes things much easier.
>
> And, I am good at remembering session Ids and numbers.

I guess the thing I am really missing is 'why'?   I use x2go as a
substitute for sitting at an X console and can't think of a reason why
I'd want to plug in another real console on the same machine to log in
as the same user.   Is there some advantage to concurrent sessions
that you wouldn't get from Gnome's virtual screens or similar
approaches to clutter reduction?

-- 
 Les Mikesell
  lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Questions about sessions

2015-03-05 Thread Les Mikesell
On Thu, Mar 5, 2015 at 2:08 AM, Mike Gabriel
 wrote:
>
> I agree with Mihai, that it is awkward, landing in a session that one maybe
> does not want. I often run multiple sessions of the same desktop type for
> the same user.

Don't you run into trouble with applications clobbering their own
hidden files or things like firefox launching what you expected to be
a new instance as a window in one of the suspended sessions instead?
 And when reconnecting, how do you distinguish which session you want?

-- 
  Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Questions about sessions

2015-03-04 Thread Les Mikesell
sed to be started only once, yes.
>
> There are valid reasons for multiple sessions, though, as outlined
> above. I can't say how widespread those use cases are, though. It may be
> only me, in the worst case, and I acknowledge that.

I can see having an option to force a new session even if one exists -
and maybe it makes sense in the context of single-application windows
if you want to manage them the hard way.  But, I'd just like to
minimize the extra steps you have to do to start up a client - and my
scenario will almost always be connecting to an already-running Gnome
or MATE desktop where I may or may not  have forgotten to disconnect
another client and the client where I am now may have different screen
geometry.

-- 
 Les Mikesell
   lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Questions about sessions

2015-03-03 Thread Les Mikesell
On Tue, Mar 3, 2015 at 8:56 AM, Mihai Moldovan  wrote:
> On 03.03.2015 03:36 PM, Michael DePaulo wrote:
>> I feel awkward asking these since I am a developer.
>>
>> 1. What are the differences between a session that is "suspend" and a
>> session that is "running" but disconnected?
>
> A suspended session has been gracefully suspended within the client.
>
> A running session could either be an active one currently used, or one
> that is still waiting for a timeout of the client crashed or the
> connection was dropped prematurely for any reason.
> Running sessions should switch into suspended state after a (rather
> long?) timeout.
>
> You cannot attach to running sessions, but you can forcefully suspend a
> running session from the client and then attach to it.

Is there some reason for that?   I preferred the NX/freenx approach
where the new connection would automatically grab the existing session
(since you obviously wouldn't be trying to reconnect if you already
had a running client on the computer you are currently using).


> If there is a suspended session, there multiple two cases:
>   1.) the session you currently want to start matches the already
> existing, suspended session (same settings, including the
> "application"/"desktop" to start) => this session will then be attached
> to without prior notification, you will NOT see the session list beforehand
>   2.) the session to start matches a "running" session on the server.
> You will be presented with the list (and able to forcefully suspend the
> running session, if that's what you're after.)
>   3.) the new session differs in session setting details. In this case,
> you will get the session list.
>
> I don't like this, because it's inconvenient if you explicitly want to
> start a new session with the same characteristics. In my opinion, the
> session list should always be provided if one session (no matter the
> settings or state) is running on the server.

I disagree - I _always_ want to reconnect to my existing session,
across different clients and I'd rather not have to do unnecessary
work suspending/retrying or picking one session from a list of one
just because my laptop and mac screen sizes don't match my windows
desktop where the session was likely started.   If you are going to
change this behavior, can you please make it configurable so people
who only start one desktop session per host can always reconnect
without extra confusion, including automatically grabbing the session
you forgot to suspend before leaving your desk?

Aside from always wanting access to my same set of open windows and
long-running programs, I've had problems with  some desktop
environments and GUI applications with concurrent sessions for the
same user.   Some of them maintain hidden files that don't handle
concurrent updates gracefully, and some (like firefox) may try to open
a new instance as a new window in an already running session (which
may not be the one you are displaying).So - starting a new session
if you already have one just seems wrong, especially if the session is
of the same desktop environment type.

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] CentOS7/EPEL package?

2014-11-20 Thread Les Mikesell
On Thu, Nov 20, 2014 at 12:59 PM, Robert Dinse  wrote:
>
>  Look in /var/log/syslog /var/log/messages /var/log/secure, etc on your
> server.  Problem I had was related to hosts.allow, had to have localhost
> there
> for ssh.

ssh works fine on its own, the session looks like it starts, but I
can't see a reason that it terminates immediately:

Nov 20 12:47:17 c7 /usr/bin/x2gostartagent: successfully started X2Go
agent session with ID les-78-1416509234_stDMATE_dp32
Nov 20 12:47:19 c7 /usr/bin/x2gosetkeyboard: Setting X keyboard
according to /home/les/.x2go/C-les-78-1416509234_stDMATE_dp32/keyboard
Nov 20 12:47:19 c7 /usr/bin/x2goruncommand: launching session with
Xsession-x2go mechanism, using STARTUP="mate-session"
Nov 20 12:47:31 c7 systemd-logind: Removed session 11642.


Hmmm..., doing 'yum remove x2goserver-xsession'  seems to have fixed
it.  I had added that package due to the recommendation earlier in
this thread.


-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] CentOS7/EPEL package?

2014-11-20 Thread Les Mikesell
On Sat, Nov 1, 2014 at 1:59 PM, Les Mikesell  wrote:
> On Sat, Nov 1, 2014 at 9:27 AM, Orion Poplawski  wrote:
>> On 10/31/2014 04:31 PM, Les Mikesell wrote:
>>>
>>> Is something wrong with the  x2goserver-4.0.1.18-1.el7.x86_64 package
>>> in EPEL. The CentOS7 hosts that worked with the previous version
>>> (w/MATE desktop) now just open a black window on the client that
>>> closes almost instantly.  On one system I upgraded only the x2goserver
>>> package to make sure it wasn't some other update causing the problem.
>>>
>>
>> Yes, there is an issue with if if you don't have x2goserver-xsession
>> installed as well.  Please test
>> https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3596/x2goserver-4.0.1.18-3.el7
>> from epel-testing and give feedback.
>>
>
> That fixes the problem - but what is the story with
> x2go-server-xsession?  Should that be installed too?
>

And now I'm back to not working again...  I updated the windows client
(although since the latest download always has the same name it's not
obvious if it changed) and have done yum updates on the Centos 7 side.
   How are you supposed to debug the scenario where you connect, the
new window flashes open momentarily, then closes and the other window
just says 'session terminated' - and even that part goes away too
quickly to see any details.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] CentOS7/EPEL package?

2014-11-01 Thread Les Mikesell
On Sat, Nov 1, 2014 at 3:31 PM, Orion Poplawski  wrote:
> >>
>> That fixes the problem - but what is the story with
>> x2go-server-xsession?  Should that be installed too?
>>
>
> It's recommended for setting up full desktop environments, and probably
> should be installed.
>

Unless there is some downside, why not make it a dependency for x2go-server?

-- 
 Les Mikesell
lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] CentOS7/EPEL package?

2014-11-01 Thread Les Mikesell
On Sat, Nov 1, 2014 at 9:27 AM, Orion Poplawski  wrote:
> On 10/31/2014 04:31 PM, Les Mikesell wrote:
>>
>> Is something wrong with the  x2goserver-4.0.1.18-1.el7.x86_64 package
>> in EPEL. The CentOS7 hosts that worked with the previous version
>> (w/MATE desktop) now just open a black window on the client that
>> closes almost instantly.  On one system I upgraded only the x2goserver
>> package to make sure it wasn't some other update causing the problem.
>>
>
> Yes, there is an issue with if if you don't have x2goserver-xsession
> installed as well.  Please test
> https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3596/x2goserver-4.0.1.18-3.el7
> from epel-testing and give feedback.
>

That fixes the problem - but what is the story with
x2go-server-xsession?  Should that be installed too?

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] CentOS7/EPEL package?

2014-10-31 Thread Les Mikesell
On Fri, Oct 31, 2014 at 5:33 PM, Robert Dinse  wrote:
>
>  Nope, it's not a problem with X2Go per se', it's a problem with Gnome-3
> and any other compositing desktop being incompatible with X2Go (and freeNX).
> Install mate on Centos7, then specify "mate-session" as the command or
> choose Mate from the drop-down in X2Go and it will work fine.

In case I wasn't clear: a system that _was_ working with x2go/MATE
before the x2goserver-4.0.1.18-1.el7.x86_64 update now fails with no
other change.   As do the other systems where I've done a 'yum update'
that brought in this change along with others including some MATE
component updates.

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


[X2Go-User] CentOS7/EPEL package?

2014-10-31 Thread Les Mikesell
Is something wrong with the  x2goserver-4.0.1.18-1.el7.x86_64 package
in EPEL. The CentOS7 hosts that worked with the previous version
(w/MATE desktop) now just open a black window on the client that
closes almost instantly.  On one system I upgraded only the x2goserver
package to make sure it wasn't some other update causing the problem.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] x2go 4.0.3.0.client for OSX

2014-10-22 Thread Les Mikesell
On Wed, Oct 22, 2014 at 1:29 PM, Ricardo Díaz Martín <
oceanosoftlapa...@gmail.com> wrote:

> In
> http://code.x2go.org/releases/binary-macosx/x2goclient/releases/4.0.2.1/
> you can find
> http://code.x2go.org/releases/binary-macosx/x2goclient/releases/4.0.2.1/x2goclient-4.0.2.1-20141019.dmg
>
> It's working in my 10.10 Yosemite with XQuartz
>

It worked for me also on an imac with Yosemite.   Didn't try much beyond
getting logged in and opening a terminal window or two, though.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] screen size problem in gnome session

2014-09-17 Thread Les Mikesell
On Wed, Sep 17, 2014 at 1:40 PM, Luciano Gabriel Andino
 wrote:
> hi! this is my first post. I have a problem in gnome sesión using Windows
> client. Gnome Window session is much bigger than client. Not possible
> configuration in client's side. Meawhile no problem in KDE. What can I do to
> solve this?

I've been able to resize gnome sessions running on Centos 6.x from a
windows client so this must be something version-specific.  I try set
the client up to make the initial window small enough that the corners
are on-screen, though.

-- 
  Les Mikesell
lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] installing x2go on CentOS 6 , SQLite db error

2014-08-27 Thread Les Mikesell
On Wed, Aug 27, 2014 at 11:46 AM, Grigory Shamov
 wrote:
>
> Now how does one manage users? Is it possible to use LDAP with this
> version (4.0.1.15)?

What do you need to manage?   I've always had ssh already set to allow
users to connect and x2go just worked on top of that.

> Also, EPEL repo has fewer components apparently (no x2gognomebindings, no
> x2gextensions) -- do I miss them? A desktop does start and looks like
> GNOME (for it is my default and only installed DE on this machine). Is
> there a way to give users a default panel, set of bookmarks etc.?

The default should be the same as if they logged in with that id at
the console (if you have one) with the selected desktop
(gnome/kde/mate, etc.).

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] installing x2go on CentOS 6 , SQLite db error

2014-08-26 Thread Les Mikesell
On Tue, Aug 26, 2014 at 2:54 PM, Grigory Shamov
 wrote:
> Dear Les,
>
> I've used EPEL 6 version of the X2go repo, by adding the repo as
> described, (http://wiki.x2go.org/doku.php/wiki:repositories:epel) and
> installed the dependencies rpms that were missing manually from EPEL 6
> x86_64 ( python-gevent-0.13.8-3.el6.x86_64.rpm
> python-greenlet-0.4.2-1.el6.x86_64.rpm
> perl-File-Read-0.0801-2.el6.noarch.rpm
> perl-File-ReadBackwards-1.04-7.el6.noarch.rpm).
>
> Is there more generic EPEL dependencies that I miss?

I don't understand the "manually" part.  If the EPEL repository is
enabled, yum should have installed all the dependencies together for
you.   And a working x2goserver is included in EPEL.  I don't think
you need the x2go repo unless you want a version newer than 4.0.1.15.
 What version did you install?

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


Re: [X2Go-User] installing x2go on CentOS 6 , SQLite db error

2014-08-26 Thread Les Mikesell
On Tue, Aug 26, 2014 at 1:21 PM, Grigory Shamov
 wrote:
> Dear x2go Users,
>
> I have tried to install x2go (EPEL 6 version) to a CentOS 6.5 machine. The
> installation worked (I've had to add fuse and fuse-sshfs and a few perl
> modules, including perl-SQLite-DBD). However when I try to connect a
> client, or to run x2golistsessions on the server, I get the following
> error:
>
>
> Connection failed DBD::SQLite::db prepare failed: no such table: sessions
> at /usr/lib64/x2go/x2gosqlitewrapper.pl line 467. Can't call method
> "execute" on an undefined value at /usr/lib64/x2go/x2gosqlitewrapper.pl
> line 475.
>
> Could you please suggest how this problem is to be fixed? Thank you very
> much in advance!

Did you use yum to install x2goserver or just grab an isolated rpm
from the repository? Yum should have taken care of all the
dependencies for you.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Resume from different client?

2014-08-18 Thread Les Mikesell
On Mon, Aug 18, 2014 at 11:18 AM, Short, Kermit  wrote:
>
> Hi Les,
>How are you able to see the sessions?  I've never been able to do that!
>

Hmmm, this time it worked starting a session from the windows desktop
and picking it up on the laptop, so maybe it is only the mac that
fails and I don't have access to it right now.   But, as I recall the
initial X2go window where you see the status as the connection starts
shows a session id with the options to terminate or start a new one. I
have normally terminated the old one, then connected again to start a
new session but I'd prefer to be able to resume the one with
applications open.

-- 
  Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Resume from different client?

2014-08-18 Thread Les Mikesell
On Mon, Aug 18, 2014 at 11:11 AM, Stefan Baur
 wrote:
> Am 18.08.2014 um 18:08 schrieb Les Mikesell:
>> Should this work or are there some constraints on the client type or
>> hardware differences?
>
> Color depth, IIRC.

Is there a way to constrain it to the lowest common denominator when
starting the session - or does it always have to be an exact match?
FreeNX and the NX clients have worked moving sessions across the same
set of machines, but I'd prefer to switch to X2go.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


[X2Go-User] Resume from different client?

2014-08-18 Thread Les Mikesell
I'd like to be able to keep one x2go session running but disconnect
and resume from different clients (Windows desktop, Mac, Windows
Laptop), but generally when I try to connect from a client other than
the one that started the session I can see the session listed but the
resume option is grayed out.

Should this work or are there some constraints on the client type or
hardware differences?

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Can sessions of one user on different hosts collide?

2014-08-08 Thread Les Mikesell
On Fri, Aug 8, 2014 at 6:02 AM, Mike Gabriel
 wrote:
> >
>> Today, one user ('abbasi') told me, that since one or two weeks, he can
>> only
>> have one active connection to two of the servers (named 'lucas' and
>> 'perrin')
>> at a time, while before he could have active connections to both of them
>> in
>> parallel.
>
> this maybe relates to a known NX issue when homes are on NFS. Sessions
> become unresponsive there sometimes.
>
> For X2Go Server 4.0.1.16 (to be released soon) we have moved all NX related
> session stuff from $HOME to $TMP for that very reason.
>
> The occurences of the same ports are not relevant here, I reckon. Ports have
> to be unique per server, not per user.
>

Isn't there another issue if the client gets the same display number
from both servers?   Something that is likely if you are the first or
only connection to two different servers...  With freenx I always
randomized the DISPLAY_BASE setting on the servers to minimize that
issue but I think the equivalent in x2goserver is buried in one of the
scripts.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


[X2Go-User] Windows X2go client vs synergy

2014-07-29 Thread Les Mikesell
My main desktop computer is a windows box and I run 'synergy' to share
it's keyboard mouse with a laptop that is generally sitting on it's
left side.  However, when x2go is also running on the desktop with an
active display window it seems to interfere with synergy.   When the
mouse cursor hits the left edge of the desktop screen, it should
'appear' to move to the laptop - with synergy transferring the
keyboard/mouse control to the laptop until the cursor comes back to
the right edge of the laptop screen.When x2go has an active screen,
even if it is not positioned near the left edge of the physical screen
the cursor just disappears there instead of being picked up by synergy
and shown on the laptop client - although it does seem to recognize
when it has moved back approximately the same distance to reappear on
the desktop.

Is there any way to avoid this conflict - or help debug it further?
I don't have this problem when using NX/freenx in a similar way.

--
Les Mikesell
  lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user