Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-17-2005, 04:36 AM   #1
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 623

Rep: Reputation: 31
running graphical program on remote machine

Hi community,
I want to log on remote machine with ssh, the doc said that I haev to use the -X, but it doesn't work like this? Is there a special configuration of ssh ? In the past with the redhat ( 7.3, 8.0 ...) I use to disable the display with xhost +, here neither -X nor xhost give the posibility.

when I connect to remote machine running knoppix (3.7 based on sarge) it works correctly
but not to standard sarge. this is an example of answer:

~$xhost + ---------------------> local machine machine
access control disabled, clients can connect from any host
~$ssh -X -l user1 ---------------------> remote machine running sarge
Linux 000102F1658B 2.4.27-1-386 #1 Fri Sep 3 06:24:46 UTC 2004 i686 GNU/Linux
Last login: Fri Mar 18 11:23:58 2005 from
user1@000102F1658B:~$ lyx
lyx: cannot connect to X server

While if I connect to a machine running knoppix 3.7 ( base on sarge ) it works, even I omit xhost +

thanks for help
best regards
Old 03-17-2005, 07:07 AM   #2
LQ Newbie
Registered: Oct 2003
Location: The Netherlands
Distribution: Debian Sarge
Posts: 22

Rep: Reputation: 15
You need to have: X11Forwarding yes in you /etc/ssh/sshd_config on the remote side!!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
running X applications on remote machine when logged in via ssh servnov Linux - General 1 08-15-2005 08:53 PM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
Running a script in background on a remote machine TheCoffeeMug Linux - Networking 3 11-06-2003 10:08 AM
running a program through windows machine sooty Linux - General 2 03-10-2003 04:52 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:29 AM.

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