LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-09-2005, 09:55 PM   #1
provkitir
Member
 
Registered: Jul 2004
Location: Mass
Distribution: Freebsd 5.3, Debian sid 2.6.7
Posts: 101

Rep: Reputation: 15
ssh with putty and x11 forwarding


Hi i'm currently running debian sarge stable with 2.6.8 kernel, where the sshd config file is the one that debian provided except i changed the port to 1234 and X11Forwarding to yes instead of no. i have a putty ssh client on windoze but it always gives the following error:
X connection to localhost:10.0 broken (explicit kill or server shutdown).
when i try to run any x11 applications.

i'm really lost. please help! thanks!
 
Old 06-10-2005, 02:04 AM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Uhmm. Do you have an X server on your windows box? How did you set up Putty to deal with an X11 connection? (It's in the Connection-> SSH-> Tunnels section.)

I've never done X11 forwarding from Putty. It can be done, but Putty doesn't have it's own X11 server. You need to configure it to use another program. (I have done X11 forwarding from cygwin though.)
 
Old 06-10-2005, 01:42 PM   #3
provkitir
Member
 
Registered: Jul 2004
Location: Mass
Distribution: Freebsd 5.3, Debian sid 2.6.7
Posts: 101

Original Poster
Rep: Reputation: 15
Hi, i do have x server setup thru apt-get install x-window-system. i don't really know how to set the connection-> ssh-> Tunnels section, not sure what ports are involved. also, does putty have to have an X server of its own to do X11 forwarding? I thought the machine bein connected to would serve X, and putty would just display it somehow.

thanks for the reply!
 
Old 06-10-2005, 03:58 PM   #4
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
X is a little weird in it's definitions. The "Server" is the graphical interface that you see and interact with. If you are on the Windows machine, then the X server must be on the windows machine. The programs running on your Linux box are the clients that are to be served by the X server on the Windows box. With an X server on the Linux box, you can use X windows while sitting at the Linux box.

You say that you have X11 forwarding set to yes in the ssh daemon config file, then all you really need (I think) is to set up the windows side. Again, I haven't done ssh forwarding using putty before. You will need to find an X server for Windows. I have done X11 forwarding before from cygwin for windows (it includes both X11 and ssh).
 
Old 06-10-2005, 09:58 PM   #5
provkitir
Member
 
Registered: Jul 2004
Location: Mass
Distribution: Freebsd 5.3, Debian sid 2.6.7
Posts: 101

Original Poster
Rep: Reputation: 15
Hmm.. Thanks. I'll look into cygwin. thanks again!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH and X11 driving me up a wall, not forwarding... cynical Linux - Software 3 11-22-2005 09:56 PM
X11 forwarding over SSH SirSlappy Linux - Networking 1 10-18-2005 01:37 PM
X11 Forwarding over SSH all sorts of problems lucastic Linux - Networking 10 08-31-2004 08:34 PM
Problems with ssh and X11 forwarding Dabria Linux - General 5 02-13-2004 10:28 AM
ssh: x11 forwarding problems Halz Linux - Software 1 06-25-2002 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration