Thursday, May 24, 2012

Configuring Centos 6.2 without a Keyboard or Mouse

Turn on Synergy

Note: replace HOSTNAME  with the host that is running the synergy server (synergys).

Add the following to the bottom of: /etc/gdm/Init/Default

/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc HOSTNAME

exit 0

Create the file: /etc/gdm/PostLogin/Default
#!/bin/sh

/usr/bin/killall synergyc
sleep 1
exit 0

Add the following to the bottom of: /etc/gdm/PreSession/Default

/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc HOSTNAME

exit 0

Enable Auto Login

Add the following to: /etc/gdm/custom.conf

[daemon]
AutomaticLoginEnable=True
AutomaticLogin=YOUR_USERNAME

No comments:

Post a Comment