![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jul 2005
Location: Guildford
Beans: 54
|
synergy / boot up
Hey guys, my friend told me to install Linux on my 2nd machine, so I did, and here I am.
I have a windows machine, and a linux one, with one keyboard and one mouse, connected to windows machine. I use synergy to allow the K & M to be used between machines much like a kvm switch. my question is this: it's all fine and good once i've started linux, but before I boot it up, i have to unplug K & M from windows, and plug into Linux, to enable me to enter user & pass. What i would like is to have Synergy load on boot up, so that I don't have to plug in K&M when it boots up to enter my user/pass. does anyone know how I go about doing this, or a way of doing this? If so, a complete noob step by step guide would be greately appreciated (assume all i know how to do is open a terminal) Thanks for any help /end first post, woohoo |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() Join Date: Jul 2005
Location: Guildford
Beans: 54
|
Re: synergy / boot up
is there anybody out there...
...that can help? maybe not specific to my problem, but about how to make something run at boot-up before you have to log in?? |
|
|
|
|
|
#3 | |
|
First Cup of Ubuntu
![]() Join Date: Aug 2005
Location: Australia
Beans: 4
|
Re: synergy / boot up
I want to do much the same thing, I've been looking around on the Synergy website and I came across this: http://synergy2.sourceforge.net/autostart.html
Quote:
/etc/gdm/init/ for the second file you have to go to: /etc/gdm/postlogin/ and for the third one I'm not 100% sure but I think its either /etc/gdm/postsession/ or /etc/gdm/presession/ Someone will have to help me out on that. Anyways, you have to edit the file in those directories to include the code from the Synergy site. However this is where I'm stuck. I can't edit the files because they require a root login to edit them and I don't know how to login as root since it didnt ask me to specify a password for root or anything when I installed Ubuntu, so any help in this would be greatly appreciated |
|
|
|
|
|
|
#4 |
|
Just Give Me the Beans!
![]() Join Date: Jul 2005
Location: Guildford
Beans: 54
|
Re: synergy / boot up
i found out that to edit you'll want to use the command
sudo gedit <filename> (you dont' have to use gedit, any editor will do) |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 7
Xubuntu 6.06 Dapper
|
Re: synergy / boot up
I wanted to make the synergy server run from my ubuntu (5.10) box. (update: still works in 8.04)
Here is what you need to do: Make a directory in /etc to store the configuration: Code:
sudo mkdir /etc/synergy Code:
sudo gedit /etc/synergy/synergy.conf edit /etc/gdm/Init/Default: Code:
sudo gedit /etc/gdm/Init/Default Code:
SYNERGYS=`gdmwhich synergys`
if [ x$SYNERGYS != x ] ; then
$SYNERGYS --config /etc/synergy/synergy.conf
fi
edited /etc/gdm/Init/Default: Code:
sudo gedit /etc/gdm/PreSession/Default Code:
SYNERGYS=`gdmwhich synergys`
if [ x$SYNERGYS != x ] ; then
$SYNERGYS --config /etc/synergy/synergy.conf
fi
The synergy server should now startup and run whenever your gdm session does. Last edited by Insti; June 18th, 2008 at 08:11 PM.. Reason: these steps still work in 8.04 |
|
|
|
|
|
#6 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2005
Location: Adelaide, South Australia
Beans: 589
Ubuntu 8.10 Intrepid Ibex
|
Re: synergy / boot up
Ummm, im confused....because the server is what you run on your machine to send the keyboard and mouse singals to the remote machine........which leaves me wondering why you would want the server loading up on a machine that already has a keyboard and mouse on it....so im wondering .....your guide is for ....what?
But i'll make a guess and say that your talking about setting up the client to run on the remote machine with the gdm server, so that you can login from the synergy server that serves the keyboard and mouse data streams, rather than lean over....ruin your spine....and type in your details... Am i right so far? sorry to be obtuse, but this needs clarification....for i run the server on my laptop....thus controlling the client running on my desktop......id o this at home and i do it at work.....for provids me with a psuedo twin head setup, that I find provides much better peformance that a twin head on a single computer... |
|
|
|
|
|
#7 | ||
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 7
Xubuntu 6.06 Dapper
|
Re: synergy / boot up
Quote:
Quote:
Your guess confused me, because you seemed to suggest something, and then give a completely different description of what you do. Which seems to be much the same as what I do. Unless the confusion happens because you think that the client computer must be the one with the keyboard and mouse attatched to it? Here is what I do: Computer A - Runs Linux - Has Keyboard and Mouse. Computer B - Runs Windows - Has no keyboard or mouse. Computer A runs synergy server on gdm startup + user login. Computer B runs synergy client automatically on startup, and connects to the already running server on Computer A. Now I can now log into and use my Windows machine using the keyboard and mouse attatched to my Linux machine. (Computer A is used and 'on' a lot more than computer B) Does that help? |
||
|
|
|
|
|
#8 | |
|
Just Give Me the Beans!
![]() |
Re: synergy / boot up
Quote:
Thx
__________________
Registered Linux User 417637 Registered Ubuntu User # 8199
|
|
|
|
|
|
|
#9 | |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 7
Xubuntu 6.06 Dapper
|
Starting the Synergy CLIENT on boot up.
Quote:
Let us know how you get on. NOTE: The <address of server machine> will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string <address of server machine>) 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 Code:
SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC <address of server machine>
fi
edited /etc/gdm/Init/Default: Code:
sudo gedit /etc/gdm/PreSession/Default Code:
SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC <address of server machine>
fi
The synergy client should now startup and run whenever your gdm session does. NOTE: The <address of server machine> will probably be an ip address that looks something like 192.168.0.1 (DON'T put in the exact string <address of server machine>) |
|
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 1
|
Thank you Insti, et al.
This method was by far the simplest and easiest way I have seen, and it was the first among many that worked. I am now happily moving back and forth between GDM and KDE using my Windows machine's peripherials. I am aware that Synergy can only run under an X server, but is anyone aware of a method that would allow me to use the keyboard without the X server? Such an option would be convenient when updating video drivers and reinstalling my linux distro as I so often do(another psychiatric session on it own). -James |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|