LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2002, 06:27 AM   #1
michaelegan
LQ Newbie
 
Registered: Jun 2002
Location: Liverpool
Distribution: SUSE 8.0
Posts: 20

Rep: Reputation: 0
Unhappy Remote logon to X server


For some weeks I've been logging on to the server on our intranet with the following command:

ssh -x -l username xxx.xxx.xxx.xxx

Yesterday I found that this returning an error message when trying to use any applications using the X window system:

cannot connect to X server

I've been looking around at a few articles on logging in remotely to the X server but cannot seem to find a way of resolving the problem.

I'll keep looking but any suggestions as to where best to look would be gratefully appreciated.

Last edited by michaelegan; 09-24-2002 at 06:31 AM.
 
Old 09-24-2002, 06:33 AM   #2
michaelegan
LQ Newbie
 
Registered: Jun 2002
Location: Liverpool
Distribution: SUSE 8.0
Posts: 20

Original Poster
Rep: Reputation: 0
Additional Information

Since I last logged on to the remote server I have upgraded the distribution on the system I'm logging in from. This is now running SUSE 8.0. I'm fairly certain this is the only change that has occurred.
 
Old 09-24-2002, 06:44 AM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Just a thought,
check your '/etc/ssh/ssh_config' and see that ForwardX11 is still on.

Regards,
Peter
 
Old 09-24-2002, 08:01 AM   #4
michaelegan
LQ Newbie
 
Registered: Jun 2002
Location: Liverpool
Distribution: SUSE 8.0
Posts: 20

Original Poster
Rep: Reputation: 0
Peter,

Thanks for the suggestion.

I've checked this and ensure that it's set to 'yes' but still no joy :-(
 
Old 09-24-2002, 08:56 AM   #5
michaelegan
LQ Newbie
 
Registered: Jun 2002
Location: Liverpool
Distribution: SUSE 8.0
Posts: 20

Original Poster
Rep: Reputation: 0
Haven't a clue what I'm doing here but I seem to have achieved a modicum of success.

From the client I'm entering:

xhost +192.168.1.6 # this being the remote server address

This returns the following line:

192.168.1.6 being added to access control list

I can then log on to the remote system using:

ssh 192.168.1.6

After entering my password I then seem able to access individual X applications by entering the relevant application name. If only I knew what I was doing!
 
Old 09-24-2002, 09:08 AM   #6
shahul75
LQ Newbie
 
Registered: Sep 2002
Location: Dubai
Distribution: Suse 8.0
Posts: 17

Rep: Reputation: 0
Is that your inetd process running
 
Old 09-24-2002, 10:34 AM   #7
michaelegan
LQ Newbie
 
Registered: Jun 2002
Location: Liverpool
Distribution: SUSE 8.0
Posts: 20

Original Poster
Rep: Reputation: 0
There's a detailed article on this at www.xs4all.nl/~zweije/xauth.html I think Peter was probably right at the outset. I didn't have X forwarding properly set up.

I can now access individual X applications as I was doing initially. However, I can't set up the systems so as to obtain a graphical login on the local workstation. There was an article I came across some time ago at www.penguinmagazine.com (sadly not available) which suggested that the following command should work:

X -query remotesystemname

This starts up the X server, presumably on the remote system, but without presenting me with the graphical logon screen.

Any ideas?
 
  


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
New users can't logon to FTP server... drzigman Linux - General 4 06-13-2005 03:50 AM
Linux as a Windows domain logon server, possible? Tsuroerusu Linux - Networking 3 03-08-2005 04:33 PM
Configuring clients to logon remote X login manager. darkfame Linux - Networking 1 01-15-2004 03:57 AM
enable root logon from remote client csps6789 Linux - Networking 2 04-29-2003 08:43 PM
unable to logon server laidback Linux - Networking 6 10-28-2001 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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