LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-05-2005, 05:25 AM   #1
implant25
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.

basically,

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?

Andy
 
Old 09-05-2005, 08:39 AM   #2
LinuxVB
Member
 
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.
change
Code:
# 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.
#
DISPLAYMANAGER_REMOTE_ACCESS="no"
# 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.
#
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"
both to "yes"

Also in /etc/opt/kde3/share/config/kdm/kdmrc
Code:
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=false
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 08:45 AM.
 
  


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


All times are GMT -5. The time now is 08:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration