Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: hidefromkgb on January 23, 2019, 10:25:10 am
-
Hello again!
As you guys probably know, GEdit is capable of being executed on a remote Linux machine over SSH, and have its GUI displayed on a local Linux machine. Does C::B have anything similar?
Would be awesome to forgo GEdit in favor of something that can actually track multi-file projects.
-
GEdit is a very simple text editor, i dont think it has any special remote capabilities, this sounds like simple X11 forwarding. CodeBlocks is GTK based like GEdit and afaik doesnt do any special direct graphics stuff so it should be possible to X11 forward it as well.
-
I`ve got no doubt it`s possible, but GEdit does it out of the box, without any additional arguments whatsoever — unlike C::B, which seems not to forward X over SSH by default.
-
Interesting, just for shits and giggles i tried myself with mixed results:
- connecting from CentOS 7.6 to Ubuntu 12.04 with CodeBlocks r10785 against wxWidgets 2.8.12 (official release) works, but looks like "themes" are missing, gives some blocky style, but other applications look the same
- connecting from Ubuntu 12.04 to CentOS 7.6 with CodeBlocks r11417 against wxWidgets 3.1.2 (git commit c6523f016e65e132d1677c30e983bbbc93fe4213) does only work if Codeblocks is started with --safe-mode, but looks like "themes" are working
- In both cases the local CodeBlocks does not work anymore while the X11 Forwarding is active, the process starts and keeps running, but no window appears
This is where my magic ends, maybe someone else can explain these results (i have some dark memories that someone else had issues with CodeBlocks together with Xming, maybe in the related thread there might be some hints) :)