jEdit Community - Resources for users of the jEdit Text Editor
Using jedit with multiple clients
Submitted by Alain on Monday, 29 May, 2006 - 15:44
Hi,
I am using Jedit with Mandrake 9.0, installed on a specific PC. We use VNC to connect to the Linux account from other Pc's (Windows PC's). Suppose we are 2 clients connecting to the same linux account (same login), but working on different KDE desktops (possible with VNC). Then, the first client runs Jedit --> it works fine. But the second client cannot open the Jedit window on its own PC. Instead, the window is opened on the first client terminal...
Is there some parameter to set or configuration that could help ??
Thanks
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Hi Alain, from jedit help:
by Robert Schwenn on Mon, 29/05/2006 - 21:00
Hi Alain,

from jedit help:
"If jEdit is started while another copy is already running, control is transferred to the running copy... Communication ... is implemented using TCP/IP sockets; the initial instance is known as the server, and subsequent invocations are clients."

When jedit starts, it looks in its settings directory for a file named "server". If this file exists, the server is runnning and a client view is opend - in Your case at the "wrong" desktop.

I hope, the simplest way to solve Yor problem should be to start jedit with the command line switch "-noserver".

May be the following switch helps too:
at desktop1: "-settings=(directory1)"
at desktop2: "-settings=(directory2)"
So jedit uses different settings directories on the different desktops.

Robert
 
Hi Robert, "jedit -noserver"
by Alain on Tue, 30/05/2006 - 11:54
Hi Robert,
"jedit -noserver" works ! Very cool !

Alain
User login
Browse archives
« April 2025  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   107462
Context Free Art (*.cfdg)   0.31   46065
BBEdit scheme   1.0   18604
JBuilder scheme   .001   18505
ColdFusion scheme   1.0   18035
R Edit Mode - extensive version   0.1   17485
Advanced HTML edit mode   1.0   16216
Matlab Edit Mode   1.0   16080
jEdit XP icons   1.0   15239
XP icons for jEdit   1.1   14303