I have my main workstation which I use in the normal manner. I also now have a laptop which I want to log into the main machine. I can use telnet et al, but what I want to do is log into the main machine using X. That is, I start the laptop, it starts X, and displays me a login (xdm) screen from the main workstation. The laptop just becomes an X-Server for the main workstation's applications. This is pretty standard stuff around my office (people use Reflection or Exceed to log onto one of our AIX server boxes), but how does it work? The host clearly has to run some X daemon which the client talks to instead of starting it's own xdm session. Er, maybe!? Can someone point me in the right direction? -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Derek Fountain writes:
I have my main workstation which I use in the normal manner. I also now have a laptop which I want to log into the main machine. I can use telnet et al, but what I want to do is log into the main machine using X. That is, I start the laptop, it starts X, and displays me a login (xdm) screen from the main workstation. The laptop just becomes an X-Server for the main workstation's applications.
This is pretty standard stuff around my office (people use Reflection or Exceed to log onto one of our AIX server boxes), but how does it work? The host clearly has to run some X daemon which the client talks to instead of starting it's own xdm session. Er, maybe!?
Can someone point me in the right direction?
Telnet to remote machine. Set the DISPLAY on the remote machine to your local box: remotebox> export DISPLAY=localbox:0 On your local box: localbox> xhost +remotebox Then run an app, it should show up on your local box: remotebox> xeyes& -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Thanks for the input, but that's not what I want to do. I want to log into the main machine from the laptop and see my usual KDE desktop, and have immediate access to all the workstation's software through the usual desktop icons, menus, kpanel, etc.
I have my main workstation which I use in the normal manner. I also now have a laptop which I want to log into the main machine. I can use telnet et al, but what I want to do is log into the main machine using X. That is, I start the laptop, it starts X, and displays me a login (xdm) screen from the main workstation. The laptop just becomes an X-Server for the main workstation's applications.
This is pretty standard stuff around my office (people use Reflection or Exceed to log onto one of our AIX server boxes), but how does it work? The host clearly has to run some X daemon which the client talks to instead of starting it's own xdm session. Er, maybe!?
Can someone point me in the right direction?
Telnet to remote machine. Set the DISPLAY on the remote machine to your local box:
remotebox> export DISPLAY=localbox:0
On your local box:
localbox> xhost +remotebox
Then run an app, it should show up on your local box:
remotebox> xeyes&
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Derek Fountain writes:
Thanks for the input, but that's not what I want to do. I want to log into the main machine from the laptop and see my usual KDE desktop, and have immediate access to all the workstation's software through the usual desktop icons, menus, kpanel, etc.
I've got ya. There is a script rstart that might be what you want to look at. Once X starts the first thing it needs to do is a startkde on the remote side assuming your DISPLAY var is set correctly. You can do a man rstart, but it requires rsh to work. You can modify it to use ssh if you wish. Ssh is nice because it sets the DISPLAY var automatically.
I have my main workstation which I use in the normal manner. I also now have a laptop which I want to log into the main machine. I can use telnet et al, but what I want to do is log into the main machine using X. That is, I start the laptop, it starts X, and displays me a login (xdm) screen from the main workstation. The laptop just becomes an X-Server for the main workstation's applications.
This is pretty standard stuff around my office (people use Reflection or Exceed to log onto one of our AIX server boxes), but how does it work? The host clearly has to run some X daemon which the client talks to instead of starting it's own xdm session. Er, maybe!?
Can someone point me in the right direction?
Telnet to remote machine. Set the DISPLAY on the remote machine to your local box:
remotebox> export DISPLAY=localbox:0
On your local box:
localbox> xhost +remotebox
Then run an app, it should show up on your local box:
remotebox> xeyes&
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
or just use ssh with X forwarding....... On Fri, 12 May 2000, Jesse Marlin wrote:
Derek Fountain writes:
I have my main workstation which I use in the normal manner. I also now have a laptop which I want to log into the main machine. I can use telnet et al, but what I want to do is log into the main machine using X. That is, I start the laptop, it starts X, and displays me a login (xdm) screen from the main workstation. The laptop just becomes an X-Server for the main workstation's applications.
This is pretty standard stuff around my office (people use Reflection or Exceed to log onto one of our AIX server boxes), but how does it work? The host clearly has to run some X daemon which the client talks to instead of starting it's own xdm session. Er, maybe!?
Can someone point me in the right direction?
Telnet to remote machine. Set the DISPLAY on the remote machine to your local box:
remotebox> export DISPLAY=localbox:0
On your local box:
localbox> xhost +remotebox
Then run an app, it should show up on your local box:
remotebox> xeyes&
-- This sig brought to you by SuSE 6.3 and sendmail. Linux - you know it makes sense. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
This is what I use currently. It works very nice: Just ssh into the computer you want to run applications on, and run the application you want in the background. The program will automatically be forwarded to the X server you are locally running on, and everything will be encrypted transparently. Now, a previous message in this thread asked how it is possible to connect my local X client to a remote X server. The answer said rstart, but I won't even bother using r* utils. What is the most secure method of accomplishing this? In case I did not explain myself enough. I want to sit at a friends computer who also runs Suse 6.4, and start X up just like it is my machine I'm at. All my WM config settings should be exactly the same. The only difference of course would be the changes to display size, color depth, misc xconfig settings. On Fri, May 12, 2000 at 11:59:40PM +0100, wulfie wrote:
or just use ssh with X forwarding.......
On Fri, 12 May 2000, Jesse Marlin wrote:
Derek Fountain writes:
I have my main workstation which I use in the normal manner. I also now have a laptop which I want to log into the main machine. I can use telnet et al, but what I want to do is log into the main machine using X. That is, I start the laptop, it starts X, and displays me a login (xdm) screen from the main workstation. The laptop just becomes an X-Server for the main workstation's applications.
This is pretty standard stuff around my office (people use Reflection or Exceed to log onto one of our AIX server boxes), but how does it work? The host clearly has to run some X daemon which the client talks to instead of starting it's own xdm session. Er, maybe!?
Can someone point me in the right direction?
Telnet to remote machine. Set the DISPLAY on the remote machine to your local box:
remotebox> export DISPLAY=localbox:0
On your local box:
localbox> xhost +remotebox
Then run an app, it should show up on your local box:
remotebox> xeyes&
-- This sig brought to you by SuSE 6.3 and sendmail.
Linux - you know it makes sense.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- [-=-=-=-=-=-=-=-=-=-=- adam j henry =-=-=-=-=-=-=-=-=-=-=] | [http: www.heidelberg.edu/~ahenry] [pgp: 0xBD168A74] | | [mailto: ahenry@heidelberg.edu] [icq: 69243836] | [-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=] -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Fri, 12 May 2000, Adam J. Henry wrote:
This is what I use currently. It works very nice: Just ssh into the computer you want to run applications on, and run the application you want in the background. The program will automatically be forwarded to the X server you are locally running on, and everything will be encrypted transparently.
Now, a previous message in this thread asked how it is possible to connect my local X client to a remote X server. The answer said rstart, but I won't even bother using r* utils. What is the most secure method of accomplishing this?
Why do you want to initiate a program running on your computer in front of you, and have its display appear somewhere else?
In case I did not explain myself enough. I want to sit at a friends computer who also runs Suse 6.4, and start X up just like it is my machine I'm at. All my WM config settings should be exactly the same. The only difference of course would be the changes to display size, color depth, misc xconfig settings.
That would involve using the local X server to run remote X clients including the window manager.
On Fri, May 12, 2000 at 11:59:40PM +0100, wulfie wrote:
or just use ssh with X forwarding.......
On Fri, 12 May 2000, Jesse Marlin wrote:
Derek Fountain writes:
I have my main workstation which I use in the normal manner. I also now have a laptop which I want to log into the main machine. I can use telnet et al, but what I want to do is log into the main machine using X. That is, I start the laptop, it starts X, and displays me a login (xdm) screen from the main workstation. The laptop just becomes an X-Server for the main workstation's applications.
This is pretty standard stuff around my office (people use Reflection or Exceed to log onto one of our AIX server boxes), but how does it work? The host clearly has to run some X daemon which the client talks to instead of starting it's own xdm session. Er, maybe!?
Can someone point me in the right direction?
Telnet to remote machine. Set the DISPLAY on the remote machine to your local box:
remotebox> export DISPLAY=localbox:0
On your local box:
localbox> xhost +remotebox
Then run an app, it should show up on your local box:
remotebox> xeyes&
-- This sig brought to you by SuSE 6.3 and sendmail.
Linux - you know it makes sense.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- [-=-=-=-=-=-=-=-=-=-=- adam j henry =-=-=-=-=-=-=-=-=-=-=] | [http: www.heidelberg.edu/~ahenry] [pgp: 0xBD168A74] | | [mailto: ahenry@heidelberg.edu] [icq: 69243836] | [-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Fri, 12 May 2000, wulfie wrote:
or just use ssh with X forwarding.......
Actually, I'm having difficulty doing just that. I've built and installed ssh1 & 2 on two machines, and have enabled X11 forwarding on both. Ssh for command line works fine, however, when I try something like: dmgrover@cranky:~ > ssh -v spanky xterm I get: debug: hostname is 'spanky'. debug: Unable to open /home/dmgrover/.ssh2/ssh2_config debug: connecting to spanky... debug: entering event loop debug: ssh_client_wrap: creating transport protocol debug: ssh_client_wrap: creating userauth protocol debug: Remote version: SSH-1.99-2.0.13 (non-commercial) debug: Host key found from the database. dmgrover's password: debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated debug: Requesting X11 forwarding with authentication spoofing. debug: Failed to get local xauth data. xterm Xt error: Can't open display: debug: session_close debug: destroying client struct... debug: uninitializing event loop dmgrover@cranky:~ > So I think I'm looking at an xauth problem. I've noticed that on my local machine I've got a .Xauthority file in my home dir but on the remote machine I do not. Is this related? -- Curiously enough, the dolphins had long known of the impending destruction of the of the planet Earth and had made many attempts to alert mankind to the danger; but most of their communications were misinterpreted ... -- Douglas Admas "The Hitch-Hikers' Guide To The Galaxy" -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
You should already be running a local X server - in an xterm for instance, using ssh from SuSE 6.4, all I need do is type "netscape" for instance which runs netscape from my server and displays on my client desktop. Make sure sshd.config has X11 forwarding enabled On Fri, 12 May 2000, NtF wrote:
On Fri, 12 May 2000, wulfie wrote:
or just use ssh with X forwarding.......
Actually, I'm having difficulty doing just that. I've built and installed ssh1 & 2 on two machines, and have enabled X11 forwarding on both. Ssh for command line works fine, however, when I try something like:
dmgrover@cranky:~ > ssh -v spanky xterm
I get:
debug: hostname is 'spanky'. debug: Unable to open /home/dmgrover/.ssh2/ssh2_config debug: connecting to spanky... debug: entering event loop debug: ssh_client_wrap: creating transport protocol debug: ssh_client_wrap: creating userauth protocol debug: Remote version: SSH-1.99-2.0.13 (non-commercial) debug: Host key found from the database. dmgrover's password: debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated debug: Requesting X11 forwarding with authentication spoofing. debug: Failed to get local xauth data. xterm Xt error: Can't open display: debug: session_close debug: destroying client struct... debug: uninitializing event loop dmgrover@cranky:~ >
So I think I'm looking at an xauth problem. I've noticed that on my local machine I've got a .Xauthority file in my home dir but on the remote machine I do not. Is this related?
-- Curiously enough, the dolphins had long known of the impending destruction of the of the planet Earth and had made many attempts to alert mankind to the danger; but most of their communications were misinterpreted ... -- Douglas Admas "The Hitch-Hikers' Guide To The Galaxy"
-- This sig brought to you by SuSE 6.3 and sendmail. Linux - you know it makes sense. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (6)
-
ahenry@cusa.dyndns.org
-
fountai@hursley.ibm.com
-
jlm@compgen.com
-
naurgrim@karn.org
-
warrl@blarg.net
-
wulfie@wulfric7.co.uk