Thursday, March 29, 2007

Synergy - Virtual KVM

I was trying out a little thing I found on suseblog.... and this thing is really sweet. It's a virtual/software KVM (Keyboard, Video, Mouse) share package. Basically it connects all your monitors together so you can use one mouse & keyboard for them all! It rocks! I installed the server portion on my XP machine and it was very self-explanatory, but the client setup on ubuntu is a little tricky if you want it to start at boot-time. Here are the instructions I followed to success from the wonderful people on the Ubuntu Community Forum. Enjoy!


Insti Insti is offline
First Cup of Ubuntu

Join Date: Apr 2006
Beans: 4
Ubuntu Breezy 5.10 User
Starting the Synergy CLIENT on boot up.

Quote:
Originally Posted by nwgray
Admitted serious Linux noob here. What syntax would I use if I wanted to start the client and not the server (synergyc)? I run an XP and Ubuntu box side by side and it is working great. I just need synergyc to start automatically.
These instructions should work for running the synergy client on your UBUNTU machine to connect to a locally networked computer running the synergy server. (I've not actually tried them myself.)
Let us know how you get on.

NOTE:
The
will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string
)

To make the client run when gdm runs, but before anyone has logged in:

edit /etc/gdm/Init/Default:
Code:
sudo gedit /etc/gdm/Init/Default
Added the following lines in the middle of the file BEFORE the "sysmodmap=/etc/X11/Xmodmap" line:

Code:
SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC

fi

The only problem with that is once you log in it kills off the client, so you need to make it start again for you.

edited /etc/gdm/Init/Default:
Code:
sudo gedit /etc/gdm/PreSession/Default
Added the following lines in the middle of the file BEFORE the "XSETROOT=`gdmwhich xsetroot`" line:
Code:
SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC

fi

Log out and back in again.

The synergy client should now startup and run whenever your gdm session does.

NOTE:
The
will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string
)

Then follow up with:

MasterZ MasterZ is offline
5 Cups of Ubuntu

Join Date: Mar 2006
Beans: 30
Talking Re: synergy / boot up

Hahaaa

You found it !

The file "/etc/X11/gdm/Init/Default" did not have execute permissions.

I wonder if it is a bug or not, because "/etc/X11/gdm/PreSession/Default" has execute permissions. (It is a fresh install so I did not modify anything yet, except running automatrix).

Anyway for the persons who still have the same problem, just do
Code:
sudo chmod +x /etc/X11/gdm/Init/Default
and it should be ok.

Thanks again Insti !

Monday, March 26, 2007

Correction...

On my last post I mentioned how quote "Linux working = No money for MS". Due to recent news I should now post a correction.

Because the machine I was posting about is using OpenSUSE (by Novell) and Novell was just bought out by Microsoft then my logic no longer stands.

Let's now go with: Non-Novell Distro's of Linux working = No money for MS.

Thanks to Eric for his copy of The Wall Street Journal's article publicizing the whole event.

Did I mention I was only like 4 or 5 months late on this story?

Thursday, March 22, 2007

WTF.

Seriously, WTF?

I decided to try using ndiswrapper to get my wireless working on my openSUSE 10.2 machine. Pain in the ...

It works, but for some god-forsaken reason it thinks the wireless card is an ethernet card and shows it as eth1 vs. wlan0.

To install the driver and use ndiswrapper I followed this gents page. Very nice page, excellent info, but it doesn't say one thing about having to reboot your computer to have it recognize your wireless card (which of course is true in my case). You should be able to just modprobe ndiswrapper as far as I understand. WTF. Then I followed some other helpful fellow's instructions on using bcm43xx-fwcutter in order to get my Broadcom wireless card to show up as wlan0 -- no dice. I even blacklisted bcm43xx in /etc/modprobe.d/blacklist (I think that's it) as another gent had mentioned still to no avail!

OpenSUSE vs. Broadcom -- Broadcom wins. OpenSUSE got in some excellent blows by being able to actually connect to the net, but Broadcom dominated the battle by never submitting to wlan0. Hope you didn't have money riding on that fight.

Whatever...

I'm so tired of screwing with it that as long as I have wireless I don't care. As far as I'm concerned I win.

The transitive property: a=b=c so a=c. My version:

Linux working = Not using MS Windows which = MS doesn't get my Money
so...
Linux working = No money for MS

Hooray for Linux. Job well done.

Wednesday, March 21, 2007

The Beginning

What a horrible beginning. I just wrote a novel and as I was editing - more specifically deleting a jpeg off the post - as all of it was destroyed. Oh cruel world.