Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-05-2005, 06:25 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Remote X Session Help

Hi all,

I am having problems trying to access a remote x session at work. I have had this setup in the past but since a reinstall of Suse 9.3 it stops working and h'm at a loss on to how i get it working again.


i try the following "X -query hostname :1" which starts a new session but i just get a gray screen with an X cursor. i then get the following message displayed in the console;

"XDMCP Fatal error: Session failed for display: cannot open display"

I've tried connecting to several of our Linux boxes and i get the same problem.

Any thoughts?

Old 09-05-2005, 09:39 AM   #2
Registered: May 2005
Distribution: SuSE
Posts: 58

Rep: Reputation: 15
Remote X capability is switched off by default in SUSE.
If you need xhost +hostname capability, you must edit your display manager configuration in /etc/sysconfig/displaymanger with a text editor or in YaST's /etc/sysconfig editor.
# Allow remote access to your display manager (xdm/kdm). Please note
# that a modified kdm or xdm configuration, e.g. by KDE control center
# will not be changed.
# Tcp port 6000 of Xserver. When set to "no" (default) Xserver is
# started with "-nolisten tcp". Only set this to "yes" if you really
# need to. Use ssh X11 port forwarding whenever possible.
both to "yes"

Also in /etc/opt/kde3/share/config/kdm/kdmrc
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
change Enable to true.

ssh -X is the preferred way of forwarding an X session.
VNC is another possibility.

Last edited by LinuxVB; 09-05-2005 at 09:45 AM.


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
Remote acces to my x session eloicases Linux - Networking 2 06-15-2004 07:49 AM
How to start a remote X session? ejennings_98 Linux - Newbie 2 02-22-2004 11:08 PM
remote GUI session Robert0380 Linux - Software 6 05-18-2003 04:40 PM
Remote X11 Session cli_man Linux - Software 10 04-16-2003 07:15 PM
Remote X session on MS windows Chou Linux - General 4 12-06-2002 03:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration