I'm trying to replicate the graphical functionality of Windows Terminal Services between two SuSE 8.1 machines without using VNC. I can connect via SSH from the client to the server no problem (a SuSE KB article detailed how to set up the server to accept remote logins). But now I'd like to run KDE on the server, and have the display appear on the client. Both machines have T-1 connections, so bandwidth shouldn't be an issue. I'd like to do this to be able to do things like, run YaST remotely to update the server, manage files etc. on the server graphically. The ssh man pages are good for setting up ssh, but not for detailing how to do remote graphical logins. The X11 pages are like the rule book for football: you can read the rules and still have no idea how to play the game! Any help and/or pointers to a How-To, etc, would be appreciated. Thanks! Mark -- ___________________________________________________________________ A Message From... L. Mark Stone http://www.lmstone.com
Quoting "L. Mark Stone"
I can connect via SSH from the client to the server no problem (a SuSE KB article detailed how to set up the server to accept remote logins).
But now I'd like to run KDE on the server, and have the display appear on the client. Both machines have T-1 connections, so bandwidth shouldn't be an issue.
I'd like to do this to be able to do things like, run YaST remotely to update the server, manage files etc. on the server graphically.
Easiest and simplest way is just run ssh with the following
ssh -l <username> -C -X
On Tue, 2003-03-25 at 09:27, Adam Leach wrote:
But now I'd like to run KDE on the server, and have the display appear on the client. Both machines have T-1 connections, so bandwidth shouldn't be an issue.
Easiest and simplest way is just run ssh with the following
ssh -l <username> -C -X
The -C option may not be needed, but uses compression to allow suitable speeds with smaller bandwidth. The -X activates X and allows applications to be run remotely and displayed on the Local Machine.
Hope that answers your question.
Adam, Thanks for the speedy reply! So, now I've got a command prompt logged in at the server. Now how do I start a KDE session on the server that I can view on the client? Regards, Mark -- ___________________________________________________________________ A Message From... L. Mark Stone http://www.lmstone.com
On Tue, Mar 25, 2003 at 09:31:56AM -0500, L. Mark Stone wrote:
So, now I've got a command prompt logged in at the server. Now how do I start a KDE session on the server that I can view on the client?
If you login with ssh <username>@<server> it becomes more complicated. It is easier, as long as all environmental things are correct to use: ssh -XC <username>@<server> "kde". That works for me, with varying results. There are occasionally terminfo difficulties, depending on video setups on the systems involved, but likely it will work for you similarly. You may need the path to the kde wrapper though.... -- Brad Shelton On Line Exchange http://ole.net Phone: 313-526-1111 Fax: 313-526-3333
export DISPLAY=machine.domain.com:0.0 startkde that should do it L. Mark Stone wrote:
On Tue, 2003-03-25 at 09:27, Adam Leach wrote:
But now I'd like to run KDE on the server, and have the display appear on the client. Both machines have T-1 connections, so bandwidth shouldn't be an issue.
Easiest and simplest way is just run ssh with the following
ssh -l <username> -C -X
The -C option may not be needed, but uses compression to allow suitable speeds with smaller bandwidth. The -X activates X and allows applications to be run remotely and displayed on the Local Machine.
Hope that answers your question.
Adam,
Thanks for the speedy reply!
So, now I've got a command prompt logged in at the server. Now how do I start a KDE session on the server that I can view on the client?
Regards, Mark
On Tue, Mar 25, 2003 at 02:27:50PM +0000, Adam Leach wrote:
Quoting "L. Mark Stone"
: ........ I can connect via SSH from the client to the server no problem (a SuSE KB article detailed how to set up the server to accept remote logins).
But now I'd like to run KDE on the server, and have the display appear on the client. Both machines have T-1 connections, so bandwidth shouldn't be an issue.
I'd like to do this to be able to do things like, run YaST remotely to update the server, manage files etc. on the server graphically.
Easiest and simplest way is just run ssh with the following
ssh -l <username> -C -X
...and to run a remote command:
ssh -XC <username>@
On Tue, 2003-03-25 at 09:15, L. Mark Stone wrote:
I'm trying to replicate the graphical functionality of Windows Terminal Services between two SuSE 8.1 machines without using VNC.
I can connect via SSH from the client to the server no problem (a SuSE KB article detailed how to set up the server to accept remote logins).
But now I'd like to run KDE on the server, and have the display appear on the client. Both machines have T-1 connections, so bandwidth shouldn't be an issue.
I'd like to do this to be able to do things like, run YaST remotely to update the server, manage files etc. on the server graphically.
The ssh man pages are good for setting up ssh, but not for detailing how to do remote graphical logins. The X11 pages are like the rule book for football: you can read the rules and still have no idea how to play the game!
Any help and/or pointers to a How-To, etc, would be appreciated.
Thanks! Mark
-- ___________________________________________________________________ A Message From... L. Mark Stone http://www.lmstone.com
Actually you do not need to do a remote "X" login for this. 1. allow remote computers to display their "X" apps on your display using xhost +(server name) or just xhost + for all hosts. 2. ssh to the remote server. It should automatically set the "DISPLAY" variable to point to your machine. 3. run the command of your choice and it should just show up on your local display. I use this all the time to connect from home to work to use graphical tools on remote machines. Works like a champ. Ken Schneider
On Tue, Mar 25, 2003 at 09:37:06AM -0500, Ken Schneider wrote:
Actually you do not need to do a remote "X" login for this.
1. allow remote computers to display their "X" apps on your display using xhost +(server name) or just xhost + for all hosts.
2. ssh to the remote server. It should automatically set the "DISPLAY" variable to point to your machine.
3. run the command of your choice and it should just show up on your local display.
I use this all the time to connect from home to work to use graphical tools on remote machines. Works like a champ.
It is much more complicated to do that way, but it works when you get it right. I had way too much frustration screwing around with DISPLAY=blah:x.x and when I discovered the wonder of ssh... ahhhhhh. No resolution is perfect, however. -- Brad Shelton On Line Exchange http://ole.net Phone: 313-526-1111 Fax: 313-526-3333
On Tuesday, March 25, 2003 09:15:33 AM -0500 "L. Mark Stone"
On Tue, 2003-03-25 at 10:04, Michael Salmon wrote:
On Tuesday, March 25, 2003 09:15:33 AM -0500 "L. Mark Stone"
wrote: +------ | I'm trying to replicate the graphical functionality of Windows Terminal | Services between two SuSE 8.1 machines without using VNC. +-----X8 You cannot do what you want use ssh, you need to use xdm to do what you want (see the XDMCP section of the Xserver man page). You can use SSH to log into the remote machine and you can run any X11 programme that you want (if you have set the -X flag) but there can only be one window manager for any Xserver which rules out using KDE on the remote machine over an SSH link. It seems that kdm will have remote logins in the future but they aren't implemented yet.
Michael, If only one Window Manager can be active, can I start up the client machine with only a login command prompt, and then login in to the server? That is, run X and KDE on the server, not on the client? Thanks, Mark -- ___________________________________________________________________ A Message From... L. Mark Stone http://www.lmstone.com
"L. Mark Stone"
On Tue, 2003-03-25 at 10:04, Michael Salmon wrote:
On Tuesday, March 25, 2003 09:15:33 AM -0500 "L. Mark Stone"
wrote: +------ | I'm trying to replicate the graphical functionality of Windows Terminal | Services between two SuSE 8.1 machines without using VNC. +-----X8 You cannot do what you want use ssh, you need to use xdm to do what you want (see the XDMCP section of the Xserver man page). You can use SSH to log into the remote machine and you can run any X11 programme that you want (if you have set the -X flag) but there can only be one window manager for any Xserver which rules out using KDE on the remote machine over an SSH link. It seems that kdm will have remote logins in the future but they aren't implemented yet.
It's not quite true: (1) Start an X-server with a terminal emulator on the local machine. (2) Open an "ssh -X" session to the remote machine from the terminal emulator window. (3) Start kde on the remote machine. The kde session (including the window manager) will use the ssh tunnel then.
That is, run X and KDE on the server, not on the client?
No, X server must run where the mouse and keyboard is. -- Alexandr.Malusek@imv.liu.se
On Thursday, March 27, 2003 10:42:34 AM -0500 "L. Mark Stone"
participants (7)
-
Adam Leach
-
Ahbaid Gaffoor
-
Alexandr Malusek
-
Brad Shelton
-
Ken Schneider
-
L. Mark Stone
-
Michael Salmon