setup X connection


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users setup X connection
# 1  
Old 12-15-2005
setup X connection

I am running on a linux in my company's main site.
Sometimes I need to access to a server in another site and
run some x-applications. I tried to SSH to that server, but
had difficulty setting up the correct DISPLAY variable.
I used "who" to list the users and got something like:
-------------------------------------------------------------------------------------------------
john pts/2 Dec 15 15:45 (ip-66-22-113-92.dsl.verizon.net)

I don't think setting DISPLAY to the p-66-22-113-92.dsl.verizon.net:0.0
would work. If VPN service is not available now, how can I solve it?
# 2  
Old 12-16-2005
Check the man page for ssh - you can use the -X option but note the security risks. This is only a suggestion since I'm not sure if you are physically on the console of the linux server or you are connecting to the linux server and then ssh'ing to the 'other' server. You have to get your X session back to the system you are physically on.
# 3  
Old 12-21-2005
That works. Thank you a lot.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Setup sftp connection

To set up a sftp connection between Server A, Server B and a website.com A batch script will start from Server A and Server B and Connect to the Website server How to setup sftp connection between server's. (1 Reply)
Discussion started by: aix_admin_007
1 Replies

2. Shell Programming and Scripting

How to setup Oracle connection inside shell script?

Hi, We have Oracle Connection parameters set up in file name "TESTDB" at location /abc/etc.When I try to run my shell script it does not connect to Oracle database. Please let me know how "TESTDB" file can be called inside script. ####################### Setting the directories... (2 Replies)
Discussion started by: sandy162
2 Replies

3. UNIX for Advanced & Expert Users

How keep running a program n an another computer via a connection ssh when the connection is closed?

Hi everybody, I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop. I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies

4. Solaris

Solaris 10 internet connection setup

I have a solaris 10 on my laptop. I want to let my internet work. Command: ifconfig -a Return: lo: ... e1000g0: ... I dont know what else to setup so when I open firefox, I have access to internet. Can anyone show me how to do the setting? Thanks a lot. (1 Reply)
Discussion started by: dbahaha
1 Replies

5. Linux

Unable to setup ODBC connection in RHEL5 64 bit and MySql 5.0

Hi , I am unable to setup ODBC connection in RHEL5 64 bit and MySql 5.0 I had modified ODBC.ini file , set the env variables such as LD_LIBRARY_PATH, ODBCINI , ODBCSYSINI etc . Getting the error as Data source name not found, and no default driver specified ERROR: Could not SQLConnect ... (0 Replies)
Discussion started by: roopalidalvi231
0 Replies

6. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

7. AIX

SSH Connection setup

Hi there, I would like to setup an ssh connection between the aix and the mainframes server. I would like to setup a script such that it wont ask the password every time when i try to connect the mainframes server from my unix box. If you guys provide the sample script that would really... (2 Replies)
Discussion started by: overnight
2 Replies

8. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

9. UNIX for Dummies Questions & Answers

Howto setup terminal connection Solaris10?

Hello, Which services and daemons are used in Solaris in order to connect to Solaris10 from windows-Reflection ? Please just give me a brief information, I can read details from other resources. Thanks (0 Replies)
Discussion started by: XNOR
0 Replies

10. UNIX for Advanced & Expert Users

setup internet connection

HI.. i was wondering if someone out there can help me setup my internet connection.... i have no clue how to set it up.. could you please tell me step by step how to set it up.. i have a static ip, im using a cable modem to connect. my os is solaris 8. Please email me at lil_souldier@hotmail.com... (2 Replies)
Discussion started by: souldier
2 Replies
Login or Register to Ask a Question