![](https://seccdn.libravatar.org/avatar/91f329af21132d4ebd407ddf4ffa326f.jpg?s=120&d=mm&r=g)
I am working on reaching my home box, SuSE 8.1, KDE 3.1.3, from my work box, Windows 2000 Pro, using VNC. I have managed to make the connection, but it uses twm. Should I replace twm in the script with kwm or startkde, or something else? Second, this appears to start a new X session. Can I connect to the session already running? If so, how? Third, I can seem to find a reference for running VNC. I can start it, but how do I stop it? All help and directions to the proper references would be appreciated. -- Bob Rea mailto:gapetard@stsams.org http://www.petard.us What do you say to Jesus when he comes again? Where have you been. You said you were coming right back.
![](https://seccdn.libravatar.org/avatar/1bc6b7160318dfff5e2a01693a5eee49.jpg?s=120&d=mm&r=g)
Quoting Bob Rea
I am working on reaching my home box, SuSE 8.1, KDE 3.1.3, from my work box, Windows 2000 Pro, using VNC. I have managed to make the connection, but it uses twm. Should I replace twm in the script with kwm or startkde, or something else?
Second, this appears to start a new X session. Can I connect to the session already running? If so, how?
Go to Google and type in X0rfbserver. There is at least one other program that does this, but I didn't find any definitive info on it. HTH, Jeffrey
![](https://seccdn.libravatar.org/avatar/0cbaa079ca2ee8e16331bf6fffc796c4.jpg?s=120&d=mm&r=g)
On Tuesday 19 August 2003 16:06, Bob Rea wrote:
I am working on reaching my home box, SuSE 8.1, KDE 3.1.3, from my work box, Windows 2000 Pro, using VNC. I have managed to make the connection, but it uses twm. Should I replace twm in the script with kwm or startkde, or something else?
I usually set my vnc session so that I have to log in the first time. This means I can select the window manager I want to use. To do this, I use the following line to fire off the vnc server session (note, I run the server on my Solaris system at work and connect from linux at home, but I think this should be the same): vncserver -depth 24 -pn -geometry 1024x768 -query localhost It's the "-query localhost" that forces me to log in. I think that I could then have an empty .vnc/xstartup file, but right now I do put in a line to fire off an xterm. But I don't have twm or kwm or startkde or anything else in my xstartup.
Second, this appears to start a new X session. Can I connect to the session already running? If so, how?
Not with the standard vnc (that I know of). I understand that the real vnc (realvnc.com) now has a beta the adds functionality like this, but I haven't tried it yet (but may soon).
Third, I can seem to find a reference for running VNC. I can start it, but how do I stop it?
I assume you mean the server end of vnc. That can be stopped using: vncserver -kill :session_number where session_number is the number assigned when starting the vncserver. HTH, Steve
All help and directions to the proper references would be appreciated.
-- Bob Rea mailto:gapetard@stsams.org http://www.petard.us
What do you say to Jesus when he comes again? Where have you been. You said you were coming right back.
![](https://seccdn.libravatar.org/avatar/2f2cad782a7b4a589d31a1922b552209.jpg?s=120&d=mm&r=g)
On Tue, 2003-08-19 at 18:06, Bob Rea wrote:
I am working on reaching my home box, SuSE 8.1, KDE 3.1.3, from my work box, Windows 2000 Pro, using VNC. I have managed to make the connection, but it uses twm. Should I replace twm in the script with kwm or startkde, or something else?
you can change the window manager vnc uses by editing your ~/.vnc/xstartup file. The last line in the file is the window manager it uses. yours should be something like 'twm &' (without the quotes of course). change the twm to kde or whatever you wish.
Second, this appears to start a new X session. Can I connect to the session already running? If so, how?
yes, when you run vncserver it does create a separate x-server (hence the reason to have to connect to :1 instead of :0 (which is the local instance of X) As for connecting to an existing X session, I'm not sure how to set that up. They have something in SuSE 8.2 where vnc will share an existing x-session, but you'd have to look into it.
Third, I can seem to find a reference for running VNC. I can start it, but how do I stop it? vncserver -kill <session>
<session> by default is ':1' if you are already running another instance of X. so your command line would look like $> vncserver -kill :1
All help and directions to the proper references would be appreciated.
if you really want to find out about how to use vncserver, type 'man vncserver' at the command prompt.
-- Bob Rea mailto:gapetard@stsams.org http://www.petard.us
What do you say to Jesus when he comes again? Where have you been. You said you were coming right back.
-- Preston Kutzner | IT Manager The herd instinct among economists makes sheep look like independent thinkers.
![](https://seccdn.libravatar.org/avatar/0cbaa079ca2ee8e16331bf6fffc796c4.jpg?s=120&d=mm&r=g)
On Wednesday 20 August 2003 17:19, Preston Kutzner wrote:
On Tue, 2003-08-19 at 18:06, Bob Rea wrote:
All help and directions to the proper references would be appreciated.
if you really want to find out about how to use vncserver, type 'man vncserver' at the command prompt.
Except I've never found a man page for vncserver (or vncviewer). But you can get a list of possible options with "Xvnc -help" (isn't that obvious?). I'd also suggest going to realvnc.com and looking at their documentation. Steve
participants (4)
-
Bob Rea
-
Jeffrey L. Taylor
-
Preston Kutzner
-
Steve