ssh remote desktop - xserver config for x11 forwarding
Hello all,
I'm running fedora 4 (and cygwin under windows on the other and I get similar errors on both) and just configured ssh for remote access!
My question regards x11 forwarding setup!
When I establish my ssh connection through mindterm's or appgate's online java applets I have no difficulty, yet when I try running startx to get a remote desktop manager going which is my real objective, it reports a fatal server error saying server is already active for display 0!
It then says that if x is no longer running I should remove /tmp/.X0-lock and start again!
if ii try xinit I get the very same message!
If I try - startkde - i get the following:
X connection to localhost:10.0 broken (explicit kill or server shutdown).
X connection to localhost:10.0 broken (explicit kill or server shutdown).
X connection to localhost:10.0 broken (explicit kill or server shutdown).
X connection to localhost:10.0 broken (explicit kill or server shutdown).
startkde: Starting up...
ksplash: Fatal IO error: client killed
kded: Fatal IO error: client killed
DCOP aborting call from 'anonymous-21770' to 'kded'
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
klauncher: Exiting on signal 1
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
Warning: connect() failed: : No such file or directory
ksmserver: Fatal IO error: client killed
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.
and with the - gnome-session - command I get:
The application 'gnome-session' lost its connection to the display localhost:10.
0;
most likely the X server was shut down or you killed/destroyed
the application.
I first thought (wrongly) it had something to do with creating a tunnel for x so I created one from 6000 to 127.0.0.1:6000 without luck
I then tried messing with the allowed hosts so i tried the command:
xhosts +, without sucess!
What am I doing wrong?
Do I need to reconfigure the xserver to listen for remote connections somehow? How can I do that!
Note: Yes I do have x11 forwarding yes in my sshd_config!
Thanks in advance for your time, and pardon me for my incorrect english!
Best regards
A
|