-----Ursprungligt meddelande----- Från: Users users-bounces@lists.geany.org För ToddAndMargo via Users Skickat: den 5 februari 2021 23:07 Till: users@lists.geany.org Kopia: ToddAndMargo ToddAndMargo@zoho.com Ämne: Re: [Geany-Users] Using Geany via ssh
On 2/5/21 6:21 AM, Gösta Ljungdahl wrote:
Hello,
Reading the faq for Geany it appears that it does not support remote editing via ssh. But it seems like it works fine to fire up remotely Geany via ssh with x11 forwarding and use it for work on the remote file system. I’m really just using a remote display, mouse and keyboard all via ssh. Correct me if I am wrong.
Cheers,
Gösta Ljungdahl
Hi Gösta,
Geany is my code editor of choice on ssh.
My run string looks like:
Fedora 33: $ ssh -l todd -t -X -p xxxx aaa.bbb.ccc.ddd
It opens a command window and I fire off Geany from there.
You do have to get ssh working first though.
Other code editors fall on their noses over ssh as they are so very, very bloated.
HTH, -T
_______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users --- Thanks Todd,
Maybe the faq refers to a situation where you run a local instance of Geany to access and edit remote files over ssh. That I have not tried.
My ssh works fine. I use it from wsl-opensuse-Leap 15.2. Initially I had some problems with the x11 forwarding to VcXsrv running on the windows host because the client tried connecting to an X server via a unix socket which of course didn't exist since the wsl-app doesn't start an X-server. By setting DISPLAY=localhost:0.0 instead of just :0.0 the client is forced to go through the network stack and then it works.
Cheers, Gösta