{"id":269,"date":"2006-07-19T00:00:00","date_gmt":"2006-07-19T00:00:00","guid":{"rendered":"http:\/\/www.briancbecker.com\/blog\/?p=269"},"modified":"2020-04-12T19:45:38","modified_gmt":"2020-04-12T23:45:38","slug":"july-19th-2006","status":"publish","type":"post","link":"http:\/\/www.briancbecker.com\/blog\/2006\/july-19th-2006\/","title":{"rendered":"July 19th, 2006"},"content":{"rendered":"<div>\n<p> After 4 hours of working on it, I finally got my Ubuntu linux to load Hamachi on bootup, auto log me in, and then connect to my Synergy network. For my own benefit, I am going to document how I accomplished this: <\/p>\n<pre>   briancbecker@bcb-hpdino:~$ sudo nano \/etc\/gdm\/gdm.conf-custom <\/pre>\n<p\/>\n<p> and then add the following under the daemon section: <\/p>\n<pre>   [daemon]   AutomaticLoginEnable=true   AutomaticLogin=briancbecker   TimedLoginEnable=true   TimedLogin=briancbecker   TimedLoginDelay=1 <\/pre>\n<p\/>\n<p> Where briancbecker is the user you want to auto login. As for Hamachi, I&#8217;m assuming you got it installed, setup, connected to the network, etc. To start hamachi on bootup, you will have needed to edit your sudoer&#8217;s file like: <\/p>\n<pre>    briancbecker@bcb-hpdino:~$ export EDITOR=nano &amp;&amp; sudo visudo <\/pre>\n<p\/>\n<p> and add the following line at the end of the file <\/p>\n<pre>   briancbecker ALL=NOPASSWD:\/sbin\/tuncfg <\/pre>\n<p\/>\n<p> (replacing briancbecker with your name again) <\/p>\n<p> Now you can execute tuncfg (part of the Hamachi package) without having to enter your sudo password. I also assume you&#8217;ve gotten synergy set up as well. To make all this stuff start at log in, add these lines: <\/p>\n<pre>   # Start Hamachi and then Synergy   sudo \/sbin\/tuncfg   \/usr\/bin\/hamachi stop   \/usr\/bin\/hamachi start   \/usr\/bin\/hamachi go-online BCBAPT   \/usr\/bin\/synergyc 5.24.207.192 <\/pre>\n<p\/>\n<p> BCBAPT is the Hamachi network you want to join on bootup and the 5.24.207.192 is the Hamachi IP (or static IP if you prefer) of the synergy server. These lines go in: <\/p>\n<pre>   briancbecker@bcb-hpdino:~$ sudo nano \/etc\/gdm\/Init\/Default <\/pre>\n<p\/>\n<p>  before the line: <\/p>\n<pre>   sysmodmap=\/etc\/X11\/Xmodmap <\/pre>\n<p\/>\n<p> and  <\/p>\n<pre>   briancbecker@bcb-hpdino:~$ sudo nano \/etc\/gdm\/PreSession\/Default <\/pre>\n<p\/>\n<p> before the line:  <\/p>\n<pre>   XSETROOT=`gdmwhich xsetroot` <\/pre>\n<p\/>\n<p> And there you have it. Hamachi should start up, GDM should auto log you into your Linux box, and then synergy should connect to your Hamachi server. Works for me under Xubuntu 6.06 running IceWM. <\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>After 4 hours of working on it, I finally got my Ubuntu linux to load Hamachi on bootup, auto log&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[18],"class_list":["post-269","post","type-post","status-publish","format-standard","hentry","category-old","tag-old"],"_links":{"self":[{"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/posts\/269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/comments?post=269"}],"version-history":[{"count":1,"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/posts\/269\/revisions"}],"predecessor-version":[{"id":1353,"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/posts\/269\/revisions\/1353"}],"wp:attachment":[{"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/media?parent=269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/categories?post=269"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.briancbecker.com\/blog\/wp-json\/wp\/v2\/tags?post=269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}