SSH & X-Windows


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers SSH & X-Windows
# 1  
Old 02-15-2006
SSH & X-Windows

I need to use xwindows on an HP server that requires me to connect via SSH.

Can I just use Putty to do this, or do I need an additional program to handle the X-Windows?

Thanks!
# 2  
Old 02-15-2006
My experience on a Linux server and a Windows client: Provided the SSH client & server permits X11 Forwarding, and Windows has the X-Windows installed (I have installed cygwin on my Windows) then I could have an X app display on my local desktop via Putty.

Putty has an option somewhere which needs to be checked to enable X Forwarding, in particular.
# 3  
Old 02-15-2006
I have putty connected to the server, and checked to "enable x11 forwarding". I installed cygwin, but what do I need to do now to be able to display x-windows from the server?

Thanks for the help!
# 4  
Old 02-15-2006
Start with 'startxwin' from desktop
then in the window it brings up:

$ export DISPLAY=localhost:0.0
$ ssh -X username@IP
(login to the server you are connecting to and then run something requiring X)
host-I-logged-into$ /usr/openwin/bin/xclock

Then run an x display back to your pc - nothing else to do (normally) - you don't need to do anything on the server you ssh'ed to.
# 5  
Old 02-15-2006
At the client, start the x-windows first. Fire up a cygwin shell and run the startxwin.bat script. Enable X11 Forwarding client and server X Forwarding. Putty connect to the server.

Normally the DISPLAY variable in the server shell session will be automatically set if the server supports X Forwarding. So nothing needs to be done on server as said.

Then you ought to be able to run X apps remotely on a Windows machine!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ssh & sudo

when the following command is issued the command prompt is received, how do I get past this? ssh -t usera@hosta sudo su - userb -c id (4 Replies)
Discussion started by: squrcles
4 Replies

2. Shell Programming and Scripting

[Solved] Ssh to windows from linx

Hi, I was trying to ssh to windows server from linux box(red hat). I am a bit confused about where to generate the keys. Should I generate the keys in linux and place it in windows or other way around. I have installed openssh package in cygwin on the windows box. can someone please tell me... (0 Replies)
Discussion started by: ahmedwaseem2000
0 Replies

3. Red Hat

cannot ssh (use NFS) on RHEL box, but can mount external & ssh out of RHEL box

Ok, Im trying to get NFS working on my RHEL 5 box, apparently i can use the box as a client, but not as a server. If it helps i cant ssh into the box (server), but as a client ssh works fine. Ive configured server: /etc/hosts.allow: all : all all :all@all setup my /etc/exports file... (4 Replies)
Discussion started by: drs.grid
4 Replies

4. AIX

ssh login from windows client

I am a new user and i wish to connect to a unix(AIX) server from a windows client using ssh.A detailed solution would be highly appreciated. (1 Reply)
Discussion started by: ajayb3004
1 Replies

5. UNIX for Dummies Questions & Answers

SSH program to run on Windows

Hey, For a couple of months, I was using SecureCRT which was satisfying all my needs (keyboard-interactive, sftp ...). Its licence got expired and I no longer want to pay for it. Is there any SSH program other than Putty, u would suggest as free or less expensive with a user interface like... (3 Replies)
Discussion started by: royalliege
3 Replies

6. Solaris

log into windows from unix using ssh

Hi, I want to log into windows from unix using ssh through a script to execute some commands.We have cygwin installed on windows.We have expect library installed on unix(sun solaris).What would be codes for logging into widows from a shell script. Regards, Megh (1 Reply)
Discussion started by: megh
1 Replies

7. AIX

How to do ssh without password from windows to AIX?

I know how to ssh without password from AIX to AIX, however, how to do it from Windows to AIX? (6 Replies)
Discussion started by: rainbow_bean
6 Replies

8. UNIX for Dummies Questions & Answers

SSH UNIX to Windows

Anyone who has tried creating public and private key from UNIX as client and Windows as server? any idea on how to do this? (1 Reply)
Discussion started by: punyenye
1 Replies

9. AIX

Connect from Windows Using SSH

Hi Everybody, I have 2 Servers (AIX 4.3), recently I installed SSH in both servers successfuly. I can connect from one server to another using SSH. My problem is when I tried to connect from Windows workstation to one of these servers the connection timed out. I'm using PUTTY to connect to the... (12 Replies)
Discussion started by: aldowsary
12 Replies

10. IP Networking

UNIX OS & Windows XP

Hello, Can someone please tell me if it is possible to install a Unix Os on a system that already has a Windows XP? If so, how do i go about it doing it?: (6 Replies)
Discussion started by: Ike
6 Replies
Login or Register to Ask a Question