Re: [Scottish] Sending display to another machine

2003-09-26 Thread Allan Bruce
Sorry, sent this to ray, but should have been to the group!

- Original Message - 
From: ray [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 26, 2003 8:37 AM
Subject: Re: [Scottish] Sending display to another machine


 On Thursday 25 September 2003 17:11, Allan Bruce wrote:
  the windows and taskbar appear for a few
  milliseconds and then disappear.  So there is nothing I can on the
desktop
  at all

 I do not understand.  As the KDE machine is headless, I take it that you
are
 having problems with the MS-Windows box?  If you want specific rather than
 generic help you will have to be a bit more specific about your set-up and
 what you have done/installed where.

ok, specifics inline!


 Are you using a standard Linux distribution? If so which one?

Mandrake 9.1

 What version of KDE are you using?

3.1.3 IIRC

 What version of XFree86 / VNC is installed?

X 4.0.3, RealVNC 3.3.7

 Are you in run level 5?

nope, 3

 Is there a special reason for running the (many years obsolete/insecure)
 telnet daemon rather than openssh?

yes, I am within my local LAN so security is not an issue.  I use SSH to
remote login to work, but I have not set up an ssh server on the linux box
yet.  Any hints as to how I start with this?


 What version of MS-Windows are you using?

XP SP1

 Have you installed an X server and/or VNC on the MS box? If so which
versions?

just TightVNC as per your recommendation v1.2.9 (also tried RealVNC but no
luck)

 Is the  MS-Windows installation clean or do you have anti-virus, port
 blocking, etc. software running?

No anit-virus and no port blocking - I have IPv6 installed on both machines
though.

 If the reason for telnet is because you do not have a MS-Windows ssh
client,
 you should get putty.exe and set the keyboard for the Linux session to
 XtermR6.

 Is your intention to be able to open a window on th MS box and perform a
 graphical login to a KDE session on the Linux box?

That would be great.  I want a decent looking desktop, not just the plain X,
but if thats all I can get then it will do (as long as I can get access to
the (dare I say it) start menu)

Thanks
Allan


___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Sending display to another machine

2003-09-26 Thread ray

  Are you using a standard Linux distribution? If so which one?
 Mandrake 9.1
I do not use this, I use SuSE 8.2, but someone else will be able to help here.  
For setting up VNC the major point is; does are you using xinetd or inetd?

  What version of KDE are you using?
 3.1.3 IIRC

  What version of XFree86 / VNC is installed?
 X 4.0.3, RealVNC 3.3.7

  Are you in run level 5?
 nope, 3
_You have to be in level 5 for X_  (init 5 as root). This should be in the 
Mandrake stuff to go to run level 5 on booting.

  Is there a special reason for running the (many years obsolete/insecure)
  telnet daemon rather than openssh?

 yes, I am within my local LAN so security is not an issue.  I use SSH to
 remote login to work, but I have not set up an ssh server on the linux box
 yet.  Any hints as to how I start with this?
But you said I have got my linux machine now setup and running as a router 
and mail/web server. so you should not be running the telnet daemon.  Sshd 
is normally installed by default; a Mandrake 9.1 user should be able to help 
here.  Why not just try a ssh to your linux box?

  What version of MS-Windows are you using?
 XP SP1
...
 just TightVNC as per your recommendation v1.2.9 (also tried RealVNC but no
 luck)
 No anit-virus and no port blocking - I have IPv6 installed on both machines
 though.
Then when you have configured VNC on your linux box, you should be able to run 
TightVNV (Fast Compression)* and open a window into kdm.

-- 
ray


___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Sending display to another machine

2003-09-26 Thread Allan Bruce

- Original Message - 
From: ray [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 26, 2003 10:20 AM
Subject: Re: [Scottish] Sending display to another machine



   Are you using a standard Linux distribution? If so which one?
  Mandrake 9.1
 I do not use this, I use SuSE 8.2, but someone else will be able to help
here.
 For setting up VNC the major point is; does are you using xinetd or inetd?

I am using xinetd


   What version of KDE are you using?
  3.1.3 IIRC
 
   What version of XFree86 / VNC is installed?
  X 4.0.3, RealVNC 3.3.7

   Are you in run level 5?
  nope, 3
 _You have to be in level 5 for X_  (init 5 as root). This should be in the
 Mandrake stuff to go to run level 5 on booting.

I know how to do this, so thats no problem


   Is there a special reason for running the (many years
obsolete/insecure)
   telnet daemon rather than openssh?
 
  yes, I am within my local LAN so security is not an issue.  I use SSH to
  remote login to work, but I have not set up an ssh server on the linux
box
  yet.  Any hints as to how I start with this?
 But you said I have got my linux machine now setup and running as a
router
 and mail/web server. so you should not be running the telnet daemon.
Sshd
 is normally installed by default; a Mandrake 9.1 user should be able to
help
 here.  Why not just try a ssh to your linux box?

I did, and it worked just by starting the daemon - no keys just now, but
that will come.


   What version of MS-Windows are you using?
  XP SP1
 ...
  just TightVNC as per your recommendation v1.2.9 (also tried RealVNC but
no
  luck)
  No anit-virus and no port blocking - I have IPv6 installed on both
machines
  though.
 Then when you have configured VNC on your linux box, you should be able to
run
 TightVNV (Fast Compression)* and open a window into kdm.


I'll let you know how I get on!
Thanks for the help
Allan


___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Sending display to another machine

2003-09-26 Thread ray
On Friday 26 September 2003 10:40, Allan Bruce wrote:
 I am getting connected, and I see the backdrop of KDE
 but just no icons, menus or windows.  Well, sometimes they appear for a few
 milliseconds before disappearing, but mostly they are never there.  I do
 get the clipboard icon until I click it, and then it disappears too!

It seems that you are connecting to a running KDE session.  That session will 
locally be required to grant permission for access.  The first  X session 
will be 0 which is the default for TightVNC if you do not specify a session 
number.  
You do not want to be running KDE when you connect with VNC.  You need a local 
VNC service running from xinetd to start kdm, or the Mandrake equivalent.  
This will permit login to a new KDE session via VNC. 

-- 
ray


___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Sending display to another machine

2003-09-26 Thread Allan Bruce
Still no luck :o(
running as init level 5, vnc connects and I still just get the backdrop.
Perhaps I should give up with VNC, unless anybody knows that this is just a
settings problem?
Allan


___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Sending display to another machine

2003-09-26 Thread ray
On Friday 26 September 2003 11:24, Allan Bruce wrote:
 Although when I start vncserver, it does say

 New 'X' desktop os Kes:1

I do not understand when I start vncserver  and and X isnt running before I 
start it..  

I configure /etc/xinetd.d/vnc  to start KDM in response to a remote vnc 
connection.  This allows a KDE login, which starts an X session with KDE 
which displays in the remote VNC window.

But I do not know exactly what happens in Mandrake 9.1.  Colin told me how he 
set up his work SuSE box to allow disadvantaged colleagues to run a KDE 
session on his workstation from their WinXP boxes.  I mostly do things the 
other way round and use vncviewer from Linux to support remote users running 
Win2k/TightVNC.

-- 
ray


___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Sending display to another machine

2003-09-25 Thread Rory Gibson
The simplest way to route the display back to a UN*X box is simply to use
SSH instead of Telnet- it'll tunnel X by default.
As for a Windows box, I'm not sure - does Cygwin include an X server?
Or you can pay out for Hummingbird Exceed (£££).
  - Rory



Allan Bruce said:
 Hi there,

 I have got my linux machine now setup and running as a router and mail/web
 server.  I have it stashed away with no monitor/mouse/keyb so that it is
 less ugly to my spare room (or at least for the wife!).  I can telnet to
 it
 fine, but I want to be able to get a graphical display of it also.  Is
 there
 a program I can use to do this? I have tried VNC but it doesnt seem to
 work
 well with the new KDE - I dont get any icons or menus, which renders it
 pretty useless.
 To make matters more difficult, I want to route the display back to a
 windows machine if possible.  Does anybody know if (and how) I can do
 this?

 Thanks
 Allan


 ___
 Scottish mailing list
 [EMAIL PROTECTED]
 http://mailman.lug.org.uk/mailman/listinfo/scottish



___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Sending display to another machine

2003-09-25 Thread ray
On Thursday 25 September 2003 14:43, Allan Bruce wrote:
 I have tried VNC but it doesnt seem to work
 well with the new KDE - I dont get any icons or menus, which renders it
 pretty useless.

Presumably you want a remote connection to the graphical login window (kdm)

Message I got from Colin McKinnon six weeks ago:
---
Hi Ray,

I solved the VNC thing - the problem was that although I get a VNC session 
runing after I was logged into the computer, I wanted to be able to initiate 
the session via VNC (which doesn't have intrinsic support for usernames and 
PAM).

All I needed to do was to enable the vnc service in xinetd.d and startup 
xinetd. Hey presto - KDM.

(OK, its probably not as efficient as using the X Window protocol for writing 
changes to the terminal screen, but it saves a lot of fiddling about with 
fonts and colourmaps)

Colin
---
This refers to the KDE 3.1.3 on SuSE 8.2 

 To make matters more difficult, I want to route the display back to a
 windows machine if possible.  Does anybody know if (and how) I can do this?

Use TightVNC on the MS-Win box (we were calling them windows on graphical BSD 
boxes before there was such a thing as MS-DOS  .  when I were a lad) 
and all will be well.  It really is easy.

Hmm Kmail isn't handling replying to a list very well.  No its the lug mailman 
omitting the Reply-To: header.
-- 
 ray


___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


RE: [Scottish] Sending display to another machine

2003-09-25 Thread Andrew Berry
The way I do it with servers at work is to run Cygwin with X Windows and
then ssh to the server and export the display from that to the IP address
that is running Cygwin.

HTH

Andrew

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allan Bruce
Sent: 25 September 2003 14:44
To: [EMAIL PROTECTED]
Subject: [Scottish] Sending display to another machine


Hi there,

I have got my linux machine now setup and running as a router and mail/web
server.  I have it stashed away with no monitor/mouse/keyb so that it is
less ugly to my spare room (or at least for the wife!).  I can telnet to it
fine, but I want to be able to get a graphical display of it also.  Is there
a program I can use to do this? I have tried VNC but it doesnt seem to work
well with the new KDE - I dont get any icons or menus, which renders it
pretty useless. To make matters more difficult, I want to route the display
back to a windows machine if possible.  Does anybody know if (and how) I can
do this?

Thanks
Allan


___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish



___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish


Re: [Scottish] Sending display to another machine

2003-09-25 Thread Philip Ward
Yeah, cygwin does include an X server, or you could visit wiredx.net 
where you'll get a java X server that runs inside your browser. cygwin 
is probably the best option if you've got it on disk or have broadband. 
Wiredx is probably better if you're on dialup and don't have the disks.
You can get cygwin from cygwin.com (or trawl through your old Linux 
format disks I'm sure it's been on one in the past year).
Make sure that your server has a display manager running (runlevel 5 on 
Redhat and Mandrake) and that the display manager can accept XDMCP queries.
Once cygwin is on your Windows box run a shell and type:
XWin.exe -query server ip address :0
and you'll get a full screen X display from the server.

Phil.

Rory Gibson wrote:
The simplest way to route the display back to a UN*X box is simply to use
SSH instead of Telnet- it'll tunnel X by default.
As for a Windows box, I'm not sure - does Cygwin include an X server?
Or you can pay out for Hummingbird Exceed (£££).
  - Rory




___
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish