Visit Our UNIX and Linux User Community


How do I connect to a remote X11 server ?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How do I connect to a remote X11 server ?
# 1  
Old 11-14-2010
MySQL How do I connect to a remote X11 server ?

Hi, how do I connect to a remote x server?
i tried this:
Code:
startx -display 192.168.0.1:0 
# when I do this, it just connects to my own x server i.e I see my own desktop.

and
Code:
export DISPLAY=192.168.0.1:0.0 
# when I do this nothing happens. (it doesn't even try to connect, no activity in tcpdump)

Thanks!

\Regards

Last edited by vbe; 11-15-2010 at 09:38 AM.. Reason: code tags...
# 2  
Old 11-15-2010
If you tried to explain what you are trying to do maybe we could help...
1) what is your local machine ( a server/desktop etc. ?) and what OS
2) what is the remote box ?
3) what is the goal? ( connect to remote, and use a graphical application?)
# 3  
Old 11-16-2010
vbe: Thanks for the reply.

1) My local machine is a desktop, Ubuntu 10.04.
2) The remote machine is a Linux 2.6 kernel
3) The goal is to connect to the remote X server, and use it like a vnc (from what I understand that should be possible, correct me if i'm wrong)

Thanks!

\Best Regards
# 4  
Old 11-16-2010
Code:
ssh -X yourid@remote_ip

This User Gave Thanks to daynews For This Post:
# 5  
Old 11-16-2010
The address 192.168.0.1:0 is that of local box or remote?
When you say "use it like a VNC" what do you mean?
# 6  
Old 11-17-2010
I wonder if its not Xvfb you are after...
This User Gave Thanks to vbe For This Post:
# 7  
Old 11-18-2010
Quote:
Originally Posted by daynews
Code:
ssh -X yourid@remote_ip

daynews: Thanks but that didn't do it..


Quote:
Originally Posted by vbe
The address 192.168.0.1:0 is that of local box or remote?
When you say "use it like a VNC" what do you mean?
vbe: No that's not my local box, it was just an example ip address, it's not even in my lan ..
And when I say "use it like a VNC" i mean controlling the machine. I've already given up though. Thanks anyways

\Best Regards
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #272
Difficulty: Easy
Alan Turing, while working at Bletchley, occasionally ran the 40 miles to London when he was needed for meetings there.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script connect to remote server, not find files and exit only from remote server, but not from scrip

I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies

2. Shell Programming and Scripting

Sudo connect to a remote server and execute scripts in remote server

Hello Every one!! I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server. Before this I am using a sudo command to change the user. The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies

3. AIX

Command to connect to remote AIX server

Hi All, Im looking for a command that can remotely connect to another AIX machine and execute scripts present in that server(Possible scenarios are a complete a restart of 3 servers in a cluster through a single script execution present in one of the servers). Im relatively new to AIX and... (5 Replies)
Discussion started by: Vishakh
5 Replies

4. Red Hat

unable to connect remote server using ssh

hi all i am unable to connect remote server using ssh but i am able to ping the server ssh service is running. (5 Replies)
Discussion started by: nikhil kasar
5 Replies

5. Shell Programming and Scripting

Script to connect to a remote server and execute scripts

Hello All I need a script or set of commands which can establish a remote connection with another server and execute some scripts over there. Basically it has to establish the connection with the remote server as an user ,say 'testuser' and then execute the script 'testscript'. and return the... (5 Replies)
Discussion started by: sgbhat
5 Replies

6. Shell Programming and Scripting

connect to remote server by applying password

Hi , I am new to shell script. I have to write a shell script which will login to remote server then check for the space there. There 50 remote ervers all are having different password. Could you please suggest me some way. I am working on solaris box. Thanks in advance (2 Replies)
Discussion started by: vikash_k
2 Replies

7. Shell Programming and Scripting

Connect to a Remote Sybase Server Through Script

Hi all, I am trying to connect to Remote Sybase database Server through shell script. I am operating on WindowsXP, connect to Unix(version SunOS: 5.8) The thing is i dont know how to connect to Sybase Server through my script file? Are there any manual pages which can guide me through the... (3 Replies)
Discussion started by: Aparna_k82
3 Replies

8. Windows & DOS: Issues & Discussions

Connect to a Remote Sybase Server Through Script.

Hi all, I am trying to connect to Remote Sybase database Server through shell script. I am operating on WindowsXP, connect to Unix(version SunOS: 5.8) The thing is i dont know how to connect to Sybase Server through my script file? Are there any manual pages which can guide me through the... (2 Replies)
Discussion started by: Aparna_k82
2 Replies

9. UNIX for Dummies Questions & Answers

Remote Connect - SCO Open Server

Hello.. Please helppppppp...!!! I am using SCO Open Server version 5.0 at work. I am trying to find a third party software to use on my computer at home which has windows 98 on it to do remote connect to my work. Is there any such software ? I know there is PC ANYWHERE but i don't think it... (2 Replies)
Discussion started by: jackpotp
2 Replies

Featured Tech Videos