Re: [X2Go-User] x2goserver on Ubuntu Mate 15.04 with 4k monitor and high font-rendering DPI

2015-06-26 Thread Milan Knížek
Simon Baev píše v Čt 21. 05. 2015 v 14:22 -0400:
 I saw this setting but for some reason it didn't affect anything when 
 I changed it to 96. Could it be caused by the fact that ongoing (not 
 logged out) session was active on the server (physical console) while 
 I was trying to remotely connect to it via X2Go? 
 
 The only way I found to connect to that server with reasonable DPI 
 was to create a separate user that runs default settings, but that 
 doesn't seem to be a good fix. 
 
I switched recently from KDE 4 to MATE (Arch Linux) and can see the
same behaviour with MATE: x2goserver/nxagent ignores the dpi settings
set in x2goclient.

I had not had time to investigate this further and for now worked
around that by placing two launchers on my desktop and running them
manually in the current session:

For local sessions:
gsettings set org.mate.font-rendering dpi 107

For x2go sessions:
gsettings set org.mate.font-rendering dpi 96

It works on the fly, only some apps (skype) need to be closed and
restarted.

I believe one could use .config/autostart/ and some script with tests
of the environment to set the proper DPI during log-in phase. This
would resolve the issue with uncleanly terminated sessions. Perhaps it
may not work for published apps.

I hope to look at the issue later (well, just a cheap promise...)

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

Re: [X2Go-User] Testers Wanted: PyHoca-GUI for Windows 0.5.0.4-20150125

2015-02-17 Thread Milan Knížek


Michael DePaulo píše v Ne 25. 01. 2015 v 12:22 -0500:
 Hello X2Go users,
 
 See the previous email I sent below.
 
 PyHoca-GUI 0.5.0.4 was just released with very few changes compared to
 0.5.0.3. So I will not be making any new 0.5.0.3 builds.

Hello Michael,

I run PyHoca-GUI from a Win 7 workstation w/o admin privileges. To
workaround the installation, I simply extract the contents of the
distribution binary to a folder of my choice (Current):

all files in root- Current
contents of $_OUTDIR - Current
vcxsrv   - Current/vcxsrv

This worked fine with older PyHoca-GUI releases.

The actual command run from Cygwin CLI is:
./pyhoca-gui.exe --debug --libdebug --start-xserver --lang en
--client-rootdir D:\Users\username\Current\.x2goclient
--sessions-rootdir D:\Users\username\Current\.x2go
--ssh-rootdir D:\Users\username\Current\.ssh

I use password login to connect to X2Go server. After login to X2Go
server, I am not able to open the menu with left-mouse-button click on
PyHoca-GUI tray icon anymore: simply no visual feedback takes place. It
is still possible to see the menu after right-mouse-button click
(About..., Profile Manager, ..., Exit).

The debug log of PyHoca-GUI.log reads:

... cut ...
pyhoca-gui.exe[6252] (x2goguardian-pylib) DEBUG: Entering X2Go Guardian
client management loop...
pyhoca-gui.exe[6252] (x2gocontrolsession-pylib) INFO: executing command
on X2Go server ,,Athlon Local'': echo
X2GODATABEGIN:5f4dfe80-b6aa-11e4-862e-7ce9d3e1e6c8;
PATH=/usr/local/bin:/usr/bin:/bin sh -c export HOSTNAME 
x2golistsessions; echo X2GODATAEND:5f4dfe80-b6aa-11e4-862e-7ce9d3e1e6c8
pyhoca-gui.exe[6252] (x2gocontrolsession-pylib) INFO: executing command
on X2Go server ,,Athlon Local'': echo
X2GODATABEGIN:5f713df0-b6aa-11e4-b1d5-7ce9d3e1e6c8;
PATH=/usr/local/bin:/usr/bin:/bin sh -c export HOSTNAME 
x2golistmounts mu-50-1424167886_stRPUBLISHED_dp32; echo
X2GODATAEND:5f713df0-b6aa-11e4-b1d5-7ce9d3e1e6c8
Traceback (most recent call last):
  File pyhoca/wxgui/taskbar.py, line 153, in
CreateSessionManagerPopupMenu
  File pyhoca/wxgui/menus_taskbar.py, line 1063, in __init__
  File pyhoca/wxgui/menus_taskbar.py, line 692, in __init__
  File pyhoca/wxgui/menus_taskbar.py, line 497, in
_generate_Menu_PublishedApplications
  File wx/_core.py, line 2916, in Scale
wx._core.PyAssertionError: C++ assertion IsOk() failed at ..\..\src
\common\image.cpp(429) in wxImage::Scale(): invalid image
pyhoca-gui.exe[6252] (x2goguardian-pylib) DEBUG: Entering X2Go Guardian
client management loop...
... cut ...


The syslog on X2Go server does not say anything special, just the
repeated client management loop messages (I use debug log-level):

Feb 17 14:39:18 athlon /usr/bin/x2golistsessions[8450]: x2golistsessions
has been called with no option
Feb 17 14:39:19 athlon /usr/bin/x2golistmounts[8472]: db_getmounts
called, session ID: mu-50-1424167886_stRPUBLISHED_dp32; return value:


BTW, it would be nice if the debug log file is stored inside the
--sessions-rootdir so that files are kept within the portable
definitions.

regards,
Milan

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

[X2Go-User] Published applications: subdirectories are ignored

2014-10-07 Thread Milan Knížek
Hello,

is it a known limitation of X2Go that as published applications are only
those listed, which reside in /etc/x2go/applications, and any that are
in subdirectories such as /etc/x2go/applications/kde4 are ignored by
X2Go client?

(Tested on pyhoca-gui 0.4.0.8, x2goserver 4.0.1.15. I work-around that
by symlinking each .desktop file individually
instead  /usr/share/applications only.)

Regards,
Milan

-- 
http://milan-knizek.net/
About linux and photography (Czech only)
O linuxu a fotografování



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