Programming :: SSH Remote To Local Chat?
Nov 14, 2010
I have the need to SSH into a Slackware 12 box to provide remote support. I got this, but it doesn't provide for a real 2-way communication.
while : ;
do read -p "Enter text to Local: " TXT ;
DISPLAY=:0 Kdialog --inputbox "$TXT" ;
done
So this loops and all, but it doesn't have a history and I have to wait for a return from the Local operator. If the operator has changed focus I can be waiting all day for a response and I would have to start another session to post a second comment.
What is nice is that it's small and I can create the .sh when I remote in.
-----Update since I started
I now have two scripts to take over from the first one. I have to have 4 SSH running to get this to work.
1 SSH to move(archive) and create a chat.txt; it also fires off a .sh that fires off a console that tails a chat.txt so the operator can see the chat history
2nd SSH to fire off a .sh that loops a Local kdialog input box that appends the chat.txt 3rd SSH to tail -f the chat.txt file on the remote so I can see the chat history 4th SSH to loop a read -p on the SSH so I can append the chat.txt
View 5 Replies
ADVERTISEMENT
Jan 12, 2010
I have a local git repository that pushes to a remote repository. That remote repository moved to a new server. How do I make "git push" and "git pull" push/pull to/from the new repo?
View 3 Replies
View Related
Sep 1, 2011
Im wondering if its possible to set up a local network chat client on my work computers, they run redhat enterprise and they have pidgin installed on them. Is there a way to setup pidgin to be able to chat with other clients on a local network but not over the internet because the computers are not hooked up to an internet connection. I expect there is a way to do this but couldnt figure it out.alternatively if there is a command line utility that can do this i would be interested to know more,
View 3 Replies
View Related
Apr 8, 2010
I want to design an audio chat programming in Ubuntu.So how shall I proceed? Any help on this please?I am complete novice in this topic. Currently my aim is to capture audio from microphone.
View 1 Replies
View Related
Aug 17, 2010
Am new to this community and this is my first post. am doing a project where i have to develop a wireless ad hoc routing protocol. I have just begun working on the project. I did not know where to start, so started off with a simple chat program using TCP and thought of making the modifications to it later on. But I do have a prob even i running that!
Am not getting the messages in a synchronized manner. The prog is running fine, but the messages that i type from the server are not reaching the client at all, and at times some garbage values are getting printed(When the strcmp()fn returns 1, "connection terminated" gets printed timely in both the sides. this is the oly situation where i do not get garbage values.) am using VC++ 6.0 here.I have been breaking my head for the past 3-4 days for this simple issue. any response to this would be of great help.
View 14 Replies
View Related
Feb 15, 2010
empathy:voice chat and video chat option not highlighting. i am unable to use that facility to talk to my brother who lives abroad..
View 3 Replies
View Related
Nov 17, 2010
Ladies and Gents, I am new on this forum. I have installed Ubuntu on my box and have been using it for over 2 weeks now. I have been trying to setup G-mail chat or Facebook chat and it just keeps on saying "connecting - Disconnecting" without anything happening.
View 1 Replies
View Related
Feb 19, 2010
Running Ubuntu 9.10. In the Remote Desktop config dialog I get: "Your desktop is only reachable over the local network. Others can access your computer using the address 127.0.0.1 or tabatha.local." I understand this means only the loopback ip address is available. All my other machines show their true local ip address (e.g., 192.168.1.104) in this dialog. Thus I cannot log on to this desktop from other machines.
When I try to do a remote logon from another Ubuntu 9.10 box (or from an XP box using a VNC viewer), I get: "Connection to 192.168.1.102 has been closed." What steps are needed to make this machine show its actual ip address? All file sharing between the various machines is working properly and all windows shares back and forth between XP and 'nix, and among the the vaious XP boxes and linux boxes are available as designed.
View 1 Replies
View Related
Mar 17, 2011
I want to built a Chat Program (based on Socket connection) between client and server. I use the GTK+ &GLADE graphic tool. Can you send me the code for this program or any material to learn. Also, I want to know how to show the input to text view (in GTK+&Glade).
View 3 Replies
View Related
May 31, 2011
I am having difficulty sending files from a remote machine to local one using
Code:
scp
. It is working the other way however. local > remote. I am using the verbose options
[code]....
View 3 Replies
View Related
Sep 22, 2010
I'm trying to rsync a folder(and all subfolders) down to a local directory, upon completion I'd like the remote folder to be deleted.
What I've come up with is
Code:
rsync -rvtW --remove-sent-files -e ssh user@example.com:/remote/folder /local/folder
What this is doing is simply wiping the remote files within folders(not the folders themselves) and not actually syncing anything down to my local folder(as in no files at all on my /local/folder)
View 1 Replies
View Related
Mar 18, 2016
I am trying to stream audio from one machine to several others via pulseaudio.
Following a bit of digging, I configured the "sender" with:
load-module module-null-sink sink_name=rtp
load-module module-rtp-send source=rtp.monitor rate=48000 channels=2 format=s16be
..and the "listeners" with: load-module module-rtp-recv
Then, playing on the sender, and using PulseAudio Volume Control /Playback to set "Null Output", my listeners all start working as expected. The outstanding problem is that the sender is silent - nothing from its speakers. Perhaps not surprising after the "Null" setting above.
Is it possible to stream like this and also listen on the sender at the same time -
View 6 Replies
View Related
Sep 27, 2010
I'm using Windows XP. I'm connecting to a UNIX box using putty SHH(ksh). Now I want to copy a text file present in remote host to my local system.
View 5 Replies
View Related
Jul 13, 2010
I have Ubuntu 10.04 (fresh install) and it is my work computer/Server and i'd like access to this PC from my home. But with Remote Desktop it only says i can do local.
I've look around and opened up port 5900 in my router. Set this IP to to static and forwarded the port to this computer.
I've read that unchecking the "configure network automatically to accept connections" as it seems to cause an issue in ports i've read. Still nothing.
Here is a screen cap of my settings
Uploaded with ImageShack.us
How can i allow access from my Windows Based PC to this computer over the internet?
View 1 Replies
View Related
May 12, 2011
I'm looking to convert my HTPC into a remote android dev server for my girlfriend and myself, however I want to make sure that it is possible to do what I am looking to do.Is it possible to map local devices to the VNC server (such as an android phone) so that we can work on development over VNC with phones we have on our client computers? I know its a trivial matter to map local drives over VNC, but what about non-HD devices, can I still maintain full functionality as if the device itself was plugged directly into the server?'ll be installing ubuntu again this weekend, never got around to it after my last HD failure.
View 1 Replies
View Related
Mar 29, 2011
I'm doing some commands on a remote server (using ssh to log on to the remote server, did a ssh key swap), how do i redirect the output of a command back to the local server ?the person who helps me out is my HERO i'm really stuck on this and it would bring me a lot further if i get this to work
View 14 Replies
View Related
Oct 15, 2010
As many developers probably do, I have a Windows based machine on which I run XAMPP locally to test my code and a Linux machine with Fedora as my remote server.As I sometimes use .htaccess as a way to authenticate some parts of the website, I end up having two .htaccess files: one with the local path (something line D:My_Webs) and one with my remote path (something like /var/www/html/) to the password file.I have searched high and low, but I cannot seem to find any trick so that I only have to maintain one version of the .htaccess file which can work on both Linux and on Windows machines.
View 6 Replies
View Related
Sep 1, 2011
my local box is centos 5.5 running gnome.
I have a eucalyptus instance (vm) running an older version of centos (5.3?). As a vm it has no graphical display. I'd like to run a graphical app there so that it displays back on my local machine.
Used xhost locally and it shows the remote IP (eucalyptus instance) as enabled. On the remote side (eucalyptus instance) I set DISPLAY with:
export DISPLAY xx.xx.xx.xx:0.0
where xx.xx.xx.xx is my local ip address. Oh, I did install X in the vm instance (yum groupinstall "X Window System"). X is installed but not running there (does the point of origin of the x app need to have X running as well - and what does this mean in a vm which is a non-graphicla environment?).
Anyway, I try to run (from remote to local) xclock and get the typical
Error: Can't open display.
View 3 Replies
View Related
Dec 5, 2013
What is the complete process of integrating live chat software.
View 2 Replies
View Related
Feb 15, 2010
I need to be able to store users logged at chat server. The chat program stores the login information in a text file (no db). I need a modification so the user info is read from the flat file and stores into a table in Joomla db. I don't have access to source for making the Java Chat Server store the data directly to joomla db is not possible.Any pointer will be appreciated.Below if the code that read s the information from Java Chat Server.
Code:
function chat_getChattersFromLocalServer()
{
[code]...
View 3 Replies
View Related
Jul 14, 2010
I have two linux box that i would like to keep in sync. I see option -avz syncs the remote with local but new local files are not pushed.
View 2 Replies
View Related
Aug 12, 2010
How do you transfer a file from a local Mac to a remote Linux machine
View 5 Replies
View Related
Jun 28, 2011
I have a Ubuntu server hosted on Amazon EC2. I need to create an automated backup scheme so I created another Ubuntu instance on my local network which is hosted in a virtual environment. I managed to transfer the necessary files between 2 machines on the same network using the rsync command:
rsync -azvv -e ssh /home/path/folder1/ remoteuser@remotehost.remotedomain:/home/path/folder2
How can I do the same thing but transferring files from my Amazon server to my local server? Is there a way I can achieve this with port forwarding, or by VPN, or anything else? It doesn't have to be rsync. If you know about a better method, kindly let me know.
View 2 Replies
View Related
Aug 27, 2010
I have a remote drive mounted on my system(ubuntu 10.04 x64), and i have the contents of that drive backed up to dropbox. the problem is, if i unmount the drive, the files disappear from dropbox. is there a way to mirror the contents of the network drive to a localfolder(preferably in such a way that all changes and file deletions are changed on the local folder instantly, but unmounting doesn't delete it all)? It looks like rsync would work, but im not sure how to make it work.
View 2 Replies
View Related
Jul 1, 2011
I want to have a script that pull db from remote server to my local. Beside that the filename should contain current date the time the db was dumped.
Ex: getdb databaseName
Then the filename should be like this:
So basically I have an archive of DB. Similar to this I need also a script that pull directory from remote to my local.
Ex: getdir htdocs
Then the filename should be like this:
View 1 Replies
View Related
Apr 15, 2011
I know I can ssh login without password from a local to a remote. My question is how I can ssh without password from the remote to another remote. Say, I have three machines: A, B, C where A is the local machine. I use the same private/public key pair for all the login. What I can do are:
1. ssh from A to B.
2. ssh from A to C.
3. If I am sitting in the computer B (or B is local), then I can ssh from B to C.
What I am not able to do is:
After I ssh from A to B, I cannot ssh from the B to C. When I try to ssh from B to C, it asks me a passphrase.
View 1 Replies
View Related
Jan 28, 2010
Is is possible to move a process from one shell to another (local to remote)
e.g.
if
my_code.sh &
#jobs
[1]- Running my_code.sh &
was started on one remote shell is it possible to move it to the foreground on another shell as root or another user?
View 5 Replies
View Related
Jan 26, 2011
I have a problem while copying files from a remote computer to my local one using the scp command. I am sure that I am using it correctly, please check it below:
---
blah@blah.com:~/g4work> scp blah2@blah2.com:IndirectMethod_Spher...s/H_1.mac.root .
---
What I get in return (instead of the statement saying 100% of file copied) is:
---
On this machine the G4SYSTEM=Linux-g++
---
The interesting point is that the above returned statement is one of the Environment variables set on both the machines that are necessary to work with a toolkit called Geant4. Here is what I get when I type 'printenv | grep G4' just to show you (note the statement in bold):
---
G4LEVELGAMMADATA=/home/blah/geant4/geant4.9.3.p02/data/PhotonEvaporation2.0
G4INSTALL=/home/blah/geant4/geant4.9.3.p02
G4LEDATA=/home/blah/geant4/geant4.9.3.p02/data/G4EMLOW6.9
G4NEUTRONHPDATA=/home/blah/geant4/geant4.9.3.p02/data/G4NDL3.13
G4VIS_BUILD_OPENGLX_DRIVER=1
G4RADIOACTIVEDATA=/home/blah/geant4/geant4.9.3.p02/data/RadioactiveDecay3.2
G4ABLADATA=/home/blah/geant4/geant4.9.3.p02/data/G4ABLA3.0
G4LIB=/home/blah/geant4/geant4.9.3.p02/lib
G4VIS_BUILD_RAYTRACERX_DRIVER=1
G4LIB_BUILD_SHARED=1
G4VIS_USE_OPENGLX=1
G4UI_USE_TCSH=1
G4VIS_USE_RAYTRACERX=1
G4REALSURFACEDATA=/home/blah/geant4/geant4.9.3.p02/data/RealSurface1.0
G4SYSTEM=Linux-g++
G4WORKDIR=/home/blah/g4work
---
The other thing that I would like to mention is that these Geant4 Env. Variables are loaded each time a new (bash) shell is started as a result of the bash login script.
View 6 Replies
View Related
Mar 16, 2010
I'm using a fingerprint reader on my laptop, works pretty well:
Code:
$sudo echo hi
Please swipe your finger:
[swipe finger here of course]
[Code]....
Like I said, it works nicely... until I try to SSH in and sudo something remotely, when it will ask me kindly to swipe my finger over the reader that's attached to the laptop which is on my desk at home thirty kilometres away. Naturally there's no method built into pam_fprint to abort via a keypress.
So, is there any way to tell PAM to only use certain modules if I'm in a locally logged in session?
View 2 Replies
View Related
Dec 31, 2010
I have a slack 64 13.1 box, that I want to be able to control the monitor of from my laptop. Here's the scenario: I can already control the music remotely via X forwarding banshee to my laptop (banshee shows up on the laptop and music comes out on the desktop). Now I want to be able to open a movie on the desktop's display via the laptop.
Now googling this comes up with solutions for X forwarding, but I don't want it to forward X I want it to display on the desktop.
View 3 Replies
View Related