Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
[testeuser@testeuser ~]$ startx
xauth: creating new authority file /home/testeuser/.serverauth.12113
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-308.24.1.el5 i686 Red Hat, Inc.
Current Operating System: Linux testeuser 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:23:01 EDT 2011 i686
Build Date: 09 January 2013
Build ID: xorg-x11-server 1.1.1-48.100.el5
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 10 15:11:01 2013
(==) Using config file: "/etc/X11/xorg.conf"
(WW) ATI(0): Failed to set up write-combining range (0xf6000000,0x800000)
(WW) ATI(0): Failed to set up write-combining range (0xf6000000,0x800000)
FATAL: Module mach64 not found.
[drm] failed to load kernel module "mach64"
(EE) ATI(0): [dri] DRIScreenInit Failed
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Multiple symbols for level 1/group 1 on key <I5F>
> Using XF86Sleep, ignoring XF86Standby
> Warning: Symbol map for key <I5F> redefined
> Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
Could not init font path element unix/:7100, removing from list!
localuser:testeuser being added to access control list
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.
Right...so, you DON'T run 'startx' on the remote Linux host, since that would (as the name implies), start the x server on the machine where you entered that command. And either it's already running there, or can't...which in this case, is immaterial.
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?
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.
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Right...AGAIN, as I posted before, you do NOT HAVE TO RUN STARTX. X is already running on the Linux machine...that's it. Run the APPLICATION you want to run, such as xclock or whatever other GUI/X-Windows based program.
Quote:
PTrenholme/
Yes I read the tutorial, and followed.
Did you?? Because there is NO MENTION of running startx in that tutorial anywhere.
I tried this xterm command, but I got an error. So I tried startx.
Ok, are you reading/understanding what we're trying to tell you??? From post #4, I specifically said:
Quote:
Originally Posted by TB0ne
On the remote Linux system, type in "export DISPLAY=<IP address of Windows system>:0", then run whatever X windows program you'd like
You haven't done it, so it's not working. Startx will NEVER, EVER WORK the way you're trying to run it. AGAIN, type in the command given to you above (twice now), then try to run Xterm.
Unless you export the display variable, it is going to default to the remote system.
AGAIN:
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.
...which is a VERY clear indicator that the workstation at address 121.151.61.203 does not have a working X server on it. So, either your X emulation software isn't working correctly or hasn't been set up correctly. There's nothing to configure/change on the Linux server to make this work, period. Contact the vendor who you bought that X emulator software from, and get support.
I installed virtualbox and installed Centos 6.2 x64 as a guest on virtualbox.
I opened terminal and tried to connect as follows:
Quote:
[root@maestro Documents]# ssh -Y testeuser.org -p 5769
Address xxx.xxx.57.28 maps to testserver.xxx.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! root@testeuser.org's password:
Last login: Mon Aug 19 10:06:01 2013 from xxx.xxx.61.203
[root@testeuser ~]# xlogo
Error: Can't open display: localhost:12.0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.