Ubuntu :: Script Through Multiple SSH Clients?
Sep 22, 2010
How do I start a script on an ssh server which then starts another script on another ssh server?
Long Explaination I would love to be able to connect to a server with ssh and start a script there which sends a magic packet to my client and waits till it answers the ping. This script is already working, without any problems. After the client started I would love to be able to ssh into the freshly booted client and start another script that starts a Virtual Machine and waits for the ping to answer. The script is working, but how do I start the second script directly from the first one? Best thing would be if I wouldn't have to put in the ssh password again (as it is the same user and the same password).
View 2 Replies
ADVERTISEMENT
Aug 18, 2010
Over the past week or so, I've posted a few message about what looked like general stability problems in lucid, then problems specifically with Thunderbird.
Today I found it isn't just Thunderbird. I tried Claws Mail and Kmail, and all of them exhibit the same symptoms as Thunderbird:
- The app randomly hangs, crashes or stops connecting to the mail server.
- Quitting the app randomly takes down other applications. (Uh-oh -- modern OSs are supposed to prevent one application from corrupting another.)
- Once the problems start, any application is likely to have stability problems -- e.g., this morning, when Kmail started buggering up, I launched the software center to uninstall it and the window never appeared. A box showed up in the window panel at the bottom of the screen at first, but when it was time to draw the window, kaboom.
(I'm currently not using Evolution because of issues with syncing message deletion back to the server. Plus, at least once, Evolution lost its connection to the mail server. I don't remember serious instability with it, but I wasn't looking for the instability either. It might well be just as bad as the others.)
So, we have an issue triggered by multiple applications, and the issue is not limited to one unstable process on the machine (one unstable process makes other processes unstable). That smells like a kernel bug.
I'm wondering if anyone else has seen anything like this? I'm using the amd64 version on a MSI A6200, Intel Core i3 processor. I'll have to doublecheck the kernel version. When I installed the OS, it was (something-something).21 and now (after the first round of automatic system updates) it's .24 - "something-something" is whatever the standard kernel is when you download the amd64 CDROM image.
As long as I'm not running a mail client (apparently, any mail client), the system is stable. So it looks very much like there is something that mail clients do, which other applications tend not to do, which is broken.
View 9 Replies
View Related
Mar 9, 2010
I'm using openvpn-2.0.9 with gui-1.0.3 which is set up on windows xp machines(for server and clients) when i set up the server and one client it connects well and i can work without a problem. but when the second client connects it gets the same ip address of the client1, so that both clients can't work at once.
my server and client config files are as follows.
server-configuration file
client1-configuration file
client2-configuration file
I've tried by changing many settings such as server-bridge and all but couldn't find a solution for the problem.
By the way when connected server gets 10.8.0.1/30 and every clients get same ip as 10.8.0.6/30
View 2 Replies
View Related
Aug 3, 2010
Suppose I have a server, foo, that runs on port 5555. I can make one connection to it at a time on that port. I want xinetd to fork new instances of foo so multiple clients can connect to it.
Here's a configuration entry:
1) How does xinetd fork a new instance of foo when a previous instance is already listening on port 5555? Wouldn't the new process fail to launch because port 5555 is already in use by the previous process?
2) Suppose five clients connect simultaneously, and xinetd forks five instances of foo. When the clients disconnect, does xinetd leave all five instances running?
View 2 Replies
View Related
Sep 24, 2009
I don't have any problem when I'm communicating with one client. The problem starts when I connect another client.The server eventually ignores the older clients and responds only to the latest one.The working mechanism is simple: Accept connections and print messages received from multiple clients.
View 4 Replies
View Related
Dec 27, 2010
what is the best way here? I have like 5 servers, and I want my clients to access each of them, so in case 1 server is down, they can access remaining servers. Also, it will work like user1 chooses the server number and is connecting to a central database, then reply is OK, and he can connect to the server number he wished.
View 1 Replies
View Related
Aug 4, 2010
We are working on a project to create a display wall of 8 monitors arranged as 2 high by 4 wide. Each monitor is connected to a single machine and all machines are networked with a master machine with its own, seperate monitor.
Our goal is to get the 8 machines to share a single desktop, with the master machine acting as the server. We have looked at using Xinerama or NMM, but we are unsure about how to get started configuring the multi-machine, multi-head display.
View 2 Replies
View Related
Sep 24, 2010
My ubuntu 10.04 has two monitors connected both being treated as individual desktops.But only one desktop is showing the wifi network icon in the notification area.Is it possible to have more than one wifi icon going at one time?
View 1 Replies
View Related
Jan 12, 2011
I'm using Ubuntu 10. I want to apply different themes for desktops.. I want to apply windows 7 theme,ubuntu, mac os themes for my multiple desktops
View 1 Replies
View Related
Jun 14, 2011
have a large amount of 7z files in multiple folders which I need to extract.The directory structure is like this:
/main-folder/
multiple subfolders/
1 or more 7z files per subfolder
I would like to get the output of this action in one separate folder, all together in 1 folder.How can I do this?
View 7 Replies
View Related
Aug 20, 2011
I often use the rpl command to make changes to multiple html files at once. For example:
rpl -R '<br />' '<br /><br />' mydirectory However, I haven't been able to figure out how to change multiple lines. For example, let's say I want to change all occurrences of :
<br />
<br />
to:
<br />
I've tried
rpl -R '<br />
<br />' '<br />' mydirectory
but that didn't work. how to do this with rpl or some other way?
View 9 Replies
View Related
Oct 26, 2010
I'm trying to connect one computer to two others in an ad-hoc infrastructure.
[computer 1] ---- [computer 2] ---- [computer 3]
computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.
[Code]...
View 1 Replies
View Related
Aug 23, 2010
I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.
I tried the coding posted above.
find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....
but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"
View 9 Replies
View Related
Jul 12, 2010
So essentially, I have 3 monitors and i'm attempting to run 2 different window managers/sessions at once split up on the monitors. It is intended to be like this:
Code:
[GNOME/Compiz - Screen0]
- Left Monitor[code]......
View 2 Replies
View Related
Jun 4, 2010
I'm starting to have A LOT of opened windows in my machine. Sometimes within a project, I have e-mail/task management/personal e-mail/twitter, and a lot of different opened applications/terminals in my Linux workstation.Sometimes it would be interesting to have different workspaces to projects instead of this configuration I have nowadays that are classes of work (bad name, I know, but I think you got the idea).I'm starting to think about using two monitors: one with Corporate Management, Work and Personal. The second monitor is only the development state: each workspace here is about a project being worked on instead of groups of works like before. A workspace may be implementing different classes for example.
My question is: I just want to change to a second monitor using the mouse. I want to still be able to change workspaces in the same monitor using keyboard shortcuts. The keyboard shortcuts wouldn't change monitors, just worskpaces on the same monitor. All the tutorials I read (like this one) only tells how to use multiple monitors but doesn't answer my question about keyboard shortcuts.Does Linux (Ubuntu 10.04 Lucid Lynx or Debian 5.0.5 Lenny) support this envisioned setup (Different workspaces in a way that keyboard workspace switching only works in the current monitor) ? If so, how?I haven't tested this setup, that's why I'm asking. In this question the user says it works exactly how I want it to behave, can someone else confirm it?
View 3 Replies
View Related
May 20, 2010
I have an old pentium 3 computer that has ~7 NICs installed. These NICs are attached to modems and other networking equipment. According to the linux ping page on computerhope.com, it seems that one could send a ping from a certain specified NIC. How would one go about this?
View 6 Replies
View Related
Feb 7, 2011
I'm looking at setting up a couple automated systems: Here are a few examples:
* Internal accounting system to download and process emails
* Public web server to visit
I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?
To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.
View 2 Replies
View Related
Dec 16, 2010
How to search multiple words in multiple lines, inside a directory including sub-directory? Pls. give easy example. I want to search the files (in /xx folder and all subfolders) that have header.h included and used x() function. I tried $grep -r "header.h" | grep -r "x(" /Folder/subfolder/ > search.log
View 7 Replies
View Related
Jun 16, 2009
I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:
[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2
but end up with the error:
RTNETLINK answers: Network is unreachable
[root@testsan sysconfig]# cat network
NETWORKING=yes
NETWORKING_IPV6=no[code].....
View 5 Replies
View Related
May 2, 2010
When I input xhost
pt@pt-laptop:~$ xhost
access control enabled, only authorized clients can connect
SI:localusert
SI:localuser:gdm
SI:localuser:root
wWo is gdm? Is he a hacker?
View 2 Replies
View Related
May 6, 2010
I administrat a school in Denmark, with around 40 clients runnig xp pro and a windows 2003 server, but i read about the possibility of running a linux server, with thin clintes that can run from the server, if it has network pxe boot.
I was wondering if anybody now any links to a good how to page, on what is needed on the setup side of the server, and clients. To make it work. And i have to use my dhcp from the win 2003 server. Is that possible.
View 5 Replies
View Related
Jul 6, 2010
I've been tasked with updating some Ubuntu based workstations. Some are running 8.04 and some are running 9.10. Due to poor internet speed and busy internal network traffic I can't use the update manager.
I have mounted the 10.04 iso locally on the workstations in question. What is the procedure for updating the pc using the terminal? do I use apt-get or is there a program on the iso file system that I run.
View 4 Replies
View Related
Jul 15, 2010
I've been using synergy for a while and love it. I recently upgraded both of my desktop PCs at home from 9.10 to 10.04 (both x64 ubuntu studio). Now, Synergy doesn't appear to want to work. I've tested with both the cli command referencing a config file on the server and using quicksynergy on both machines and it just doesn't connect. I verified on my "server" that synergy is listening on port 24800 (can telnet to that port from the client machine). I manually disabled the firewall on both machines as well and it doesn't seem to make a difference. It never gives an error on the client, it just never makes the connection. I've tested this with 2 separate 10.04 clients. I also brought one of these boxes (a laptop) to work where I use Synergy between 2 windows boxes. It won't connect to those either.
I've tried connecting both using hostname and IP address (both worked in the past on 9.10) and neither work.
View 4 Replies
View Related
Jul 28, 2010
Im having a problem with our pxe environment. We have around 200 clients per server to boot from tftp and when we hit 250 the service just freezes. So, our options are to either add more servers or move to a more robust protocol. Is this feasible?? How can clients boot from ftp?
View 3 Replies
View Related
Jan 7, 2011
I'm usually an Arch user who has been stuck with Ubuntu 64bit on a USB stick due to my hard drives failing, anyway, this is more of a general linux question but are there any WLM clients that support MSNP18? I mainly want Windows Live Group support and to be honest, it's the one thing keeping Windows on my machine.
View 1 Replies
View Related
Jan 28, 2011
I install clonezilla onto ubuntu but I cant get the clients to boot and the steps i find in the tutorials don't really help or apply.
View 5 Replies
View Related
Jun 22, 2010
I have Ubuntu 10.4 (lucid) and I want to be able to access computers on my home network (all of which are either on XP and Windows 7) If I go into: Places --> Network All I see is one folder named "Windows Networks" and if I go into that folder I see that there is nothing there! I know you can see windows computers in the "Network" folder because my friend can (Also with Ubuntu lucid) but he said he didnt have to do any configuring to enable this feature?
View 2 Replies
View Related
Feb 18, 2010
In the last week or so, I've frequently been running out of X server client connection slots and getting "Maximum number of clients reached" errors. For example, I'm getting it right now and I'm running 3 pterms, Chrome, and Thunderbird; I've even killed my panel. 'xwininfo -root -children' produces what seems to be an absurd number of X clients (150-ish, when it's able to make a connection), even immediately after Gnome/Xfce startup.
It doesn't take long. A day at most. I've had this system up and running for months, and this just started happening. I did install some X development libraries (x11proto-core-dev, libmotif-dev, x11proto-print-dev, and x11proto-xext-dev plus their dependencies) about two weeks ago, but this problem has not been happening that long. I've installed other packages, but nothing that would seem to have any relation to this problem. I've logged out and in, rebooted, and changed from Gnome to Xfce, and none of the changes helped.
View 9 Replies
View Related
Mar 13, 2010
I can't download files from my server that I have. code...
it have worked before when the server used port 21 but now when they changed it to 4700 it doesn't work. I have emailed them and they get it to work with FLASHFXP but that is a freeware and it is for windows.
in filezilla I get "Error: Failed to retrieve directory listing"
View 4 Replies
View Related
Apr 18, 2010
I use a t-mobile usb mobile broadband stick; model usb stick 120.
the signal strength is 3g yet i randomly get disconnected from the likes of
pidgin
amsn messenger
ebuddy
can anyone tell me why, or how to fix it
View 4 Replies
View Related