Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 need to open a remote x connection to a linux machine which has graphical remote login enabled with xdm. I can do this in windows xp using Cygwin/X (XWin), it opens a window with the "Welcome to <hostname>" screen (Red Hat Enterprise) and I can login to the remote machine ans see the kde desktop etc...
Now I want to stop using windows but I need to know how to do this in Linux (I have installed Red Hat Enterprise AS 4). Please note that I need a new window with the login screen of the remote machine. Is this possible?
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
There's a way it can be done with startx. Since it was sometime ago I used it I cannot remember it properly. I'll let you know it as soon as possible.
May be VNC might help you meanwhile. Get it from here. Install it, log in as the user you would like to use. Run "vncserver". Use the viewer lacally to connect to "localip::5901"
on local pc, type xhost + to allow connections back.
on local pc, type ssh remotemachinename:1
also, i haven't used xdm, just gdm. On remote machine you have to edit /etc/X11/gdm/gdm.conf to allow remote connections and insure it runs at boot time.
SkyEye,
thanks for your research. I know vnc but I want to start a remote X server (configured with xdm), just like what I do with XWin32 in windows, I need to see the "welcome to <host>" screen where I can select username and pass. If you find the info please tell me!
debianmik,
yes I have xdm (or gdm) running at boot time, I can connect to the remote machine using XWin32/CygwinX...
I tried "xhost +" and "ssh remotemachinename:1" but the host can be found (because of the :1 at the end)
1) change to a new console (CTRL+ALT+F1)
2) run "X -query [host] :1"
And a new X will be started against the host specified (configured with xdm) and the login screen is shown
But now I have the problem that when I change to my local X (CRTL+ALT+F7) and then come back to the remote X started (CTRL+ALT+F1) the X server crashes and I have to run again "X -query [host] :1" loosing the previous session started. Do you have any idea why this happens?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.