LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2005, 12:56 PM   #1
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Rep: Reputation: 15
can't run X programs on remote linux box


Hi all, I'm using SuSE and via "ssh" I'm connecting to a Mandrake box...., everything goes well untill I try to use, something like "gVim", it says "Can't open display"..., what's up with that???, if I try to do that from a windows box (using an Xserver) everything works just fine...

I'm using KDE and the other box (the one I'm trying to connect) is using Gnome..., could that be the problem???

Thanks!
Fernando
 
Old 04-21-2005, 12:57 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try using:
ssh -X user@host
 
Old 04-21-2005, 02:17 PM   #3
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
nop, it still says the same:

"E233: cannot open display"

Any other ideas???
 
Old 04-21-2005, 02:26 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is the server network enabled? Can you post the output from this on both systems:
netstat -nlp | grep 60

And on the system with the x server:
xhost
 
Old 04-22-2005, 07:23 AM   #5
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
server side:
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN -

client side:
Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
unix 2 [ ACC ] STREAM LISTENING 6084 3707/kdeinit: ksmse /tmp/.ICE-unix/3707
unix 2 [ ACC ] STREAM LISTENING 5993 3702/artsd /tmp/mcop-xxx/xxx_xxx-0e76-42600114

the "xxx" are to protect some names.., I'm in my office computer...call me paranoid..

fernando
 
Old 08-28-2006, 08:08 AM   #6
jeffmate
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
I found that I had a similar problem
When X programs previously ran from a remote session using RH9.
I am now using FC5/gnome and they didn't run.

Try using ssh -X username@server

I also found there was a problem with running some X session programs using gnome-terminal.

I suggest that you should try using the X terminal program konsole which is the default command line terminal for KDE. Konsole also works from a Gnome session.

You can also setup a launcher on your desktop. The launcher command is konsole -e ssh -X username@server xcommand. Don't tick the 'run in terminal' box.
 
  


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
Remote Access of Linux box with XP smd Linux - Networking 4 09-22-2005 10:41 AM
Remote Shutdown of Windows using a linux box? bigdog0007 Linux - Networking 7 05-12-2005 10:07 AM
Remote Administration Of WinXP From Linux Box Infernal211283 Linux - Software 4 01-28-2005 12:12 PM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 04:49 PM
run programs on a remote computer with script, how? cmisip Linux - Networking 5 07-07-2003 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 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