General :: Connect To Remote X-Server (logged In Via Ssh)

Jul 31, 2010

When I'm logged on to another host (e.g via ssh), how do I connect to the XServer of that machine (same user is logged in and is running a desktop (gnome))?

You may ask way I wish to do that: There are commands that don't open an X-Window, e.g. xinput, xhost, etc.. and there are situations where you want to run them from remote.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Ssh Script Into Remote Server - Get 0byte Files Logged

Nov 3, 2010

I have scripted this code to ssh into my remote server and log back some info.

Quote:
import sys, os, re, optparse, traceback, types, time, getpass
import pexpect, pxssh
import readline, atexit
begin = time.time()
os.system('nc -l 2222 > log%s &' %begin)
time.sleep(50)
child = pexpect.spawn ('ssh david@192.168.0.14')
child.expect ('password:')
[Code]...

View 3 Replies View Related

General :: How To Connect To A Remote Server And Run Some Code On That Particular Server

Jun 30, 2011

I am implementing an automated backup scheme so I created a shell script which first creates SQL dumps for all MySQL databases, then retrieves all websites from the /var/www directory of a remote server. The latter is working as I am using rsync to get the remote files.However, the MySQL dumps being retrieved are the ones from the local server which is not what I want. I want to get the SQL dumps from the remote server as well.I have a tunnel between the local and remote server which I can connect to without using any password (I added the public key to the authorized_hosts), so I tried to add the following code to the script:

ssh user@192.168.x.xxx

I then attempted to retrieve the SQL dumps and exited from the remote server. However this does not work as I still have to enter exit manually in the terminal for the SQL dumps to be retrieved from the remote host. I don't know why this is happening. This is what the script is trying to do:

//connect to remote server
ssh user@192.168.x.xxx
//retrieve SQL dumps

[code]...

Is there a way to connect to the remote host AND run the script's code on THAT remote host?

View 2 Replies View Related

General :: Connect To A Remote Server (graphically) With Open Text Exceed?

Mar 16, 2011

I have a server which I need to connect to and run a graphical program on. I know that you can do this with Open Text Exceed, but it's been years since I've done this and the last time I did it was on version 9. Unfortunately I only have a license for version 14 now and have no idea how to do this. how I can use Exceed to connect to my linux server?

View 1 Replies View Related

Ubuntu :: Remote Desktop When Not Logged In?

Feb 28, 2011

I have searched some posts and did not see the problem i am having. I have built a 10.10 desktop. I need to place it in a building and will not log into it locally unless i absolutely have to. I want to be able to connect to the box and get a desktop if needed. I have been able to do that, but only when i have a user logged into the box. If i log out of the box, my VNC client will not connect. I am able to connect via SSH, but that is it. If i ever need to reboot the box for any reason, i do not want to have to drive across town to log back into the box locally. I have a vnc server installed and Open ssh. how i can connect to that box and get a desktop?

View 4 Replies View Related

Server :: When Executed Last Command Its Showing System Ip Logged In Time And Logged Out Time The Output?

Feb 27, 2011

logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in

View 2 Replies View Related

Server :: How To Connect Qmail / Vpopmail To Remote Mysql Server?

May 14, 2010

I would like to connect to a separate mysql server, yet I can't find any documentation on how to do this.How would one achieve this? I am running qmail on centos4.

View 3 Replies View Related

General :: Connect To SUSE Server From Other One - Error "Remote Host Identification Has Changed"

Jan 15, 2011

When I try to connect to my SUSE server from other one this appears: Remote host identification has changed. I deleted entry in know_hosts but it still working wrong, showing me this message. What could be the cause of this problem??

View 1 Replies View Related

CentOS 5 Server :: Connect To Remote For GUI?

Sep 14, 2011

I have installed CENTOS 5.0 .. IM new to this centos linux..

-->regarding the remote connection
how can i connect the server through remote from windows 7 ..graphical interface ?

how to install lamp or apache , php , mysql

can u guys provide me any link or book for as a beginner for centos ?.

View 3 Replies View Related

Fedora :: Gnome - Can Allow A Remote Desktop / VNC Connection If No User Is Logged In

Oct 18, 2010

Is there a way gnome can allow a remote desktop / VNC connection if no user is logged in? If the server gets rebooted I can't access it (remote desktop / VNC). Someone physically has to go there and log in. Surely there must be a way as gnome is running just waiting for a login.

View 1 Replies View Related

OpenSUSE :: Unable To Connect To Remote VNC Server

May 11, 2010

I am not able to connect to the Remote VNC Server..Error: ConnectToTcpAddr: connect: Connection refused.

View 6 Replies View Related

Networking :: Unable To Connect To Remote Server

Jul 27, 2009

I install one server in my system(linux 5.0) and accessing that server through the 127.0.0.1 private ip address(lo). While i connect to a remote server for validating registry it gives me the error and unable to connect to remote server. here some of the files i give here in below to know my system network configuration

/etc/hosts
------------
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
127.0.0.1 cp.softidsolutions.org

[code]....

View 5 Replies View Related

Server :: Unable To Connect To Remote Host

Jun 4, 2011

I installed dovecot on my server and now the imap and pop3 ports are open.But when I want to telnet it, it's not possible.Code: Trying 127.0.0.1...telnet: Unable to connect to remote host: Connection timed out.Also I can't any ports else. But I can connect to it from other computers. I tried to connect to this from my PC and it was successful.

View 7 Replies View Related

Server :: Remote Admin Connect With Win7 VM

Nov 30, 2010

Locate desktop - Ubuntu 10.10 64bit
IP:123.123.123.123

Win 7 64bit - running on VM of VBox
IP:456.456.456.456

Both on Intranet. What will be an easy way to connect Win7 for admin, such as config including transfer of files between Win7 and Ubuntu 10.10 etc.

View 4 Replies View Related

Applications :: VNC On DSL - Getting Server Working To Remote Connect To Users

Jun 12, 2010

I'm trying to get VNC working on Damn Small Linux. I installed the package, and I can get the viewer to work. However what I want to do is get the server working so that I can remote connect to users. When I do connect instead of the active session all I get is a grey screen with an xterm window. I've done a lot of searching for this, but cannot seem to find a good answer. What I'd like to do is connect to the native X session. I've tried changing things in the xstartup file to things such as "-display :0" but it still doesn't work.

View 13 Replies View Related

Programming :: Connect To Remote Unix Server Using Script?

Aug 4, 2010

1)We need to do a clean up a folder in a remote unix server . What is the best option to connect to remote server? how do we use ssh ? Is there any prerequisite to use ssh?

2) We have to SCP few files to another folder in a remote unix server . I formed the below command to use in script. Is it of correct usage? scp -r $POS_HOME/posctl [login nameip address:/home/username/directory]

I have seen public key/private key generation part for SCP. How do we handle this? Does this need to be done as unix admin?

View 7 Replies View Related

Red Hat / Fedora :: Remote Desktop - Failed To Connect To Server

Feb 26, 2010

I enabled remote desktop on my Fedora core machine.

SELinux is disabled, as is iptables.

I used UltraVNC to connect and it worked.

However, after I came back overnight, I tried to connect and it failed.

I received a "Failed to connect to server"

Found that the machine had rebooted.

How do I get it the Remote Desktop function to start as a service? I am new to Linux.

View 3 Replies View Related

Software :: Connect To Remote Sql Server 2000 From Centos 4.5 With PHP?

Feb 8, 2010

I have problem with connection to mssql 2000 from centos. i have installed php, freetds, unixOBDC on server Centos. My mssql server on another computer (windows xp). Now, when i tried to connect mssql with php : >> mssql_connect("192.168.179.100","sa","sa")

Centos return to me "Unable to connect to server: 192.168.179.100 in /var/www/html/work/test.php on line 15 "

note: mssql is running on windows, and user and password is same "sa".

View 12 Replies View Related

General :: Ubuntu 10.04 - Access VNC On A Server Without Having Been Logged In To The Machine First?

Sep 4, 2010

Possible Duplicate: Automatically start VNC server on startup I have a Linux server at home, and by default no-one is logged in to that box. I'd like to establish a remote desktop connection to it with VNC but this fails, unless I log in first physically. It's strange to me that VNC Viewer doesn't even ask for credentials, it just displays a "connection refused" error message. What's the best way to do this? I'm running Ubuntu 10.04 on the server.

View 3 Replies View Related

Software :: Configure Postfix To Connect To Remote Smtp Server

Oct 23, 2010

Try as I might I cant get postfix to send emails through an external email server (I can succesfully get client software to do it no trouble) After following the howto at:

[code]....

I get 5.0.0 errors re:

Code:

May 6 16:06:32 SERVER1 postfix/error[20357]: 2392F21438: to=<SOME_ADDRESS@hotmail.com>, relay=none, delay=0.17, delays=0.1/0.01/0/0.06, dsn=5.0.0, status=bounced (smtp.live.com)

Here's my main.cf

Code:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no

[code]...

I get basically the same error no matter what smtpserver/username/password combination I use leading me to believe its my setup and not my username/password

View 1 Replies View Related

Software :: Configure Postfix To Connect To Remote Smtp Server?

May 5, 2010

Try as I might I cant get postfix to send emails through an external email server (I can succesfully get client software to do it no trouble) After following the howto at: [URL] I get 5.0.0 errors re:

Code:
May 6 16:06:32 SERVER1 postfix/error[20357]: 2392F21438: to=<SOME_ADDRESS@hotmail.com>, relay=none, delay=0.17, delays=0.1/0.01/0/0.06, dsn=5.0.0, status=bounced (smtp.live.com)
Here's my main.cf
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases

[Code]....

View 5 Replies View Related

Ubuntu Servers :: Can't Connect To Server (file Or Remote Terminal) From Laptop

Jan 23, 2011

I have an ubuntu fileserver and an ubuntu laptop both running 10.10.For some reason I can't connect to the server (file or remote terminal) from the laptop, even though I can access ssh through terminal on my mac and have been able to mount the filesystem on another computer running the ubuntu liveCD. I just get the error 'no route to host'.I've tried turning off the firewall on the laptop and re-installing ssh on both computers, but I don't have a clue what to do next!

View 9 Replies View Related

Server :: Unable To Connect To Remote PostgreSQL Database With Java.derby

Aug 26, 2010

Trying to get OpenbavoPOS to connect to my remote Postgresql database, but so far i've only been able to connect to the local postgres installation. I _am_ able to access the remote databases with psql. I've read literally dozens of pages, and am pulling my hair out. I'm trying jdbc:derby.//192.168.15.10:5432/bravo I get back java.sql.SQLException no suitable driver found for jdbc:derby.//192.168.15.10:5432/bravo If I use jdbc:derby./root/bravo - all is OK, using a local database created in /root I have jdk installed on the client; does it need to be on the server also?

Server = CentOS 5.4 PostgreSQL version 8.1.21
Client = CentOS 4.8 PostgreSQL version 8.1.4

[code]....

View 1 Replies View Related

Ubuntu Servers :: Remote Desktop Connection - Cannot Seem To Connect To Any Windows Server Via IP Address

May 5, 2011

I have a problem with my Terminal Server Client, I cannot seem to connect to any windows server via IP address. Can anyone please recommend any tool I could use to connect? I need to work on the server for admin interfaces example Admin Kits for workspace protection

View 9 Replies View Related

Debian Configuration :: Configure Vino Remote Desktop To Start At Boot - Only View Remotely Once Have Logged-in Locally

Aug 9, 2010

Kernel: Linux 2.6.26-2-686 (i686)
Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010
C Library: GNU C Library version 2.7 (stable)
Distribution: Debian GNU/Linux 5.0.8
Desktop Environment: GNOME 2.20

Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely. I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally.

View 9 Replies View Related

General :: Connect Via SSH To Remote /dev/pts/X?

Jan 22, 2011

Target server is under Kubuntu 10.04. Is there any method to connect using SSH session directly to an existing /dev/pts/X device? I need it, because an instance on User-Mode Linux virtual machine allocates it's TTYs as a set of /dev/pts/X devices in the host file system. As I understand, for futher interactions with the VM I need to connect to that devices.

View 2 Replies View Related

Ubuntu Networking :: SSH Can Only Connect If Logged In Through Terminal First

Mar 8, 2010

I am having a small issue with my SSH usage. I have a main PC OS 9.10 that has a wired connection to the wireless router. My EEEPC 904HD is a wireless connection to the same router.

I use my main PC as my music store and of a night I sometimes listen to this via my EEEPC using the 'connect to server' icon. This has been the norm for some time.

Now of late my connection is being refused. Initially I thought it was to do with the SSH file of trusted connections as from time to time I have had to delete this file as rebooting of the router may have altered the IP of my machine. This usually solves the problem.

But I now have to use terminal to

Code:
ssh 192.168.?.?

I then have to confirm the connection and use the password to confirm fully. After that I can then use the GUI to get into my main PC, by inputting the IP, port, folder, user name and password, as usual.

Am I missing something? Nothing has been changed by me to have caused this so far as I know. I also have 2 folders set to share via samba over the network which works perfectly these folders are accessible by others on my home network. I use SSH for myself to fully access my folders on my PC from the EEEPC.

View 8 Replies View Related

General :: Need To Connect With Remote Desktop

Dec 11, 2009

Ubuntu installed on my home system,and i'm working MSwindows OS to this computer from my office I need to connect with remote desktop.

View 3 Replies View Related

General :: Can't Connect To Remote Database

Nov 16, 2010

I'm trying to connect to a remote database but can't connect directly (I think due to security reasons). Here's the setup:

Computer A - my computer
Computer B - server, I can SSH to this from computer A
Computer C - server that runs database, I can SSH to this from B but can't from A

Any ideas how I can can connect to C directly from A? I think I need to setup a tunnel or something like that but I can't figure it out.

View 3 Replies View Related

Software :: Put Ssh Into Remote Machine - Error Write Failed: Broken Pipe (After Logged Into That Machine)

Jul 18, 2011

Whenever I put ssh into remote machine am getting the following messages. Write Failed: Broken Pipe (After logged into that machine ) Read Socket Failed: Connection reset by peer (While trying to log in ) Also known_hosts file is changed frequently.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved