Hello Guys

am currently stuck configuring synergy on my laptop(with vista) and my pc with debian. my debian config file looks like this

# This section defines the hosts
section: screens
host1: 192.168.1.2
host2:
super=meta
end

# This section defines the relationship between the hosts.
section: links
host1:
right = host2
host2:
left = host1
end

section: options

However everytime i run "synergys -f --config /etc/synergy.conf"

I get this error msg:

ERROR: synergys.cpp,1068: cannot read configuration "/etc/synergy.conf": read error: line 3: argument before first screen
synergys: no configuration available


What could be cause of the problem. team please help

Recommended Answers

All 2 Replies

I'm not 100% posative, but this line:
host1: 192.168.1.2

looks wrong, it should just be:
host1:


and make sure you have 'host1' in your /etc/hosts file with the right ip.

I changed to host1 as u said and also edited the hosts file to look like this below:

GNU nano 2.0.7 File: /etc/hosts

127.0.0.1 localhost
127.0.0.1 sonah.WORKGROUP sonah
192.168.1.88 host1

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

but now i get this error below:

ERROR: synergys.cpp,1068: cannot read configuration "/etc/synergy.conf": read error: line 4: missing =
synergys: no configuration available

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.