LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-04-2015, 02:29 PM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Rep: Reputation: 40
Question X: display remote session or "Can't open display"


my infrequent use of X over ssh lead me to become horribly outdated in understanding of how to troubleshoot the problem.
For long years, the "export DISPLAY=myhost:0.0" and then after "oh, shoot" " xhost +*" were mostly working for me right away.

But now, i understand, that i have no idea, what is involved in making "X over ssh" work and how do i approach the troubleshooting.

If somebody can point me to the up-to-date article that explains the "Architecture" of the items involved, i'll appreciate it a lot.

For simplicity, lets just say that there are two PCs with RedHats distros, on the same network with iptables. Each PC has a few video cards.

// sorry, the celebration of 4th July and typing are on collision courses at the moment.

Last edited by DBabo; 07-06-2015 at 04:33 PM. Reason: Trying to make more sense of the July 4th post.
 
Old 07-06-2015, 01:28 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by DBabo View Post
my infrequent use of ssh over X lead me to become horribly outdated in understanding of how to troubleshoot the problem.
For long gone years, " export DISPLAY=myhost:0.0" and then after "oh, shoot" " xhost +*" were mostly working for me right away....

But now, i understand, that i have no idea, what is involved in "ssh over X" and how do i approach the problem.

If somebody can point me to the up-to-date article that explains the "Architecture" of the items involed, i'll appreciate it a lot.

Lets say i have two pcs with iptables, on the same network, with RedHats distros, several video cards.

// sorry, the celebration of 4th July and typing are on collision courses at the moment.
Slightly off-topic, but perhaps it helps. My problem was running X11 programs as root, which results in
Code:
Invalid MIT-MAGIC-COOKIE-1 keyUnable to initialize GTK: could not open display
This post helped me.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." davcefai Debian 1 02-15-2014 04:11 AM
HTML5 "<details>" tag display:inline, display:hidden CSS ignored (Firefox, Seamonkey) ShellyCat Programming 1 01-11-2011 11:23 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
"Can't open display" error when try to use a program remote heande Linux - Newbie 2 03-11-2005 11:13 AM
unable to open display "24.228.61.72:0.0" while installing oracle remotely cheeku Linux - Newbie 3 08-13-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:21 PM.

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