startx has problem
I want to connect remote Linux with local windows through ssh and kde using xmanager. The remote Linux is Centos 5.4 x86 and local windows is Windows 8 x64.
Using this command I tried to connect. Quote:
Quote:
Quote:
Any helpful comment would be appreciated. Thanks in advance. |
startx is a program to start an X server on the local system. In your case, the local system is Windows 8, and the Windows kernel does not (generally) support Linux kernel functions and X-server display commands.
Not being a Windows user, I have no idea what you need to do to get remote X server display commands interpreted on a Windows system. |
Please understand Xmanager is X-server for Windows.
And I got another error message: Quote:
|
Quote:
Make sure your Xmanager program is running on Windows...how you do that/configure it is up to that piece of Windows software. On the remote Linux system, type in "export DISPLAY=<IP address of Windows system>:0", then run whatever X windows program you'd like. What does the software manual for the Xmanager program tell you? |
So, did you read this tutorial? (I didn't read it all, not being a user of the product, but just a few seconds on Google found it.)
|
TB0ne/
I tried and the result is this. [root@testeuser ~]# export DISPLAY=xxx.xxx.61.203:0 [root@testeuser ~]# startx xauth: creating new authority file /root/.serverauth.7942 Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key giving up. xinit: unable to connect to X server xinit: No such process (errno 3): unexpected signal 2. [root@testeuser ~]# rm -rf /tmp/.X0-lock [root@testeuser ~]# startx xauth: creating new authority file /root/.serverauth.8206 _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server already running Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key giving up. xinit: unable to connect to X server xinit: No such process (errno 3): unexpected signal 2. PTrenholme/ Yes I read the tutorial, and followed. |
Quote:
Quote:
|
TB0ne/
Quote:
|
Quote:
Quote:
Unless you export the display variable, it is going to default to the remote system. |
TB0ne/
The result is this:: Quote:
|
Quote:
Just run the COMMAND, after exporting the variable. That would be just "xterm". Try xclock first and see what you get...no flags, no switches, nothing....JUST THE COMMAND. If it doesn't work, then your X emulator on Windows is having a problem...contact the software vendor you purchased it from. Did you configure the SSH parameters, like the tutorial PTrenholme pointed you to in post #5 told you to? The very first step is configuring the SSH daemon on the Linux system, and restarting it. |
TBOne/
The result for xclock is this: Quote:
And the "sshd_config" of remote Linux is this: Quote:
|
[QUOTE=windstory;5011614]TBOne/
The result for xclock is this: Code:
[testeuser@testeuser ~]$ export DISPLAY=xxx.xxx.61.203:0 Quote:
|
I installed virtualbox and installed Centos 6.2 x64 as a guest on virtualbox.
I opened terminal and tried to connect as follows: Quote:
|
Quote:
6.2 is a dead and unsupported version of cent the current and ONLY supported version in the 6 series is 6.4 |
Quote:
Quote:
|
Quote:
Once again: THE PROBLEM IS WITH YOUR X EMULATION SOFTWARE FOR WINDOWS. It is NOT accepting incoming connections...if so, the xclock command would have worked. It didn't. There is NOTHING we can change on the Linux side of things to 'force' your third-party Windows software to accept a connection. Contact your vendor for help. |
All times are GMT -5. The time now is 06:06 AM. |