Hi Mike,
Initially i started to develop X2Go KDrive based on source code of xorg-server-1.19.2. I made some patches to port it for some older versions used by SLES12SP1 and Leap42.3. I didn't try it yet with newer versions of XOrg, however I think it should not be a big deal. Looking on the log you provided, I could guess that the problem is somewhere in the XRandr handling. But I would need to take a closer look to be sure.
Regards Alex
Am 14.06.19 um 15:50 schrieb Mike Gabriel:
Hi Alex,
On Do 20 Dez 2018 15:37:12 CET, Oleksandr Shneyder wrote:
Hi All,
I'm glad to introduce you a new X2Go feature - X2Go KDrive. X2Go KDrive is a new X-Server for X2Go, similar to Xephyr. It's based on the recent X.Org code and can run modern desktops and apps, like Gnome-3 and KDE-5. I uploaded some sources to our git repository. It's not a release or even testing version, just kind of review at the moment. We don't have any build system for it yet. However I wrote some instructions, which could help you to build it.
check our wiki page if you need more information:
https://wiki.x2go.org/doku.php/wiki:advanced:x2gokdrive:start
regards, Alex
Stefan managed to get some funding for me to work on wrapping up X2Go KDrive (Agent + Client) as DEB packages.
I have committed quite some stuff to the repos, more to come the coming week. Please review. Especially, I prepared native builds against the DEB package xserver-xorg-source.
I also ported the nx-libs test scripts. With X2Go Client and also with the "on-localhost" testscript, I get this segfault:
However, I currently get this SegFault Traceback when initiating a connection:
x2gokdriveinit.c:194,ddxProcessArgument() mark argv[1]='-name' x2gokdriveinit.c:194,ddxProcessArgument() mark argv[3]='-geometry' x2gokdriveinit.c:194,ddxProcessArgument() mark argv[5]=':9' x2gokdriveinit.c:233,OsVendorInit() mark x2gokdriveinit.c:65,InitCard() mark x2gokdriveinit.c:170,processScreenOrOutputArg() screen number:0, size: 800x600, output (null) remote.c:2288,remote_init() running in NXAGENT MODE remote.c:2297,remote_init() read options from /home/mike/.x2go/C-9/options remote.c:2177,processConfigFileSetting() accept 127.0.0.1 remote.c:1709,setAgentState() Agent state STARTING remote.c:2058,open_socket() Accepting connections from 127.0.0.1 remote.c:2061,open_socket() Listen on port 15000 remote.c:2089,open_socket() Socket is ready x2gokdriveselection.c:640,selection_init() INITIALIZING selections x2gokdriveselection.c:657,install_selection_callbacks() SERVER CLIPBOARD disabled, not installing callbacks x2gokdrive.c:98,ephyrScreenInitialize() Init screen remote.c:2987,remote_screen_init() REMOTE SCREN INIT!!!!!!!!!!!!!!!!!! remote.c:2990,remote_screen_init() SKIPPING CALLBACK INSTALL remote.c:3001,remote_screen_init() host_screen=0x5645af625e60 x=0, y=0, wxh=800x600, buffer_height=1800 remote.c:3014,remote_screen_init() TRYING TO ALLOC MAIN_IMG 1920000 remote.c:3016,remote_screen_init() TRYING TO ALLOC DOUBLE BUF 1920000 remote.c:1321,send_frame_thread() Started sending thread: #0! remote.c:1325,send_frame_thread() waiting for TCP connection remote.c:3021,remote_screen_init() ALL INITIALIZED x2gokdrive.c:244,ephyrMapFramebuffer() DIRECT FB x2gokdrive.c:834,ephyrRandRInit() RANDR INIT, HERE WE ARE DOING OUR RANDR INITIALIZATION x2gokdrive.c:835,ephyrRandRInit() OUTPUTS: 0, CRTCS: 0, SIZES: 0 x2gokdrive.c:781,addOutput() CREATE OUTPUT X2GoEphyr-0 x2gokdrive.c:673,setOutput() Set output 800 600 0 0 x2gokdrive.c:732,setOutput() RANDR SIZES - SCREEN 800x600 - 271x203, OUTPUT 800x600 - 271x203 x2gokdrive.c:751,setOutput() OUPUT has now modes 1 (800x600) remote.c:1332,send_frame_thread() Connection from (127.0.0.1)... remote.c:1378,send_frame_thread() got 32 COOKIE BYTES from client remote.c:1387,send_frame_thread() Cookie approved remote.c:1709,setAgentState() Agent state RUNNING remote.c:1918,clientReadNotify() Client want resize to 1276x454 remote.c:1934,clientReadNotify() SCREEN 0 - (1276x454) - 0,0 x2gokdrive.c:861,ephyrResizeScreen() EPHYR RESIZE SCREEN!!! af6392f0 1276 454 x2gokdrive.c:864,ephyrResizeScreen() EPHYR RESIZE SCREEN 2 x2gokdrive.c:869,ephyrResizeScreen() Virtual Screens: 0x7ffd5d23c9e0 x2gokdrive.c:438,ephyrRandRSetConfig() SET RANDR CFG x2gokdrive.c:456,ephyrRandRSetConfig() Trying to get virtual screens x2gokdrive.c:457,ephyrRandRSetConfig() Virtual Screens: 0x7ffd5d23c9e0 remote.c:2987,remote_screen_init() REMOTE SCREN INIT!!!!!!!!!!!!!!!!!! remote.c:2995,remote_screen_init() REINSTALL CALLBACKS x2gokdriveselection.c:657,install_selection_callbacks() SERVER CLIPBOARD disabled, not installing callbacks remote.c:3001,remote_screen_init() host_screen=0x5645af625e60 x=0, y=0, wxh=1276x454, buffer_height=1362 remote.c:3010,remote_screen_init() FREE DBF remote.c:3012,remote_screen_init() DONE FREE DBF remote.c:3014,remote_screen_init() TRYING TO ALLOC MAIN_IMG 2317216 remote.c:3016,remote_screen_init() TRYING TO ALLOC DOUBLE BUF 2317216 remote.c:3021,remote_screen_init() ALL INITIALIZED x2gokdrive.c:244,ephyrMapFramebuffer() DIRECT FB (EE) (EE) Backtrace: (EE) 0: x2gokdrive (OsLookupColor+0x139) [0x5645ad81fc69] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fb9bc68177f] (EE) 2: x2gokdrive (GetScratchGC+0x31) [0x5645ad6f27c1] (EE) 3: x2gokdrive (miPaintWindow+0x182) [0x5645ad749082] (EE) 4: x2gokdrive (miWindowExposures+0xf2) [0x5645ad748e72] (EE) 5: x2gokdrive (miHandleValidateExposures+0x6e) [0x5645ad75771e] (EE) 6: x2gokdrive (SetRootClip+0x1f3) [0x5645ad70b703] (EE) 7: x2gokdrive (SwapShorts+0x49c) [0x5645ad72624c] (EE) 8: x2gokdrive (_start+0x70b0) [0x5645ad6e8b70] (EE) 9: x2gokdrive (_start+0x7496) [0x5645ad6e98e6] (EE) 10: x2gokdrive (_start+0x4faf) [0x5645ad6e4baf] (EE) 11: x2gokdrive (OsCleanup+0x591) [0x5645ad820a61] (EE) 12: x2gokdrive (WaitForSomething+0x1c3) [0x5645ad819883] (EE) 13: x2gokdrive (SendErrorToClient+0x10c) [0x5645ad71d59c] (EE) 14: x2gokdrive (InitAtoms+0x3c6) [0x5645ad6e4b46] (EE) 15: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xeb) [0x7fb9bc4d009b] (EE) 16: x2gokdrive (_start+0x2a) [0x5645ad6db0fa] (EE) (EE) Segmentation fault at address 0x564500000008 (EE) Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting (EE)
Does the above segfault and traceback ring a bell? If not, never mind. I will dive into it the coming week.
Note: I also merged the feature/kdrive_support branch found on x2goserver.git and x2goclient.git to master.
Greets, Mike
Oleksandr Shneyder | Email: o.shneyder@phoca-gmbh.de phoca GmbH | Tel. : 0911 - 14870374 0 Schleiermacherstr. 2 | Fax. : 0911 - 14870374 9 D-90491 Nürnberg | Mobil: 0163 - 49 64 461
Geschäftsführung: Dipl.-Inf. Oleksandr Shneyder