Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: hidefromkgb on January 23, 2019, 10:25:10 am

Title: C::B over SSH?
Post 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.
Title: Re: C::B over SSH?
Post by: sodev on January 23, 2019, 05:45:05 pm
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.
Title: Re: C::B over SSH?
Post by: hidefromkgb on January 23, 2019, 10:14:57 pm
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.
Title: Re: C::B over SSH?
Post by: sodev on January 23, 2019, 11:16:00 pm
Interesting, just for shits and giggles i tried myself with mixed results:


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) :)