Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > [SOLVED] How to export the display

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 06-26-2009   #1 (permalink)
Just Joined!
 
ursusca's Avatar
 
Join Date: Dec 2008
Posts: 71
Send a message via ICQ to ursusca
[SOLVED] How to export the display

Hi everyone,

I use KDE desktop (3.5.10) on my Gentoo computer. I'd like to run remote applications on my computer.

For clarity, lets say the box that I want to export X from is named A(CentOS) and the one want it to go to is named B(Gentoo).

B:
mike@gentoobear ~ $ xhost +192.168.1.2
192.168.1.2 being added to access control list
mike@gentoobear ~ $ ssh 192.168.1.2
A:
[mike@bearcentos ~]$ DISPLAY=192.168.1.7:0.0; export DISPLAY
[mike@bearcentos ~]$ echo $DISPLAY
192.168.1.7:0.0
[mike@bearcentos ~]$ xterm
xterm Xt error: Can't open display: 192.168.1.7:0.0

why this is happening...

What elese do I need to do?
ursusca is offline  


Old 06-27-2009   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,101
Try
Code:
export DISPLAY 192.168.1.2:0.0
EDIT: maybe I'm confused to which IP you want, you might want 192.168.1.7:0.0 instead. Try different variations if it doesn't work right.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline  
Old 06-27-2009   #3 (permalink)
Just Joined!
 
ursusca's Avatar
 
Join Date: Dec 2008
Posts: 71
Send a message via ICQ to ursusca
Quote:
Originally Posted by MikeTbob View Post
Try
Code:
export DISPLAY 192.168.1.2:0.0
EDIT: maybe I'm confused to which IP you want, you might want 192.168.1.7:0.0 instead. Try different variations if it doesn't work right.

I want export display from my centos computer (192.168.1.2) to my gentoo computer (192.168.1.7). I've tried from gentoo to centos ang it's OK. But I need to export display from centos to gentoo.
ursusca is offline  
Old 06-27-2009   #4 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,038
I generally tunnel over ssh. I connect to the remote box using ssh -X and then any applications I launch from that ssh session - including an entire desktop session - will open on my local machine. Is that any help to you?
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline  
Old 06-28-2009   #5 (permalink)
Just Joined!
 
ursusca's Avatar
 
Join Date: Dec 2008
Posts: 71
Send a message via ICQ to ursusca
I am trying to do it over xdmcp. Not over X11 forwading.
ursusca is offline  
Old 06-28-2009   #6 (permalink)
Just Joined!
 
ursusca's Avatar
 
Join Date: Dec 2008
Posts: 71
Send a message via ICQ to ursusca
I've tried to do it over X11 forwarding.

I've checked the following line in my /etc/ssh/sshd_config file:

X11Forwarding yes


B:
mike@gentoobear ~ $ xhost +
access control disabled, clients can connect from any host
mike@gentoobear ~ $ ssh -X 192.168.1.2
mike@192.168.1.2's password:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Sun Jun 28 18:39:29 2009 from beargentoo

A:
[mike@bearcentos ~]$ xterm &
[1] 5077
[mike@bearcentos ~]$ firefox &
[2] 5111
[1] Done xterm
[mike@bearcentos ~]$

It works for me but can anybody explain me what dies it mean:
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.

???
ursusca is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:30 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2