I’m new to this board. I’ve been looking all over the internet for an answer to this question, and I’m beginning to lose hope that it’s possible at all. Anyhow;
I’m trying to set up fvwm to run synergy (to share a mouse and keyboard from another machine) when a session starts. I’m using a session manager, so I tried to add the required code to the SessionInitFunction by adding the following lines to ~/.fvwm/.fvwm2rc:
I Exec sudo /usr/bin/synergyc B36146[/code]
Where B36146 is the name of the machine serving the mouse and keyboard. This did nothing. When I remove the sudo, it works fine, but without sudo the cursor is really choppy (some bug with ubuntu 8.04, apparently). Is there any way to run something as root on login to fvwm?