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. |
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.
|
Just a thought,
check your '/etc/ssh/ssh_config' and see that ForwardX11 is still on. Regards, Peter |
Peter,
Thanks for the suggestion. I've checked this and ensure that it's set to 'yes' but still no joy :-( |
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! |
Is that your inetd process running
|
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? |
All times are GMT -5. The time now is 05:20 PM. |