Manage multiple linux-machines through one linux-machine howto ?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418
Original Poster
Rep:
I've come a little bit further...
When I place the (above mentioned) script "xconnect" in the rc.local, it starts correctly, but it never "ends".. Therefor the rc.local waits until the script exits but this never happens. Putting Exit 0 on the last line didn't do the trick either.
I googled around a bit, and found that the script should run as a system-process or daemon..
But googling some more on how to do that, did not result in anything...
Does anyone have a clue on how to do that? (OR in another way accomplish the "perfect world" ?
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418
Original Poster
Rep:
david, thanks!
I figured it out. So just for anyone's info:
Since I run gdm as default display manager, I edited /etc/X11/gdm/gdm.conf
and added on the last line:
1=/etc/X11/xconnect
now i created a little script called xconnect, which first checks if the server I want to connect to is available, and if that is the case, it runs X -query 1.2.3.4
(See earlier in this thread)
When started from gdm, it starts as a process, so it generates no output, except in the case of errors, but then the errors go into the correct log....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.