[X2Go-Dev] Different behavior of X2Go Client from Desktop and TCE

Walid MOGHRABI w.moghrabi at servicemagic.eu
Wed May 16 15:11:30 CEST 2018


This is a known bug I encountered and this is due to the lack of Window Manager.
Apparently, the WM is needed to have a good working xinerama.

I fixed this by installing OpenBox in my TCE image and added this line :


============================================================================================
--- /usr/sbin/x2gothinclientd
+++ /usr/sbin/x2gothinclientd
@@ -175,6 +175,9 @@
 			}
 		}
 
+		# Spawn openbox
+		system("su - x2gothinclient -c \"DISPLAY=:0 openbox &\"");
+
 		# set screen background to X2Go default blue on all detected screens
 		`DISPLAY=:0 xsetroot -solid "#246ed8"`;
============================================================================================
 
I also did a few modifications to /etc/xdg/openbox/rc.xml to disable windows borders and a few stuff ... in fact these are just modifications you can find in the TCE Live Build project.
Please find my rc.xml attached.

Once you do this, everything works just like on your desktop.

I would really suggest to include that modification and dependencies in the x2gothinclient-displaymanager package.


Regards,
Walid Moghrabi

TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3

----- Mail original ----- 

De: "Oleksandr Shneyder" <o.shneyder at phoca-gmbh.de> 
À: x2go-dev at lists.x2go.org 
Envoyé: Mercredi 16 Mai 2018 14:50:52 
Objet: [X2Go-Dev] Different behavior of X2Go Client from Desktop and TCE 

Hi guys, 

I have a strange issue. The Xinerama works well in full screen mode, 
when x2goclient is started on desktop, but doesn't work if x2goclient 
is started from TCE. It's the same version of client: 
4.1.2.0-0x2go1~git20180514.1774+9.heuler.1 
and same version of Debian - stretch. Session config identical as well. 

xrandr output inside of X2Go session is different though: 

desktop: 

Screen 0: minimum 320 x 240, current 4480 x 1080, maximum 4480 x 1200 
NX1 connected 1920x1080+2560+0 0mm x 0mm 
nx_1920x1080 60.00* 
NX2 connected 2560x1080+0+0 0mm x 0mm 

TCE: 

Screen 0: minimum 320 x 240, current 2560 x 1024, maximum 2560 x 1200 
default connected 2560x1024+0+0 0mm x 0mm 
1360x768 60.00 
320x240 60.00 
1024x600 60.00 
1280x800 60.00 
1600x900 60.00 
1600x1200 60.00 



Although if session is started from TCE, I'm getting error dialog from 
/etc/x2go/Xsession.d/20x11-common_process-args: 
"unsupported number of arguments (3); falling back to default" 

before I'm starting to look for the reason, maybe someone who tweaked on 
Xinerama or on x2go server have any idea why it's happening? 


regards, 
Alex 


-- 
----------------------------------------------------------- 
Oleksandr Shneyder | Email: o.shneyder at phoca-gmbh.de 
phoca GmbH | Tel. : 0911 - 14870374 0 
Harzstr. 4 | Fax. : 0911 - 14870374 9 
D-90491 Nürnberg | Mobil: 0163 - 49 64 461 

Geschäftsführung: 
Dipl.-Inf. Oleksandr Shneyder 

Amtsgericht München | http://www.phoca-gmbh.de 
HRB 196 658 | http://www.x2go.org 
USt-IdNr.: DE281977973 
----------------------------------------------------------- 


_______________________________________________ 
x2go-dev mailing list 
x2go-dev at lists.x2go.org 
https://lists.x2go.org/listinfo/x2go-dev
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.xml
Type: application/xml
Size: 19948 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20180516/f3b2fef0/attachment-0001.xml>


More information about the x2go-dev mailing list