[newbie] VNC Server startup script
My vnc server now sort of works! I set the password, edited hosts.allow and my pc side now asks me for a password and presents me with a red screen. The problem I have is that it looks as though it has nothing to do when it opens the window. It sits there with the X style (not kde or gnome) watch icon. This is what is in '/root/.vnc/xstartup': (between the ***'s) *** #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc *** My log says this: *** 25/03/05 13:00:11 Got connection from client 10.0.0.11 25/03/05 13:00:11 Protocol version 3.5 25/03/05 13:00:11 Ignoring minor version mismatch 25/03/05 13:00:19 Full-control authentication passed by 10.0.0.11 25/03/05 13:00:19 Pixel format for client 10.0.0.11: 25/03/05 13:00:19 32 bpp, depth 24, little endian 25/03/05 13:00:19 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 25/03/05 13:00:19 no translation needed 25/03/05 13:00:19 Using tight encoding for client 10.0.0.11 25/03/05 13:00:19 rfbProcessClientNormalMessage: ignoring unknown encoding 8 25/03/05 13:00:19 Enabling X-style cursor updates for client 10.0.0.11 25/03/05 13:00:19 Enabling cursor position updates for client 10.0.0.11 25/03/05 13:00:19 Using image quality level 6 for client 10.0.0.11 25/03/05 13:00:19 Enabling LastRect protocol extension for client 10.0.0.11 25/03/05 13:00:19 rfbProcessClientNormalMessage: ignoring unknown encoding -223 25/03/05 13:01:05 Client 10.0.0.11 gone 25/03/05 13:01:05 Statistics: 25/03/05 13:01:05 key events received 1, pointer events 129 25/03/05 13:01:05 framebuffer updates 1, rectangles 4, bytes 122 25/03/05 13:01:05 LastRect markers 1, bytes 12 25/03/05 13:01:05 cursor shape updates 1, bytes 82 25/03/05 13:01:05 cursor position updates 1, bytes 12 25/03/05 13:01:05 tight rectangles 1, bytes 16 25/03/05 13:01:05 raw bytes equivalent 3145740, compression ratio 196608.75 *** Does it need something else to startup properly? It did sit there for about 3 minutes before I closed the window. Did I include enough info? Send instant messages to your online friends http://uk.messenger.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC Server startup script
On Friday 25 March 2005 13:34, DAN WALKER wrote: My vnc server now sort of works! I set the password, edited hosts.allow and my pc side now asks me for a password and presents me with a red screen. The problem I have is that it looks as though it has nothing to do when it opens the window. It sits there with the X style (not kde or gnome) watch icon. This is what is in '/root/.vnc/xstartup': (between the ***'s) *** #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc *** You are allowing remote users to log in as root. As you know logging in as root is discouraged. It is a security risk. Assuming you used the Mandrake tightvnc-server package then you have a set up file for your vnc server in /etc/sysconfig/vncservers This file defines the servers to be started when you boot. The line VNCSERVERS=1:myusername will start a vnc server on screen one with the user name 'myusername' chkconfig vncserver on service vncserver start will start the vnc service automatically at boot. In your example you are starting the vnc server with 'exec /etc/X11/xinit/xinitrc' if you look in that file you will see it is going to start X without a Window Manager. To start in KDE for example in your /home/myusername/.vnc/xstartup file put startkde To start fluxbox put fluxbox to start IceWm put icewm HTH derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC Server startup script
Derek Jennings wrote: On Friday 25 March 2005 13:34, DAN WALKER wrote: My vnc server now sort of works! I set the password, edited hosts.allow and my pc side now asks me for a password and presents me with a red screen. The problem I have is that it looks as though it has nothing to do when it opens the window. It sits there with the X style (not kde or gnome) watch icon. This is what is in '/root/.vnc/xstartup': (between the ***'s) *** #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc *** You are allowing remote users to log in as root. As you know logging in as root is discouraged. It is a security risk. Assuming you used the Mandrake tightvnc-server package then you have a set up file for your vnc server in /etc/sysconfig/vncservers This file defines the servers to be started when you boot. The line VNCSERVERS=1:myusername will start a vnc server on screen one with the user name 'myusername' chkconfig vncserver on service vncserver start will start the vnc service automatically at boot. In your example you are starting the vnc server with 'exec /etc/X11/xinit/xinitrc' if you look in that file you will see it is going to start X without a Window Manager. In my 10.1 setup, the last line of this file is: exec /etc/X11/Xsession $* This is the script that normaly starts X. If a desktop is not specified when calling the script, it will use the one in the user's home directory .desktop, if there is one, or the one specified in /etc/sysconfig/desktop. To start in KDE for example in your /home/myusername/.vnc/xstartup file put startkde To start fluxbox put fluxbox to start IceWm put icewm HTH derek With the problem he is having, I suspect that there may not be any window manager installed. For that matter, xterm and rxvt may not be installed. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC Server startup script
--- Derek Jennings [EMAIL PROTECTED] wrote: On Friday 25 March 2005 13:34, DAN WALKER wrote: My vnc server now sort of works! I set the password, edited hosts.allow and my pc side now asks me for a password and presents me with a red screen. The problem I have is that it looks as though it has nothing to do when it opens the window. It sits there with the X style (not kde or gnome) watch icon. This is what is in '/root/.vnc/xstartup': (between the ***'s) *** #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc *** You are allowing remote users to log in as root. As you know logging in as root is discouraged. It is a security risk. Assuming you used the Mandrake tightvnc-server package then you have a set up file for your vnc server in /etc/sysconfig/vncservers This file defines the servers to be started when you boot. The line VNCSERVERS=1:myusername will start a vnc server on screen one with the user name 'myusername' chkconfig vncserver on service vncserver start will start the vnc service automatically at boot. In your example you are starting the vnc server with 'exec /etc/X11/xinit/xinitrc' if you look in that file you will see it is going to start X without a Window Manager. To start in KDE for example in your /home/myusername/.vnc/xstartup file put startkde To start fluxbox put fluxbox to start IceWm put icewm HTH derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org I did as you have suggested but I am still getting nowhere... This is what the logs say: 25/03/05 14:29:58 Got connection from client 10.0.0.11 25/03/05 14:29:58 Protocol version 3.5 25/03/05 14:29:58 Ignoring minor version mismatch 25/03/05 14:30:01 Full-control authentication passed by 10.0.0.11 25/03/05 14:30:01 Pixel format for client 10.0.0.11: 25/03/05 14:30:01 32 bpp, depth 24, little endian 25/03/05 14:30:01 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 25/03/05 14:30:01 no translation needed 25/03/05 14:30:01 Using tight encoding for client 10.0.0.11 25/03/05 14:30:01 rfbProcessClientNormalMessage: ignoring unknown encoding 8 25/03/05 14:30:01 Enabling X-style cursor updates for client 10.0.0.11 25/03/05 14:30:01 Enabling cursor position updates for client 10.0.0.11 25/03/05 14:30:01 Using image quality level 6 for client 10.0.0.11 25/03/05 14:30:01 Enabling LastRect protocol extension for client 10.0.0.11 25/03/05 14:30:01 rfbProcessClientNormalMessage: ignoring unknown encoding -223 This is what my xstartup now says (so you can trust I have done it right): #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc startkde cgkconfig thingy said [ok] (i killed the running vncserver) Send instant messages to your online friends http://uk.messenger.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC Server startup script
On Friday 25 March 2005 14:51, DAN WALKER wrote: I did as you have suggested but I am still getting nowhere... This is what my xstartup now says (so you can trust I have done it right): #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc startkde You do not need the 'exec /etc/X11/xinit/xinitrc' line if you have the 'startkde ' line derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC Server startup script
On Friday 25 March 2005 15:07, Derek Jennings wrote: On Friday 25 March 2005 14:51, DAN WALKER wrote: I did as you have suggested but I am still getting nowhere... This is what my xstartup now says (so you can trust I have done it right): #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc startkde You do not need the 'exec /etc/X11/xinit/xinitrc' line if you have the 'startkde ' line derek I should also have pointed out that the ~/.vnc/xstartup file has to be executable. Lots of people get caught out by that one :-) derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC Server startup script
I removed the line you suggested and all is fine. I can now sit downstairs, mess with the machine upstairs while looking after my little baby boy, thanks to all you guys. Thanks.Derek Jennings [EMAIL PROTECTED] wrote: On Friday 25 March 2005 15:07, Derek Jennings wrote: On Friday 25 March 2005 14:51, DAN WALKER wrote: I did as you have suggested but I am still getting nowhere... This is what my xstartup now says (so you can trust I have done it right): #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc startkde You do not need the 'exec /etc/X11/xinit/xinitrc' line if you have the 'startkde ' line derekI should also have pointed out that the ~/.vnc/xstartup file has to be executable. Lots of people get caught out by that one :-)derek-- www.jennings.homelinux.nethttp://twiki.mdklinuxfaq.orgWant to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.comJoin the Club : http://www.mandrakeclub.comSend instant messages to your online friends http://uk.messenger.yahoo.com
[newbie] VNC for Mandrake?
Anyone know how to setup a VNC server for mandrake? I have it working on my suse9.2 box, but I just cant seem to fathom it out (suse did provide me with a easy way to install it L ). Running mandrake 10.1 3-cd version. Need vnc access only from local network, and either via a js-based plugin for a webpage (a-la suse) or using tightvnc for windows (or something similar) I did a google for it but could onl pull up limited information that basically made no sense L TIA, Stephen Registered Linux User : 381893 Register now at : http://counter.li.org/ Sent by freemail.servebeer.com Signup for your free 100mb Mail account today! Full pop3/smtp accounts available!!
Re: [newbie] VNC for Mandrake?
Stephen Furlong wrote: Anyone know how to setup a VNC server for mandrake? I have it working on my suse9.2 box, but I just cant seem to fathom it out (suse did provide me with a easy way to install it L ). Running mandrake 10.1 3-cd version. Need vnc access only from local network, and either via a js-based plugin for a webpage (a-la suse) or using tightvnc for windows (or something similar) I did a google for it but could onl pull up limited information that basically made no sense L TIA, Stephen You might want to install the tightvnc-server package. (urpmi tightvnc-server) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] VNC for Mandrake?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mikkel L. Ellertson Sent: 17 March 2005 23:13 To: newbie@linux-mandrake.com Subject: Re: [newbie] VNC for Mandrake? Stephen Furlong wrote: Anyone know how to setup a VNC server for mandrake? I have it working on my suse9.2 box, but I just cant seem to fathom it out (suse did provide me with a easy way to install it L ). Running mandrake 10.1 3-cd version. Need vnc access only from local network, and either via a js-based plugin for a webpage (a-la suse) or using tightvnc for windows (or something similar) I did a google for it but could onl pull up limited information that basically made no sense L TIA, Stephen You might want to install the tightvnc-server package. (urpmi tightvnc-server) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! [quote] unable to retrieve pathname for removable medium Installation DVD (cdrom1) eject: unable to find or open device for: `/dev/hdd' Please insert the medium named Installation DVD on device [/dev/hdd] Press Enter when ready... medium Installation DVD (cdrom1) is not selected [/quote] Take it removing the dvd-rom drive used to install mandrake wasn't a good idea :( Care to point me in the right direction? Ive dumped the rpm in a folder on the machine, and am currently only able to install via the command-line input in webmin. TIA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC for Mandrake?
Stephen Furlong wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mikkel L. Ellertson Sent: 17 March 2005 23:13 To: newbie@linux-mandrake.com Subject: Re: [newbie] VNC for Mandrake? Stephen Furlong wrote: Anyone know how to setup a VNC server for mandrake? I have it working on my suse9.2 box, but I just cant seem to fathom it out (suse did provide me with a easy way to install it L ). Running mandrake 10.1 3-cd version. Need vnc access only from local network, and either via a js-based plugin for a webpage (a-la suse) or using tightvnc for windows (or something similar) I did a google for it but could onl pull up limited information that basically made no sense L TIA, Stephen You might want to install the tightvnc-server package. (urpmi tightvnc-server) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! [quote] unable to retrieve pathname for removable medium Installation DVD (cdrom1) eject: unable to find or open device for: `/dev/hdd' Please insert the medium named Installation DVD on device [/dev/hdd] Press Enter when ready... medium Installation DVD (cdrom1) is not selected [/quote] Take it removing the dvd-rom drive used to install mandrake wasn't a good idea :( Care to point me in the right direction? Ive dumped the rpm in a folder on the machine, and am currently only able to install via the command-line input in webmin. TIA rpm -ivh rpm name Also, to stop this problem from happening in the future, you may want to run urpmi.removemedia -a if the CD's are the only media, or run urpmi.removemedia cdrom1, urpmi.removemedia cdrom2, etc to remove the CD-ROM sources. You can use urpmi.addmedia to add in web sources and/or sources on the local network. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] VNC for Mandrake?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mikkel L. Ellertson Sent: 17 March 2005 23:42 To: newbie@linux-mandrake.com Subject: Re: [newbie] VNC for Mandrake? Stephen Furlong wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mikkel L. Ellertson Sent: 17 March 2005 23:13 To: newbie@linux-mandrake.com Subject: Re: [newbie] VNC for Mandrake? Stephen Furlong wrote: Anyone know how to setup a VNC server for mandrake? I have it working on my suse9.2 box, but I just cant seem to fathom it out (suse did provide me with a easy way to install it L ). Running mandrake 10.1 3-cd version. Need vnc access only from local network, and either via a js-based plugin for a webpage (a-la suse) or using tightvnc for windows (or something similar) I did a google for it but could onl pull up limited information that basically made no sense L TIA, Stephen You might want to install the tightvnc-server package. (urpmi tightvnc-server) Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! [quote] unable to retrieve pathname for removable medium Installation DVD (cdrom1) eject: unable to find or open device for: `/dev/hdd' Please insert the medium named Installation DVD on device [/dev/hdd] Press Enter when ready... medium Installation DVD (cdrom1) is not selected [/quote] Take it removing the dvd-rom drive used to install mandrake wasn't a good idea :( Care to point me in the right direction? Ive dumped the rpm in a folder on the machine, and am currently only able to install via the command-line input in webmin. TIA rpm -ivh rpm name Also, to stop this problem from happening in the future, you may want to run urpmi.removemedia -a if the CD's are the only media, or run urpmi.removemedia cdrom1, urpmi.removemedia cdrom2, etc to remove the CD-ROM sources. You can use urpmi.addmedia to add in web sources and/or sources on the local network. Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! -- Right, step one done :) rpm -ivh tightvnc-server-1.2.9-4mdk.i586.rpm Preparing... ## tightvnc-server ## (ignore line breaks) So how do I configure the server now? Had a quick look on tightvnc's webpage, and the suggested vncserver command pulls up a sh: line 1: vncserver: command not found error It is installed, webmin see's it as an installed rmp. Am I missing something simple? Or do I need to write a config file? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] VNC for Mandrake?
Also don't know if this makes any difference, but when I try to start the vnc server, im getting an error saying that Xvnc is stopped. Which is strange since I cant seem to find where to start it :( Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC for Mandrake?
On Thursday 17 March 2005 07:03 pm, Stephen Furlong wrote: Right, step one done :) rpm -ivh tightvnc-server-1.2.9-4mdk.i586.rpm Preparing... ## tightvnc-server ## (ignore line breaks) So how do I configure the server now? Had a quick look on tightvnc's webpage, and the suggested vncserver command pulls up a sh: line 1: vncserver: command not found error Well, line 1 of the vncserver startup script says #!/usr/bin/perl, so I would guess that perl is not installed. 'urpmi perl' Also, you have a choice to run vncserver as a service, or as a user. Run it as a service, so it automatically starts on reboot and is always available, by editing /etc/sysconfig/vncserver and then doing 'service vnc start' The other option is to just run it as user and this is nice if you don't want it running all the time by just typing vncserver as a user. It will use the default desktop or the desktop specified in ~/.desktop, which is what I do because I run flux in my vnc sessions, but KDE as a local user. -- /g Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] VNC for Mandrake?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Meyer Sent: 18 March 2005 00:31 To: newbie@linux-mandrake.com Subject: Re: [newbie] VNC for Mandrake? On Thursday 17 March 2005 07:03 pm, Stephen Furlong wrote: Right, step one done :) rpm -ivh tightvnc-server-1.2.9-4mdk.i586.rpm Preparing... ## tightvnc-server ## (ignore line breaks) So how do I configure the server now? Had a quick look on tightvnc's webpage, and the suggested vncserver command pulls up a sh: line 1: vncserver: command not found error Well, line 1 of the vncserver startup script says #!/usr/bin/perl, so I would guess that perl is not installed. 'urpmi perl' Also, you have a choice to run vncserver as a service, or as a user. Run it as a service, so it automatically starts on reboot and is always available, by editing /etc/sysconfig/vncserver and then doing 'service vnc start' The other option is to just run it as user and this is nice if you don't want it running all the time by just typing vncserver as a user. It will use the default desktop or the desktop specified in ~/.desktop, which is what I do because I run flux in my vnc sessions, but KDE as a local user. -- /g - Ok, im assuming ive got perl installed as im semi-working. I can now start the vncserver service, and its running successfully. But wheni go to connect using tightvnc for windows I just get a grey box with the big black X as my mouse pointer. Argh I feel im almost there!!! Woujldnt mind but ill probably only use it 4/5 times in my life! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC for Mandrake?
Greg Meyer wrote: On Thursday 17 March 2005 07:03 pm, Stephen Furlong wrote: Right, step one done :) rpm -ivh tightvnc-server-1.2.9-4mdk.i586.rpm Preparing... ## tightvnc-server ## (ignore line breaks) So how do I configure the server now? Had a quick look on tightvnc's webpage, and the suggested vncserver command pulls up a sh: line 1: vncserver: command not found error Well, line 1 of the vncserver startup script says #!/usr/bin/perl, so I would guess that perl is not installed. 'urpmi perl' Also, you have a choice to run vncserver as a service, or as a user. Run it as a service, so it automatically starts on reboot and is always available, by editing /etc/sysconfig/vncserver and then doing 'service vnc start' The other option is to just run it as user and this is nice if you don't want it running all the time by just typing vncserver as a user. It will use the default desktop or the desktop specified in ~/.desktop, which is what I do because I run flux in my vnc sessions, but KDE as a local user. I should also add that if you do not have a window manager installed, you are going to have problems when starting VNC. I am not thinking real well today - I should have asked you what you are trying to do, instead of just helping you do what you are asking. (This is the newbie list, after all...) Do you want to be able to administer this machine remotely, run programs on this machine controlled/displayed on a remote machine, or what? Also, what OS will the other machine be running? Are you comfortable doing things from the command line on the server? Or do you want the GUI interface? As with most things in Linux, there is more then one way to do the same thing, and the best option for you may not be the one you think it is... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] VNC for Mandrake?
(ignore the top-post, I too am too tired tonite :() Ok basically im more of an intermediate when it comes to linux. I don't mind a bit of command-line work though I am usually just following FAQ's/HOWTO's when doing so, and learning from such experiences. Im really hoping I could get a fully-working VNC into this server, as its how I R-admin my other linux server (a suse box) and it means I get to user linux more whilst still running my windows os (keeps he missus happy, she don't like linux, and the littl'un loves his games lol). So its not a necessity, as I have webmin installed and working fine so I can do most of what I need to do from there (install apps/configure apache/samba, so on and so forth) So its more convenience. Client machine is a winxp pro box, using tightvnc's own windows app. And I think that's about it really. Im just puzzled as it worked straight out of the box with suse, but it isn't with mandrake (a bit off-putting in my eyes, as my suse disks are eying me up atm lol) but im after trying out a different distro to see how stable it is for server applications. Anyhow, TIA to any more replies and thanks for the help so far :) ive at least got my vnc proggie to connect, now I just got to figure out why I cant hit a login screen. Stats of server - Amd t/bird 1.3ghz 128mb ram (ouch I know, but it runs!!) 30gb hdd g-force MX-2 AGP VGA Mandrake 10.1 (downloadable DVD version, not pro version) tightvnc-server-1.2.9-4mdk.i586.rpm KDE3 point something (did updates this morning, cant remember which point something it is, but it works locally fine) Ask if you need anything more info wise :) Stephen PS Again, sorry for top-post --- Sent by freemail.servebeer.com Signup for your free 100mb Mail account today! Full pop3/smtp accounts available!! --- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mikkel L. Ellertson Sent: 18 March 2005 01:03 To: newbie@linux-mandrake.com Subject: Re: [newbie] VNC for Mandrake? Greg Meyer wrote: On Thursday 17 March 2005 07:03 pm, Stephen Furlong wrote: Right, step one done :) rpm -ivh tightvnc-server-1.2.9-4mdk.i586.rpm Preparing... ## tightvnc-server ## (ignore line breaks) So how do I configure the server now? Had a quick look on tightvnc's webpage, and the suggested vncserver command pulls up a sh: line 1: vncserver: command not found error Well, line 1 of the vncserver startup script says #!/usr/bin/perl, so I would guess that perl is not installed. 'urpmi perl' Also, you have a choice to run vncserver as a service, or as a user. Run it as a service, so it automatically starts on reboot and is always available, by editing /etc/sysconfig/vncserver and then doing 'service vnc start' The other option is to just run it as user and this is nice if you don't want it running all the time by just typing vncserver as a user. It will use the default desktop or the desktop specified in ~/.desktop, which is what I do because I run flux in my vnc sessions, but KDE as a local user. I should also add that if you do not have a window manager installed, you are going to have problems when starting VNC. I am not thinking real well today - I should have asked you what you are trying to do, instead of just helping you do what you are asking. (This is the newbie list, after all...) Do you want to be able to administer this machine remotely, run programs on this machine controlled/displayed on a remote machine, or what? Also, what OS will the other machine be running? Are you comfortable doing things from the command line on the server? Or do you want the GUI interface? As with most things in Linux, there is more then one way to do the same thing, and the best option for you may not be the one you think it is... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC for Mandrake?
Stephen Furlong wrote: Ok basically im more of an intermediate when it comes to linux. I don't mind a bit of command-line work though I am usually just following FAQ's/HOWTO's when doing so, and learning from such experiences. Im really hoping I could get a fully-working VNC into this server, as its how I R-admin my other linux server (a suse box) and it means I get to user linux more whilst still running my windows os (keeps he missus happy, she don't like linux, and the littl'un loves his games lol). So its not a necessity, as I have webmin installed and working fine so I can do most of what I need to do from there (install apps/configure apache/samba, so on and so forth) So its more convenience. Client machine is a winxp pro box, using tightvnc's own windows app. And I think that's about it really. Im just puzzled as it worked straight out of the box with suse, but it isn't with mandrake (a bit off-putting in my eyes, as my suse disks are eying me up atm lol) but im after trying out a different distro to see how stable it is for server applications. Anyhow, TIA to any more replies and thanks for the help so far :) ive at least got my vnc proggie to connect, now I just got to figure out why I cant hit a login screen. Stats of server - Amd t/bird 1.3ghz 128mb ram (ouch I know, but it runs!!) 30gb hdd g-force MX-2 AGP VGA Mandrake 10.1 (downloadable DVD version, not pro version) tightvnc-server-1.2.9-4mdk.i586.rpm KDE3 point something (did updates this morning, cant remember which point something it is, but it works locally fine) Ask if you need anything more info wise :) Stephen Stephen, You will probably want to edit /etc/sysconfig/vncservers, as well as doing a su - username -C /usr/X11R6/bin/vncpasswd and setting the password for VNC. (Please do not run the VNC server as root.) If you need to have the display manager running on teh VNC server, then I guess I can look into how to do that, unless someone else has already set that up, and wants to cover how to do it... Mikkel -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] vnc over ssh
Hello all, I am trying figure out what my issue with connecting to my linux machine via vnc over ssh. I had no problem connecting to my machine via ssh but my window manager got all screwed up. It was grey and black just as is was before I specified the session I wanted to displayed. Is there an extra entry I need to make in my xstartup script for vnc to work via ssh? I was told that when connecting via vnc is manages to start anther x11 session but I don't know how valid that statement iss since it seems to work without using ssh. Any help is appreciated.. L Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] vnc over ssh
Lovell Mcilwain wrote: Hello all, I am trying figure out what my issue with connecting to my linux machine via vnc over ssh. I had no problem connecting to my machine via ssh but my window manager got all screwed up. It was grey and black just as is was before I specified the session I wanted to displayed. Is there an extra entry I need to make in my xstartup script for vnc to work via ssh? I was told that when connecting via vnc is manages to start anther x11 session but I don't know how valid that statement iss since it seems to work without using ssh. Any help is appreciated.. L Correct. When you start vncserver :nn, you're starting another desktop environment like kde. Then, you're logging into that. Unlike Windows, you're not going into the current desktop. You *could* go into your current desktop if you run K-Internet-RemoteAccess-VirtualDesktopConnection. Then choose Allow Control of My Machine, enter a password to control your desktop. This way of controlling your current desktop if inefficient; it takes a while to render on your vnc client. So when you're saying to connect to vnc via ssh, are you wanting to use ssh tunneling? Sevatio Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] VNC with sound?
Hey, that's sounds just crazy enough to work. It hadn't occurred to me that sound is served on Linux boxes. (And why wouldn't it be? Everything else is!) Miark On Sat, 16 Aug 2003, Sridhar Dhanapalan [EMAIL PROTECTED] wrote: I think you connect to a sound server like esound, NAS or arts across a network. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC with sound?
On 16 Aug 2003 15:17:42 +1000, Stephen Kuhn [EMAIL PROTECTED] wrote: What about using a thin client solution that would allow for you to export the display and have you make use of the hardware on the local machine? Interesting. Any recommendations on specific packages? Miark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC with sound?
On Mon, 2003-08-18 at 23:13, Miark wrote: On 16 Aug 2003 15:17:42 +1000, Stephen Kuhn [EMAIL PROTECTED] wrote: What about using a thin client solution that would allow for you to export the display and have you make use of the hardware on the local machine? Interesting. Any recommendations on specific packages? Miark Heaps on both Sourceforge and Freshmeat...sorry - been busy as of late. -- Mon Aug 18 23:45:00 EST 2003 23:45:00 up 1 day, 2:11, 1 user, load average: 0.15, 0.11, 0.03 - |____ | illawarra computer services| | /-oo /| |'-. | http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' | stephen kuhn | | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * Small things make base men proud. -- William Shakespeare, Henry VI Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC with sound?
On Sat, 2003-08-16 at 08:05, Miark wrote: Server's on the third floor, laptop on the first. And the server's in my office--if I cranked it loud enough to reach down there, my ears would be ringing :-) Miark VNC only covers graphics, not anything else. I think you connect to a sound server like esound, NAS or arts across a network. -- Sridhar Dhanapalan [Yama | http://www.pclinuxonline.com/] {PGP/GnuPG: http://dhanapalan.com/yama.asc 049D38B4 : A7A9 8A02 78CB AB1B FCE4 EEC6 2DD9 249B 049D 38B4} The best way to predict the future is to invent it. -- Alan Kay pgp0.pgp Description: PGP signature
[newbie] VNC with sound?
Is there any software out there that works like VNC, but pumps video and _sound_ over the network? Miark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC with sound?
On Sat, 2003-08-16 at 07:02, Miark wrote: Is there any software out there that works like VNC, but pumps video and _sound_ over the network? Miark You can always do what I do - hook up speakers on the server... -- Sat Aug 16 07:40:00 EST 2003 07:40:00 up 12 days, 11:28, 3 users, load average: 1.83, 1.85, 1.82 - |____ | illawarra computer services| | /-oo /| |'-. | http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' | stephen kuhn | | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * Oh putain il l'a ca, putain !! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC with sound?
Miark wrote: Server's on the third floor, laptop on the first. And the server's in my office--if I cranked it loud enough to reach down there, my ears would be ringing :-) Miark On 16 Aug 2003 07:44:09 +1000, Stephen Kuhn [EMAIL PROTECTED] wrote: On Sat, 2003-08-16 at 07:02, Miark wrote: Is there any software out there that works like VNC, but pumps video and _sound_ over the network? Miark You can always do what I do - hook up speakers on the server... So what's the downside. ;-) Hold on a second... Honey, can you get the phone? OK. I'm back. :-) -- Brant Fitzsimmons [EMAIL PROTECTED] ___ Linux user #322847 | Linux machine #207465 | http://counter.li.org/ AMD Duron 1.3GHz | Mandrake 9.1 | Kernel 2.4.21-0.25mdkcustom KDE 3.1.3 | Mozilla 1.4 Mail Client ___ All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident. -Arthur Schopenhauer (1788-1860) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC with sound?
Can't SSH do this? Say if you ran XMMS from the server wouldn't it play the music? Mike Brant Fitzsimmons wrote: Miark wrote: Server's on the third floor, laptop on the first. And the server's in my office--if I cranked it loud enough to reach down there, my ears would be ringing :-) Miark On 16 Aug 2003 07:44:09 +1000, Stephen Kuhn [EMAIL PROTECTED] wrote: On Sat, 2003-08-16 at 07:02, Miark wrote: Is there any software out there that works like VNC, but pumps video and _sound_ over the network? Miark You can always do what I do - hook up speakers on the server... So what's the downside. ;-) Hold on a second... Honey, can you get the phone? OK. I'm back. :-) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC with sound?
On Fri, 2003-08-15 at 17:44, Stephen Kuhn wrote: On Sat, 2003-08-16 at 07:02, Miark wrote: Is there any software out there that works like VNC, but pumps video and _sound_ over the network? Miark I am not really sure what you mean by 'works like VNC', but have you tried VLC or webcam server? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC with sound?
On Sat, 2003-08-16 at 08:05, Miark wrote: Server's on the third floor, laptop on the first. And the server's in my office--if I cranked it loud enough to reach down there, my ears would be ringing :-) Miark What about using a thin client solution that would allow for you to export the display and have you make use of the hardware on the local machine? -- Sat Aug 16 15:15:00 EST 2003 15:15:00 up 12 days, 19:03, 3 users, load average: 1.52, 1.89, 2.26 - |____ | illawarra computer services| | /-oo /| |'-. | http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' | stephen kuhn | | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1+ RH 9 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * Microsoft Mandatory Survey (#13) Customers who want to upgrade to Windows 98 Second Edition must now fill out a Microsoft survey online before they can order the bugfix/upgrade. Question 13: Which of the following new Microsoft products do you plan on buying within the next 6 months? A. Windows For Babies(tm) - Using an enhanced click-n-drool interface, babies will be able to learn how to use a Wintel computer, giving them a head start in living in a Microsoft-led world. B. Where In Redmond Is Carmen Sandiego?(tm) - The archvillian Sandiego has stolen the Windows source code and must be stopped before she can publish it on the Net. C. ActiveKeyboard 2000(tm) - An ergonomic keyboard that replaces useless keys like SysRq and Scroll Lock with handy keys like Play Solitaire and Visit Microsoft.com. D. Visual BatchFile(tm) - An IDE and compiler for the MS-DOS batch file language. MSNBC calls it better than Perl. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc startup
Greg Meyer wrote: On Tuesday 25 March 2003 10:47 am, [EMAIL PROTECTED] wrote: Hi All, I have a really good question! Why am I ([EMAIL PROTECTED]), receiving all of your E-mails, since early this morning? Did someone steal my account? Or is it an unwelcomed virus attack? :) What did you expect to happen when you joined the list? Well presumably he didn't intentionally join the list, or he wouldn't be complaining. The fact that he can write grammatical sentences implied that his IQ is not so low that he would subscribe to a mailing list then act surprised when he gets the mail. Maybe someone joined using his address? OTOH, maybe it's a troll, so I'll shut up. Sir Robin -- The raisins may be the best part of a cake, but that doesn't mean that a bag of raisins is better than a cake. - Wittgenstein Robin Turner IDMYO Bilkent Univeritesi Ankara 06533 Turkey www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc startup
On Wednesday 26 Mar 2003 12:35 pm, robin wrote: Greg Meyer wrote: On Tuesday 25 March 2003 10:47 am, [EMAIL PROTECTED] wrote: Hi All, I have a really good question! Why am I ([EMAIL PROTECTED]), receiving all of your E-mails, since early this morning? Did someone steal my account? Or is it an unwelcomed virus attack? :) What did you expect to happen when you joined the list? Well presumably he didn't intentionally join the list, or he wouldn't be complaining. The fact that he can write grammatical sentences implied that his IQ is not so low that he would subscribe to a mailing list then act surprised when he gets the mail. Maybe someone joined using his address? OTOH, maybe it's a troll, so I'll shut up. Also, if he's never been on a list before, he may have expected it to be more like usenet, where he can browse the messages and just download the ones he wants to keep. Anne -- Registered Linux User No.293302 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] vnc startup
Hello All, I have managed to get vnc running between Linux and Windows. I start vncserver in the Linux box and then switch to Windows where I start up a vnc client. How do I get the desktop to be kde (or the Mandrake equivalent) instead of what seems to be wm? -- Regards, Davidmailto:[EMAIL PROTECTED] -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc startup
Hi All, I have a really good question! Why am I ([EMAIL PROTECTED]), receiving all of your E-mails, since early this morning? Did someone steal my account? Or is it an unwelcomed virus attack? :) Digitally Damned, WhiteLion @-,-}-- - Original Message - From: David Anderson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 9:48 AM Subject: [newbie] vnc startup Hello All, I have managed to get vnc running between Linux and Windows. I start vncserver in the Linux box and then switch to Windows where I start up a vnc client. How do I get the desktop to be kde (or the Mandrake equivalent) instead of what seems to be wm? -- Regards, Davidmailto:[EMAIL PROTECTED] -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc startup
On Tuesday 25 Mar 2003 2:48 pm, David Anderson wrote: Hello All, I have managed to get vnc running between Linux and Windows. I start vncserver in the Linux box and then switch to Windows where I start up a vnc client. How do I get the desktop to be kde (or the Mandrake equivalent) instead of what seems to be wm? Simple. In the home directory of the user running the vncserver is a hidden directory called .vnc Inside that is a file xstartup Just put in that file the name of the WM you wish to run #!/bin/bash startkde #fluxbox You must remember to make the permission of the file 755 or else it will not work. HTH derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc startup
On Tuesday 25 March 2003 10:47 am, [EMAIL PROTECTED] wrote: Hi All, I have a really good question! Why am I ([EMAIL PROTECTED]), receiving all of your E-mails, since early this morning? Did someone steal my account? Or is it an unwelcomed virus attack? :) What did you expect to happen when you joined the list? -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC and 2 cards
I have vnc server installed in a box with 2 NIC cards: one for the Internet and one for the LAN. Is there any way to tell vnc to answer only to one of the card and not to the other? TIA -- __ / \\ @ __ __@ Adolfo Bello [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //cel: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax: +58 212 952-6797 www.bisapi.com //pager: www.tun-tun.com (# 609-6213) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC and 2 cards
On Sunday 09 March 2003 05:27 pm, Adolfo Bello wrote: I have vnc server installed in a box with 2 NIC cards: one for the Internet and one for the LAN. Is there any way to tell vnc to answer only to one of the card and not to the other? TIA vnc is pretty insecure, so I doubt it. The best way I can think of is to have iptables configured properly and even if vncserver is listening on the public port, no one would be able to tell. -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC and 2 cards
On Sun, 2003-03-09 at 18:43, Greg Meyer wrote: vnc is pretty insecure, so I doubt it. The best way I can think of is to have iptables configured properly and even if vncserver is listening on the public port, no one would be able to tell. That's what I am doing using Internet Security. It is my daughters box at home and they use WindowsXP. That's the machine that is hooked to the Internet. Well, I'll keep praying and lighting candles. -- __ / \\ @ __ __@ Adolfo Bello [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //cel: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax: +58 212 952-6797 www.bisapi.com //pager: www.tun-tun.com (# 609-6213) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC and 2 cards
On Mon, 2003-03-10 at 09:27, Adolfo Bello wrote: I have vnc server installed in a box with 2 NIC cards: one for the Internet and one for the LAN. Is there any way to tell vnc to answer only to one of the card and not to the other? TIA With the Xvnc options you can specify the TCP/IP ports to answer on. -- Mon, 10 Mar 2003 09:50:01 +1100 9:50am up 19:06, 5 users, load average: 1.02, 0.46, 0.73 -- |____ | kuhn media australia| | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=| | _ / `._ \|_|_.-' | stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ || | email: [EMAIL PROTECTED]| | |'. `\ | | |icq: 5483808 | | ;/ / | | | | | smk ) /_/| |.---.| | mobile: 0410-728-389| | ' `-`' | Berkeley, New South Wales, AU | || | linux user:267497 * RH 7.3/8.1 * Mandrake 9.1 * Microsoft Free | | PC/Mac/Linux/Networking/Web/Graphics/Consulting | -- One could not be a successful scientist without realizing that, in contrast to the popular conception supported by newspapers and mothers of scientists, a goodly number of scientists are not only narrow-minded and dull, but also just stupid. -- J.D. Watson, The Double Helix Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC and 2 cards
On Sunday 09 March 2003 05:51 pm, Adolfo Bello wrote: On Sun, 2003-03-09 at 18:43, Greg Meyer wrote: vnc is pretty insecure, so I doubt it. The best way I can think of is to have iptables configured properly and even if vncserver is listening on the public port, no one would be able to tell. That's what I am doing using Internet Security. It is my daughters box at home and they use WindowsXP. That's the machine that is hooked to the Internet. Well, I'll keep praying and lighting candles. You might be interested in running vnc through an ssh tunnel. That's what I do and it works great. You basically create an ssh session that forwards the port on the vncserver to the local machine, and then connect vncviewer to localhost. The default vnc ports can then be blocked on the server. If you google on vnc ssh tunnel you will get tons of hits tha t provide the details on how to do this. -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] VNC and 2 cards
couldn't you just use the firewall to block the port on the interface/card you don't want it on??? rgds Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Greg Meyer Sent: Monday, 10 March 2003 6:43 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] VNC and 2 cards On Sunday 09 March 2003 05:27 pm, Adolfo Bello wrote: I have vnc server installed in a box with 2 NIC cards: one for the Internet and one for the LAN. Is there any way to tell vnc to answer only to one of the card and not to the other? TIA vnc is pretty insecure, so I doubt it. The best way I can think of is to have iptables configured properly and even if vncserver is listening on the public port, no one would be able to tell. -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC and 2 cards
On Sun, 2003-03-09 at 19:37, Greg Meyer wrote: You might be interested in running vnc through an ssh tunnel. That's what I do and it works great. You basically create an ssh session that forwards the port on the vncserver to the local machine, and then connect vncviewer to localhost. The default vnc ports can then be blocked on the server. If you google on vnc ssh tunnel you will get tons of hits tha t provide the details on how to do this. I am just reading vnc documentation about it. However, the problem seems to be finding a free ssh server for Windows. Thanks a lot, Greg. -- __ / \\ @ __ __@ Adolfo Bello [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //cel: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax: +58 212 952-6797 www.bisapi.com //pager: www.tun-tun.com (# 609-6213) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC and 2 cards
On Sunday 09 March 2003 06:47 pm, Adolfo Bello wrote: On Sun, 2003-03-09 at 19:37, Greg Meyer wrote: You might be interested in running vnc through an ssh tunnel. That's what I do and it works great. You basically create an ssh session that forwards the port on the vncserver to the local machine, and then connect vncviewer to localhost. The default vnc ports can then be blocked on the server. If you google on vnc ssh tunnel you will get tons of hits tha t provide the details on how to do this. I am just reading vnc documentation about it. However, the problem seems to be finding a free ssh server for Windows. You could actually use something like PuTTy and have her make the connection to your ssh server, just reverse the port forwarding so you forward the remote port to the host (or vice versa, I don't remeber the precise direction). This way you don't even have to leave any ports open on her box. Her initiating the session will open a port through her firewall for you to use. -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] VNC and 2 cards
On Sun, 2003-03-09 at 19:20, Franki wrote: couldn't you just use the firewall to block the port on the interface/card you don't want it on??? rgds Franki If we can call XP Internet Security a firewall, that's just what I am doing. -- 7:53pm up 11:20, 4 users, load average: 0.36, 0.15, 0.14 Sun, 09 Mar 2003 19:53:04 -0400 __ / \\ @ __ __@ Adolfo Bello / [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //mobile: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax : +58 212 952-6797 www.bisapi.com //pager : [EMAIL PROTECTED] The real voyage of discovery consists not in seeking new landscapes, but in having new eyes. Marcel Proust Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] VNC and 2 cards
If you google on vnc ssh tunnel you will get tons of hits tha t provide the details on how to do this. http://www.iodynamics.com/~fozz/presentations/VNC+SSH/ Rob Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC and 2 cards
On Sun, 2003-03-09 at 20:05, Greg Meyer wrote: You could actually use something like PuTTy and have her make the connection to your ssh server, just reverse the port forwarding so you forward the remote port to the host (or vice versa, I don't remeber the precise direction). This way you don't even have to leave any ports open on her box. Her initiating the session will open a port through her firewall for you to use. Sound interesting. Right now I am reading about vnc/ssh so I can connect to their computer from the Internet to help them whenever I am not at home. It is not that it is pretty usual. Just in some cases when the older one has problem using AutoCad. I am the one needing more of vnc. We are now in the middle of developing a PHP application and I like to test it at home using Netscape, Mozilla, Galeon and IE Explorer. What I do is to connect to their XP box using vnc, fire IE and browse the application that is sitting in my Linux laptop. Having vnc loaded 100% of the time make me nervous. That's why I was looking for a way to make vnc just listen to the LAN card. Saludos -- 8:15pm up 11:43, 4 users, load average: 0.01, 0.09, 0.12 Sun, 09 Mar 2003 20:15:50 -0400 __ / \\ @ __ __@ Adolfo Bello / [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //mobile: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax : +58 212 952-6797 www.bisapi.com //pager : [EMAIL PROTECTED] The real voyage of discovery consists not in seeking new landscapes, but in having new eyes. Marcel Proust Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] VNC and 2 cards
On Sun, 2003-03-09 at 20:27, Robert Wideman wrote: If you google on vnc ssh tunnel you will get tons of hits tha t provide the details on how to do this. http://www.iodynamics.com/~fozz/presentations/VNC+SSH/ Rob A great link. Thanks, Rob. -- 8:36pm up 12:04, 4 users, load average: 0.06, 0.03, 0.02 Sun, 09 Mar 2003 20:36:33 -0400 __ / \\ @ __ __@ Adolfo Bello / [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //mobile: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax : +58 212 952-6797 www.bisapi.com //pager : [EMAIL PROTECTED] The real voyage of discovery consists not in seeking new landscapes, but in having new eyes. Marcel Proust Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC for Mandrake
Is there a Mandrake specific vnc... .RPM? Can't seem to locate one anywhere. I've been trying to get RealVNC to work across my local network without much success. Any suggestions? Harv Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] VNC for Mandrake
Try TightVNC. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Harv Nelson Sent: Saturday, February 22, 2003 11:27 AM To: Mandrake Newbie Subject: [newbie] VNC for Mandrake Is there a Mandrake specific vnc... .RPM? Can't seem to locate one anywhere. I've been trying to get RealVNC to work across my local network without much success. Any suggestions? Harv Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC for Mandrake
rfbdrake is also useful derek On Saturday 22 Feb 2003 5:38 pm, Robert Wideman wrote: Try TightVNC. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Harv Nelson Sent: Saturday, February 22, 2003 11:27 AM To: Mandrake Newbie Subject: [newbie] VNC for Mandrake Is there a Mandrake specific vnc... .RPM? Can't seem to locate one anywhere. I've been trying to get RealVNC to work across my local network without much success. Any suggestions? Harv -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC remote black screen
Sometimes when I try to work on remote computer, VNC opens client screen but the screen remains black, even when I move the cursor. Think this happens when remote PC is on stand by. Anyone with similar problems (and a solution)? Thanx _ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC
Hi All Can I urpmi a Red Hat RPM? Lee -- Registered Linux user #223705 Give me ambiguity or give me something else. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
On Tuesday 07 January 2003 08:43, Lee wrote: Hi All Can I urpmi a Red Hat RPM? Lee Yes, you can, and others (i.e. noarch)as well. If it's no good it usually won't install =:o) Good Luck, HarM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
On Tuesday 07 January 2003 05:19 am, you wrote: On Tuesday 07 January 2003 08:43, Lee wrote: Hi All Can I urpmi a Red Hat RPM? Lee Yes, you can, and others (i.e. noarch)as well. If it's no good it usually won't install =:o) Good Luck, HarM Tnx -- Registered Linux user #223705 Give me ambiguity or give me something else. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
On Tue, 2003-01-07 at 19:43, Lee wrote: Hi All Can I urpmi a Red Hat RPM? Lee You might be able to, but keep in mind that MDK and RH have different directory structures for different applications - you could very well cause things to break, and it's not necessarily advised. -- kuhn media australia - kma.0catch.com - stephen katherine kuhn -PC/Mac/Linux/Consulting/eMarketing- * linux user: 267497 * rh 7.3+ * A Parable of Modern Research: Bob has lost his keys in a room which is dark except for one brightly lit corner. Why are you looking under the light, you lost them in the dark! I can only see here. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC getting OT to urpmi
On Tuesday 07 January 2003 10:39, Stephen Kuhn wrote: On Tue, 2003-01-07 at 19:43, Lee wrote: Hi All Can I urpmi a Red Hat RPM? Lee You might be able to, but keep in mind that MDK and RH have different directory structures for different applications - you could very well cause things to break, and it's not necessarily advised. So you state! I for one have never been able to break anything using urpmi provided I don't allow 'force' or 'nodeps'. Sometimes the app's install but don't work and then urpme is called for. I wonder, does anyone have real experiences to share in breaking things using plain urpmi? Maybe I've just been lucky up to now. Good going, HarM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Fwd: Re: [newbie] VNC can't cope with 24 bits-per-pixel
From: ivette brusselmans [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] VNC can't cope with 24 bits-per-pixel Date: Mon, 06 Jan 2003 11:16:46 +0100 I have two remote boxes, both WIN98 SE. I put both window-settings on 16 bits, but that didn't help. Didn't have this problem with MDK 8.2. My local box is dual boot W2K and MDK 9.0. VNC works perfectly on W2K. Why not on MDK 9.0.? Thanks From: Stephen Kuhn [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] VNC can't cope with 24 bits-per-pixel Date: 06 Jan 2003 09:06:23 +1100 On Mon, 2003-01-06 at 00:32, ivette brusselmans wrote: Still having VNC problems! MDK 9.0 when I type vncviewer in terminal and give the IPaddress of the remote box I want to administer, I get the message VNC server default format: 16 bits per pixel. Least significant byte first in each pixel True colour: mas red 31 green 63 blue 31, shift red 11 green 5 blue 0 Can't cope with 24 bits-per-pixel. Sorry. When I used MDK 8.2 I didn't have this problem. Someone advised me to change color from 24 bits to 16 or 32, which I did, to no avail. Keep getting the same message about the 24 bits-per-pixel. Anyone got similar problems and a solution? Thanx I ran across this when the other machine wasn't setup properly. Have you experimented with the remote machine? What is the OS on the remote machine? -- Mon Jan 6 09:05:01 EST 2003 9:05am up 1 day, 12:13, 6 users, load average: 0.75, 0.25, 0.21 kuhn media australia - kma.0catch.com - stephen kuhn - katherine kuhn - berkeley, nsw, au email: [EMAIL PROTECTED] - [EMAIL PROTECTED] icq: 5483808 - mobile: 0410-728-389 -PC/Mac/Linux/Consulting/eMarketing- * linux user: 267497 * rh 7.3+ * The hardest thing is to disguise your feelings when you put a lot of relatives on the train for home. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl/worldwide.asp Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl/worldwide.asp Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC can't cope with 24 bits-per-pixel
On Mon, 2003-01-06 at 21:16, ivette brusselmans wrote: I have two remote boxes, both WIN98 SE. I put both window-settings on 16 bits, but that didn't help. Didn't have this problem with MDK 8.2. Thanks Well this is rather strange. I'm using the Bell Labs VNC (the real one) on Windows machines and a Mac and I've only set the default options on all (except for the password) and have no problems in connecting other than it momentarily disables the remote computers' wallpaper. I have not changed the resolutions nor the color depth settings on any of the machines, nor do I change the settings on customers machines - and with my setup, I have done literally nothing special with VNC other than to use it. Have you made any modifications to the VNC default settings on the linux box? -- Tue Jan 7 07:55:00 EST 2003 7:55am up 2 days, 11:03, 6 users, load average: 0.54, 0.35, 0.35 kuhn media australia - kma.0catch.com - stephen kuhn - katherine kuhn - berkeley, nsw, au email: [EMAIL PROTECTED] - [EMAIL PROTECTED] icq: 5483808 - mobile: 0410-728-389 -PC/Mac/Linux/Consulting/eMarketing- * linux user: 267497 * rh 7.3+ * Doing gets it done. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC can't cope with 24 bits-per-pixel
On Sunday 05 January 2003 13:32, ivette brusselmans wrote: Still having VNC problems! MDK 9.0 when I type vncviewer in terminal and give the IPaddress of the remote box I want to administer, I get the message VNC server default format: 16 bits per pixel. Least significant byte first in each pixel True colour: mas red 31 green 63 blue 31, shift red 11 green 5 blue 0 Can't cope with 24 bits-per-pixel. Sorry. When I used MDK 8.2 I didn't have this problem. Someone advised me to change color from 24 bits to 16 or 32, which I did, to no avail. Keep getting the same message about the 24 bits-per-pixel. Anyone got similar problems and a solution? Thanx Did You try 'tightvnc' instead of the standard Virtual Network Connection that Mdk offers (it's there for the taking)? The standard VNC tends to get clunky. I've dumped VNC altogether, i.e. I've no Winders machines and I certainly don't want to see their gui's on my Linboxes! Accessing my linboxes using ssh -C -X works great for exporting gui's. I even play 3d games remotely (though slowly) that way. I've got 3 (and some neighbour's)kids hogging the main PC cause of the games, so if I want to access anything (and I mean: anything) immediately, I plug in my laptop somewhere (usually upstairs -it's quiter) on the network and access my app's from there. That's when ssh is realy col, even runnin xine!:o) Now to find something that can export sound too. Good luck, HarM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC can't cope with 24 bits-per-pixel
On Tue, 2003-01-07 at 10:50, H.J.Bathoorn wrote: I've got 3 (and some neighbour's)kids hogging the main PC cause of the games, so if I want to access anything (and I mean: anything) immediately, I plug in my laptop somewhere (usually upstairs -it's quiter) on the network and access my app's from there. That's when ssh is realy col, even runnin xine!:o) Now to find something that can export sound too. Good luck, HarM UNIX was the first OS that allowed for slave or dumb terminals to run applications ON the server from remote. Telnet, SSH and the likes are still the most stable means to deal with any type of remote access. Everything else is based loosely on it. I only use VNC when I absolutely have to. There are times, though, that I can't be bothered to turn around in my seat to see what the wife-unit is doing, so I fire up VNC to assist her...or for the Mac...I can't be bothered to move my chair the 1.5 meter distance to the Mac...(g)...but in the instance of client support, it's helpful to SHOW them this that or the other thing to get things working - otherwise, on the linux machines I support, telnet and ssh are great...and on the Win2k/XP machines, I always make sure I have the telnet services running...so that I can slip in the back door and do what I have to do without bothering the operator of the workstation...but sometimes they like to see the magic of remote control...go figure... -- Tue Jan 7 09:55:01 EST 2003 9:55am up 2 days, 13:03, 6 users, load average: 0.55, 0.49, 0.48 kuhn media australia - kma.0catch.com - stephen kuhn - katherine kuhn - berkeley, nsw, au email: [EMAIL PROTECTED] - [EMAIL PROTECTED] icq: 5483808 - mobile: 0410-728-389 -PC/Mac/Linux/Consulting/eMarketing- * linux user: 267497 * rh 7.3+ * Kitchen activity is highlighted. Butter up a friend. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC can't cope with 24 bits-per-pixel
On Mon, 2003-01-06 at 00:32, ivette brusselmans wrote: Still having VNC problems! MDK 9.0 when I type vncviewer in terminal and give the IPaddress of the remote box I want to administer, I get the message VNC server default format: 16 bits per pixel. Least significant byte first in each pixel True colour: mas red 31 green 63 blue 31, shift red 11 green 5 blue 0 Can't cope with 24 bits-per-pixel. Sorry. When I used MDK 8.2 I didn't have this problem. Someone advised me to change color from 24 bits to 16 or 32, which I did, to no avail. Keep getting the same message about the 24 bits-per-pixel. Anyone got similar problems and a solution? Thanx I ran across this when the other machine wasn't setup properly. Have you experimented with the remote machine? What is the OS on the remote machine? -- Mon Jan 6 09:05:01 EST 2003 9:05am up 1 day, 12:13, 6 users, load average: 0.75, 0.25, 0.21 kuhn media australia - kma.0catch.com - stephen kuhn - katherine kuhn - berkeley, nsw, au email: [EMAIL PROTECTED] - [EMAIL PROTECTED] icq: 5483808 - mobile: 0410-728-389 -PC/Mac/Linux/Consulting/eMarketing- * linux user: 267497 * rh 7.3+ * The hardest thing is to disguise your feelings when you put a lot of relatives on the train for home. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC
Hello out there, Installed MDK 9.0 and everything works fine, except for VNC. When I type VNCviewer in terminal and IPaddress of win98 box I get following message: VNC server supports protocol version 3.3 (viewer 3.3) No authentication needed Desktop name ivette Connected to VNC server, using protocol version 3.3 VNC server default format: 32 bits per pixels Last significant byte first i each pixel True color: max red 255 green 255 blue 255, shift red 16 green 8 blue0 Can't cope with 24 bits-per-pixel. Sorry Any ideas? Thanks _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl/worldwide.asp Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
At 08:16 AM 1/3/03, ivette brusselmans wrote: Hello out there, Installed MDK 9.0 and everything works fine, except for VNC. When I type VNCviewer in terminal and IPaddress of win98 box I get following message: VNC server supports protocol version 3.3 (viewer 3.3) No authentication needed Desktop name ivette Connected to VNC server, using protocol version 3.3 VNC server default format: 32 bits per pixels Last significant byte first i each pixel True color: max red 255 green 255 blue 255, shift red 16 green 8 blue0 Can't cope with 24 bits-per-pixel. Sorry It would appear that your Win98 box is configured for 24 bits-per-pixel. On that system - right click on desktop, then choose 'Settings' tab. Change Colors to 16-bit or 32-bit. I've heard that 24-bit should be avoided (it's not always stable) on Win9x systems, so this is a good change anyway. Frank Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Fwd: Re: [newbie] VNC
typed 'locate vncviewer' in terminal and VNCviewer is definitely installed because it gave me the location (home/luc/.../...) vncviewer also worked the first time I clicked on the program after unzipping it. After I shut down the program I tried it again, typed the serveraddress and then the password, and didn't get any remote screen pinging is no problem. I can remoteaccess linuxbox from win98box. By the way: what does the terminalmessage Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script mean? Could it have something to do with my problem? From: ivette brusselmans [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] VNC Date: Mon, 16 Dec 2002 21:42:53 +0100 Pinging is no problem. Can reach win98 box. When I type 'vncviewer' in terminal I get this message: [luc@luc luc]$ vncviewer bash: vncviewer: command not found [luc@luc luc]$ vncviewer bash: vncviewer: command not found when I try vncserver in terminal, I get following message: [luc@luc luc]$ vncserver You will require a password to access your desktops. Password: Verify: xauth: (argv):1: bad display name luc:1 in add command Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script. New 'X' desktop is luc:1 Creating default startup script /home/luc/.vnc/xstartup Starting applications specified in /home/luc/.vnc/xstartup Log file is /home/luc/.vnc/luc:1.log [luc@luc luc]$ vncviewer 192.168.0.148:1 bash: vncviewer: command not found [luc@luc luc]$ Then I downloaded VNC from web, unzipped everything in 'home/luc/VNC' but don't know how to get VNCviewer running, how can I install it? thanks From: Stephen Kuhn [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] VNC Date: 17 Dec 2002 03:58:25 +1100 On Mon, 2002-12-16 at 22:50, ivette brusselmans wrote: 1 box Mandrake 8.2 (server) 1 box win98 (client) network OK (Komba 2) I can get the remote screen of the MDK box on my winbox without problem. But when I type the IPaddress of win98box in the VNC viewer on MDK 8.2, nothing happens. Could it have to do with the fact that win98 has tightVNC installed, not VNC? Thanks Can you ping the IP address of the Win98 box? If so, read on...if not, then you've got a problem...! You're going to have to make sure that the VNC Server that's running on the Win98 box has a password set for administative access. You should be able to click START \ PROGRAMS \ VNC \ ADMINISTATIVE TOOLS \ SHOW DEFAULT SETTINGS - in there you can set/reset the password for access. Make sure you put one in there and click OK. On the linux box, start your VNC Viewer with: vncviewer XXX.XXX.XXX.XXX:0 (if you do it from a terminal you'll see if there are any errors. This should work (I use VNC constantly for PC's running Windows and for Mac's) - if it doesn't work, then we might need to start looking into your TCP/IP networking... VNC is fairly foolproof - it's dependent on IP networking - unless you can't ping the Win98 machine. -- Tue Dec 17 03:50:00 EST 2002 3:50am up 6:51, 2 users, load average: 0.08, 0.18, 0.30 .o0 linux user:267497 0o. |____ | kühn media australia | / \ /| |'-. | http://kma.0catch.com | .\__/ || | | | | _ / `._ \|_|_.-' | stephen kühn | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | |/ ._/ || | email: [EMAIL PROTECTED] | |'. `\ | | |icq: 5483808 | ;/ / | | | | smk ) /_/| |.---.| | mobile: 0410-728-389 | ' `-`' | Berkeley, New South Wales, AU Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn Conclusion: Le cassage en fait est un art euh ... *t'en a pas marre de casser les couilles!* Pfff, bon parfois,euh... le silence est bonne arme pour euh... j'ai completement la honte là ! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl/worldwide.asp Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Fwd: Re: [newbie] VNC
On Tue, 17 Dec 2002 09:38:15 +0100 ivette brusselmans [EMAIL PROTECTED] wrote: typed 'locate vncviewer' in terminal and VNCviewer is definitely installed because it gave me the location (home/luc/.../...) vncviewer also worked the first time I clicked on the program after unzipping it. After I shut down the program I tried it again, typed the serveraddress and then the password, and didn't get any remote screen pinging is no problem. I can remoteaccess linuxbox from win98box. By the way: what does the terminalmessage Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script mean? Could it have something to do with my problem? you need to either A: cd to the directory where vncviewer is and type ./vncviewer to start it from there or B: make a link to it in a directory in your PATH (usu /usr/bin) ln -s /home/username/foldervncisin/vncviewer /usr/bin/vncviewer the reason it's giving you command not found is that /home/luc/whatever isn't in you PATH. I used to remember how to add to the PATH but forgot since i usually end up installing everything in /usr/local and just make a link in /usr/bin anymore. I'm sure someone else knows the command to do it. Jerry. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Fwd: Re: [newbie] VNC
On Tue, 2002-12-17 at 19:38, ivette brusselmans wrote: typed 'locate vncviewer' in terminal and VNCviewer is definitely installed because it gave me the location (home/luc/.../...) vncviewer also worked the first time I clicked on the program after unzipping it. After I shut down the program I tried it again, typed the serveraddress and then the password, and didn't get any remote screen pinging is no problem. I can remoteaccess linuxbox from win98box. By the way: what does the terminalmessage Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script mean? Could it have something to do with my problem? I think part of the problem is that the program doesn't lie within the normal path - i.e., /usr/bin or /usr/local/bin -- Tue Dec 17 21:05:00 EST 2002 9:05pm up 1 day, 6 min, 5 users, load average: 0.31, 0.75, 0.80 .o0 linux user:267497 0o. |____ | kühn media australia | / \ /| |'-. | http://kma.0catch.com | .\__/ || | | | | _ / `._ \|_|_.-' | stephen kühn | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | |/ ._/ || | email: [EMAIL PROTECTED] | |'. `\ | | |icq: 5483808 | ;/ / | | | | smk ) /_/| |.---.| | mobile: 0410-728-389 | ' `-`' | Berkeley, New South Wales, AU Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn Important letters which contain no errors will develop errors in the mail. Corresponding errors will show up in the duplicate while the Boss is reading it. Vital papers will demonstrate their vitality by spontaneously moving from where you left them to where you can't find them. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Fwd: Re: [newbie] VNC
On Mon, 2002-12-16 at 19:38, Jerry wrote: On Tue, 17 Dec 2002 09:38:15 +0100 you need to either A: cd to the directory where vncviewer is and type ./vncviewer to start it from there or B: make a link to it in a directory in your PATH (usu /usr/bin) ln -s /home/username/foldervncisin/vncviewer /usr/bin/vncviewer the reason it's giving you command not found is that /home/luc/whatever isn't in you PATH. I used to remember how to add to the PATH but forgot since i usually end up installing everything in /usr/local and just make a link in /usr/bin anymore. I'm sure someone else knows the command to do it. Jerry. you can do: export /home/luc/whateverdirectoryyouputitin/:$PATH - but in reality, munging junk like that into a stable system ain't always good. Jerry's got the right idea by making sure you install programs into the proper binary directories - as I stated before... (BTW, it's not always good to have a link in /usr/bin if you've already got the binary in /usr/local/bin - unless the link in /usr/bin is pointing to a program NOT in /usr/local/bin - rather like /usr/local/myprogram/bin - like that...) -- Tue Dec 17 21:30:00 EST 2002 9:30pm up 1 day, 31 min, 4 users, load average: 1.51, 0.94, 0.78 .o0 linux user:267497 0o. |____ | kühn media australia | / \ /| |'-. | http://kma.0catch.com | .\__/ || | | | | _ / `._ \|_|_.-' | stephen kühn | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | |/ ._/ || | email: [EMAIL PROTECTED] | |'. `\ | | |icq: 5483808 | ;/ / | | | | smk ) /_/| |.---.| | mobile: 0410-728-389 | ' `-`' | Berkeley, New South Wales, AU Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn Bad men live that they may eat and drink, whereas good men eat and drink that they may live. -- Socrates Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Fwd: Re: [newbie] VNC
Thanks Stephen and Jerry, I put the binaries in usr/bin, and made a VNCviewer link in home/luc and everything runs like a horse on speed!! From: Stephen Kuhn [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Fwd: Re: [newbie] VNC Date: 17 Dec 2002 21:33:29 +1100 On Mon, 2002-12-16 at 19:38, Jerry wrote: On Tue, 17 Dec 2002 09:38:15 +0100 you need to either A: cd to the directory where vncviewer is and type ./vncviewer to start it from there or B: make a link to it in a directory in your PATH (usu /usr/bin) ln -s /home/username/foldervncisin/vncviewer /usr/bin/vncviewer the reason it's giving you command not found is that /home/luc/whatever isn't in you PATH. I used to remember how to add to the PATH but forgot since i usually end up installing everything in /usr/local and just make a link in /usr/bin anymore. I'm sure someone else knows the command to do it. Jerry. you can do: export /home/luc/whateverdirectoryyouputitin/:$PATH - but in reality, munging junk like that into a stable system ain't always good. Jerry's got the right idea by making sure you install programs into the proper binary directories - as I stated before... (BTW, it's not always good to have a link in /usr/bin if you've already got the binary in /usr/local/bin - unless the link in /usr/bin is pointing to a program NOT in /usr/local/bin - rather like /usr/local/myprogram/bin - like that...) -- Tue Dec 17 21:30:00 EST 2002 9:30pm up 1 day, 31 min, 4 users, load average: 1.51, 0.94, 0.78 .o0 linux user:267497 0o. |____ | kühn media australia | / \ /| |'-. | http://kma.0catch.com | .\__/ || | | | | _ / `._ \|_|_.-' | stephen kühn | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | |/ ._/ || | email: [EMAIL PROTECTED] | |'. `\ | | |icq: 5483808 | ;/ / | | | | smk ) /_/| |.---.| | mobile: 0410-728-389 | ' `-`' | Berkeley, New South Wales, AU Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn Bad men live that they may eat and drink, whereas good men eat and drink that they may live. -- Socrates Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ Ontvang je Hotmail Messenger berichten op je mobiele telefoon met Hotmail SMS http://www.msn.nl/jumppage/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC
1 box Mandrake 8.2 (server) 1 box win98 (client) network OK (Komba 2) I can get the remote screen of the MDK box on my winbox without problem. But when I type the IPaddress of win98box in the VNC viewer on MDK 8.2, nothing happens. Could it have to do with the fact that win98 has tightVNC installed, not VNC? Thanks _ Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
On Monday 16 December 2002 06:50 am, ivette brusselmans wrote: 1 box Mandrake 8.2 (server) 1 box win98 (client) network OK (Komba 2) I can get the remote screen of the MDK box on my winbox without problem. But when I type the IPaddress of win98box in the VNC viewer on MDK 8.2, nothing happens. Could it have to do with the fact that win98 has tightVNC installed, not VNC? Thanks Did you include the screen number? I think VNC for Linux requires it. Add :0 to the end of the ip address (x.x.x.x:0) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
I'll try this when I get home. Didn't add the 0. Thanks From: Barry Michels [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] VNC Date: Mon, 16 Dec 2002 07:06:07 -0500 On Monday 16 December 2002 06:50 am, ivette brusselmans wrote: 1 box Mandrake 8.2 (server) 1 box win98 (client) network OK (Komba 2) I can get the remote screen of the MDK box on my winbox without problem. But when I type the IPaddress of win98box in the VNC viewer on MDK 8.2, nothing happens. Could it have to do with the fact that win98 has tightVNC installed, not VNC? Thanks Did you include the screen number? I think VNC for Linux requires it. Add :0 to the end of the ip address (x.x.x.x:0) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ Ontvang je Hotmail Messenger berichten op je mobiele telefoon met Hotmail SMS http://www.msn.nl/jumppage/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
* ivette brusselmans [EMAIL PROTECTED] [021216 06:01]: 1 box Mandrake 8.2 (server) 1 box win98 (client) network OK (Komba 2) I can get the remote screen of the MDK box on my winbox without problem. But when I type the IPaddress of win98box in the VNC viewer on MDK 8.2, nothing happens. Could it have to do with the fact that win98 has tightVNC installed, not VNC? Do you have a VNC server on the Win98 box? -- Jan Wilson, SysAdmin _/*]; [EMAIL PROTECTED] Corozal Junior College | |:' corozal.com corozal.bz Corozal Town, Belize | /' chetumal.com linux.bz Reg. Linux user #151611 |_/ Network, PHP, Perl, HTML Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
Pinging is no problem. Can reach win98 box. When I type 'vncviewer' in terminal I get this message: [luc@luc luc]$ vncviewer bash: vncviewer: command not found [luc@luc luc]$ vncviewer bash: vncviewer: command not found when I try vncserver in terminal, I get following message: [luc@luc luc]$ vncserver You will require a password to access your desktops. Password: Verify: xauth: (argv):1: bad display name luc:1 in add command Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script. New 'X' desktop is luc:1 Creating default startup script /home/luc/.vnc/xstartup Starting applications specified in /home/luc/.vnc/xstartup Log file is /home/luc/.vnc/luc:1.log [luc@luc luc]$ vncviewer 192.168.0.148:1 bash: vncviewer: command not found [luc@luc luc]$ Then I downloaded VNC from web, unzipped everything in 'home/luc/VNC' but don't know how to get VNCviewer running, how can I install it? thanks From: Stephen Kuhn [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] VNC Date: 17 Dec 2002 03:58:25 +1100 On Mon, 2002-12-16 at 22:50, ivette brusselmans wrote: 1 box Mandrake 8.2 (server) 1 box win98 (client) network OK (Komba 2) I can get the remote screen of the MDK box on my winbox without problem. But when I type the IPaddress of win98box in the VNC viewer on MDK 8.2, nothing happens. Could it have to do with the fact that win98 has tightVNC installed, not VNC? Thanks Can you ping the IP address of the Win98 box? If so, read on...if not, then you've got a problem...! You're going to have to make sure that the VNC Server that's running on the Win98 box has a password set for administative access. You should be able to click START \ PROGRAMS \ VNC \ ADMINISTATIVE TOOLS \ SHOW DEFAULT SETTINGS - in there you can set/reset the password for access. Make sure you put one in there and click OK. On the linux box, start your VNC Viewer with: vncviewer XXX.XXX.XXX.XXX:0 (if you do it from a terminal you'll see if there are any errors. This should work (I use VNC constantly for PC's running Windows and for Mac's) - if it doesn't work, then we might need to start looking into your TCP/IP networking... VNC is fairly foolproof - it's dependent on IP networking - unless you can't ping the Win98 machine. -- Tue Dec 17 03:50:00 EST 2002 3:50am up 6:51, 2 users, load average: 0.08, 0.18, 0.30 .o0 linux user:267497 0o. |____ | kühn media australia | / \ /| |'-. | http://kma.0catch.com | .\__/ || | | | | _ / `._ \|_|_.-' | stephen kühn | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | |/ ._/ || | email: [EMAIL PROTECTED] | |'. `\ | | |icq: 5483808 | ;/ / | | | | smk ) /_/| |.---.| | mobile: 0410-728-389 | ' `-`' | Berkeley, New South Wales, AU Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn Conclusion: Le cassage en fait est un art euh ... *t'en a pas marre de casser les couilles!* Pfff, bon parfois,euh... le silence est bonne arme pour euh... j'ai completement la honte là ! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com _ Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC
_ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl/worldwide.asp Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC hurray
YES YES YES IT WORKS clicked on vncviewer after download and was asked for server address, password, and saw the incredible display of win98 on my linuxbox!!! Was so enthousiastic in my former message I sent it without text. LINUX forever!! thanks everybody!! _ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl/worldwide.asp Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC help!!
tried to connect a second time and didn't get anything! terminal message after typing [luc@luc luc]$ vncviewer bash: vncviewer: command not found [luc@luc luc]$ [luc@luc luc]$ vncserver xauth: (argv):1: bad display name luc:2 in add command Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script. New 'X' desktop is luc:2 Starting applications specified in /home/luc/.vnc/xstartup Log file is /home/luc/.vnc/luc:2.log [luc@luc luc]$ vncserver xauth: (argv):1: bad display name luc:3 in add command Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script. New 'X' desktop is luc:3 Starting applications specified in /home/luc/.vnc/xstartup Log file is /home/luc/.vnc/luc:3.log [luc@luc luc]$ [luc@luc luc]$ qué pasa? why did it work the first time and then abandoned me? when I click on vncviewer, I am asked to type VNC server, and then the password, and then nothing happens!! hilfe, ayuto, au secours!! _ Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
On Tue, 2002-12-17 at 07:42, ivette brusselmans wrote: Pinging is no problem. Can reach win98 box. When I type 'vncviewer' in terminal I get this message: [luc@luc luc]$ vncviewer bash: vncviewer: command not found [luc@luc luc]$ vncviewer bash: vncviewer: command not found You need to try doing this - in a terminal, type: locate vncviewer ...see what happens - if you don't get anything back, you probably don't have the VNC Viewer for linux installed - hence you'll have to install it. when I try vncserver in terminal, I get following message: [luc@luc luc]$ vncserver You will require a password to access your desktops. Password: Verify: xauth: (argv):1: bad display name luc:1 in add command Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script. New 'X' desktop is luc:1 Creating default startup script /home/luc/.vnc/xstartup Starting applications specified in /home/luc/.vnc/xstartup Log file is /home/luc/.vnc/luc:1.log Ok - so now you have a VNC X Windows session ready to access from either your Windows boxes or from the outside...if you run VNCViewer on the Windows box and put in your linux box's IP address, you'll now see an XWindows desktop - and whichever wm you're using. [luc@luc luc]$ vncviewer 192.168.0.148:1 bash: vncviewer: command not found [luc@luc luc]$ Still showing that VNC Viewer on the linux box isn't installed. Then I downloaded VNC from web, unzipped everything in 'home/luc/VNC' but don't know how to get VNCviewer running, how can I install it? It would be better to put the binaries in /usr/local/bin ...it would just be a matter of running the program after that. -- Tue Dec 17 08:30:00 EST 2002 8:30am up 11:31, 4 users, load average: 0.01, 0.26, 0.49 .o0 linux user:267497 0o. |____ | kühn media australia | / \ /| |'-. | http://kma.0catch.com | .\__/ || | | | | _ / `._ \|_|_.-' | stephen kühn | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | |/ ._/ || | email: [EMAIL PROTECTED] | |'. `\ | | |icq: 5483808 | ;/ / | | | | smk ) /_/| |.---.| | mobile: 0410-728-389 | ' `-`' | Berkeley, New South Wales, AU Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn Professor: Perhaps it's your outlook that need a good bend, a ninety degree bend to a place where happiness is perpendicular to wonderment. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc
sorry my mistake read all the previous mail on the subject using 8.2 - Original Message - From: Derek Jennings [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 11:36 AM Subject: Re: [newbie] vnc On Monday 04 Nov 2002 11:53 pm, Patrick Griffin wrote: Hi All, I have sucessfully installed vnc and can make it run from the desktop but how do i cinfigure it ti run as a service from start so i can remotley control the terminal from my windows box. If you installed Tightvnc from the mandrake 9.0 RPMs you can start vnc as a service from boot simply by checking the box in Mandrake ControlCentreSystemServices. There is a configuration file in /etc/sysconfig/vncservers entries in there will start 1 or more vnc servers at boot. The syntax to use is VNCSERVERS=1:myusername derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc
I do not know if there is a specific startup script for vnc in 8.2, but you could always put this command in a script which gets executed at boot like /etc/rc.local This line will run a single command as the named user. su username -c 'vncserver -geometry 800x600 -depth 16 :2' (just put it at the end of the file) You might find the biggest problem is getting the vncserver to shutdown cleanly so that there are no temporary files left lying about which could stop the server on the next boot. If you do have a problem precede this command with one to remove the temporary files. derek On Tuesday 05 Nov 2002 12:46 am, Patrick Griffin wrote: sorry my mistake read all the previous mail on the subject using 8.2 - Original Message - From: Derek Jennings [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 11:36 AM Subject: Re: [newbie] vnc On Monday 04 Nov 2002 11:53 pm, Patrick Griffin wrote: Hi All, I have sucessfully installed vnc and can make it run from the desktop but how do i cinfigure it ti run as a service from start so i can remotley control the terminal from my windows box. If you installed Tightvnc from the mandrake 9.0 RPMs you can start vnc as a service from boot simply by checking the box in Mandrake ControlCentreSystemServices. There is a configuration file in /etc/sysconfig/vncservers entries in there will start 1 or more vnc servers at boot. The syntax to use is VNCSERVERS=1:myusername derek --- - Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] vnc
why not just use ntsysv and check the vncserver box??? (or use services in MCC) you will need to create a passwd for it.. log in as the user that you want to serve.. and run vncpasswd, it will create a passwd file in /home/user/.vnc I think you have to indicate which displays to create somewhere in /etc there is either a vnc directory or a vnc file, I can't remember which, but in there you can set the user.. its pretty simple.. I have it working fine on one of my boxes. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:newbie-owner;linux-mandrake.com]On Behalf Of Derek Jennings Sent: Tuesday, 5 November 2002 9:14 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] vnc I do not know if there is a specific startup script for vnc in 8.2, but you could always put this command in a script which gets executed at boot like /etc/rc.local This line will run a single command as the named user. su username -c 'vncserver -geometry 800x600 -depth 16 :2' (just put it at the end of the file) You might find the biggest problem is getting the vncserver to shutdown cleanly so that there are no temporary files left lying about which could stop the server on the next boot. If you do have a problem precede this command with one to remove the temporary files. derek On Tuesday 05 Nov 2002 12:46 am, Patrick Griffin wrote: sorry my mistake read all the previous mail on the subject using 8.2 - Original Message - From: Derek Jennings [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 11:36 AM Subject: Re: [newbie] vnc On Monday 04 Nov 2002 11:53 pm, Patrick Griffin wrote: Hi All, I have sucessfully installed vnc and can make it run from the desktop but how do i cinfigure it ti run as a service from start so i can remotley control the terminal from my windows box. If you installed Tightvnc from the mandrake 9.0 RPMs you can start vnc as a service from boot simply by checking the box in Mandrake ControlCentreSystemServices. There is a configuration file in /etc/sysconfig/vncservers entries in there will start 1 or more vnc servers at boot. The syntax to use is VNCSERVERS=1:myusername derek -- - - Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC Questions ...
On Tuesday 29 Oct 2002 4:55 am, H. Carter Harris wrote: I have been trying to get VNC functionality on a new, textbook install of ML 8.2. I posted here before and with the wisdom of the group, I was successful with TightVNC. However, to earn the title newbie I did make some mistakes during the install. First, I installed it while while in the shell with root privledges. I would like to change that so it is under another account. Secondly, I would like to have this install in the software manager. It is not possible to install RPM packages as any user other than root. However any user can then use the application. Starting vncserver in a user account will make it run in that account. I do not understand what you mean by the last sentence. Questions: Are there .cf files I can edit to change the user for VNC? Where are they or how can I find them? Should I setup a user account just for VNC logins? If you installed Tightvnc from the mandrake RPMs you can start vnc as a service from boot, and there is a configuration file in /etc/sysconfig/vncservers entries in there will start 1 or more vnc servers at boot. The syntax to use is VNCSERVERS=1:myusername A dedicated vnc user is fine. Just remember that vnc users will only be able to access files that your dedicated vncuser has access to. These questions naturally bring up more. When I login as root, I get a red screen with a calendar-type icon and another icon in the upper right hand corner of the screen and nothing else. If I right click on the screen I get a popup menu similar to the K button in the KDE Panel. There is no panel in the red screen. The user interface is deliberately crippled when you log in as root to encourage you not to do it. There is no reason to log in as root since you can do anything necessary by 'su'ing from a terminal window in a normal user. If you select a 'higher' security level you cannot log in as root at all! I think root is starting with an x-window that is not KDE. So far I have seen 3 different x-window environments on this system: kde, the red one, and one that has a Linux button when the system is not shut down properly. I would like to hear a little explaination on this if anyone has time. If you do not declare which window manager you want to start an X session with, it will default to the window manager in the ~/.wmrc file ( '~' means your home directory) I think if that is blank it opens the Window Manager first in the list, which is IceWM With a vnc session you should put the window manager you desire in the ~/.vnc/xstartup file HTH derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] VNC Questions ...
Thanks to Derek for giving such a good response to my questions. VNC is now working as expected. I appreciate the help! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC Questions ...
I have been trying to get VNC functionality on a new, textbook install of ML 8.2. I posted here before and with the wisdom of the group, I was successful with TightVNC. However, to earn the title newbie I did make some mistakes during the install. First, I installed it while while in the shell with root privledges. I would like to change that so it is under another account. Secondly, I would like to have this install in the software manager. Questions: Are there .cf files I can edit to change the user for VNC? Where are they or how can I find them? Should I setup a user account just for VNC logins? These questions naturally bring up more. When I login as root, I get a red screen with a calendar-type icon and another icon in the upper right hand corner of the screen and nothing else. If I right click on the screen I get a popup menu similar to the K button in the KDE Panel. There is no panel in the red screen. I think root is starting with an x-window that is not KDE. So far I have seen 3 different x-window environments on this system: kde, the red one, and one that has a Linux button when the system is not shut down properly. I would like to hear a little explaination on this if anyone has time. To everyone who pointed me in the right direction: Thanks. And thanks to anyone who takes the time for this little epistle too! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
On Saturday 26 Oct 2002 9:54 pm, Stefano POGLIANI wrote: Derek, thank a lot for the great hint (and explanation)! A small question: isn't it possible to: 1. start vncserver AT BOOT TIME ? 2. start vncserver without a specific user ? [i.e. having it to display the Linux Login screen ] Thanks a lot in advance. Best regards /stefano Well I do not run it that way myself, but if you look in Mandrake Control CentreSystemServices you will see that vncserver can be started from Boot. That means there will be an entry in /etc/rc5.d for vncserver which is where services are controlled during boot and shut down. We see there a file called K35vncserver. Look inside it and you see vncserver is stated with a configuration file called /etc/sysconfig/vncservers. Look at that file and you see an example startup command. However if I try to start vncserver as root,no matter what I put into the startup script /root/.vnc/xstartup the log says that permission is denied, and I just get an X session with a blank screen. An alternative might be to not use vnc, but to make an ssh session. You can log into ssh as whichever user you please (ssh usernamehostname) You can then startup graphical applications and the windows will be automatically forwarded to your screen. (Note that starting vncserver as root is a security risk. If you are using 9.0 the vncserver is TightVNC which allows you to only allow access to users who have your public ssh key. You should read up on the TightVNC site, and the ssh site to understand how to make access secure. (I do not use that myself as I do not allow vnc past my firewall). SSH can also be configured to only allow access to key holders. By default access is allowed to anyone who knows the password) derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC Port
I'm guessing a very simple question (I hope): How do I set vncserver to listen to a particular port? If not, what port does it listen on? __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC Port
Sorry, all, I was sniffing glue. I decided to do something silly and read the manual. __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] VNC Port
Could you share your reading? Thanks a lot in advance. Best regards /stefano -Original Message- From: [EMAIL PROTECTED] [mailto:newbie-owner;linux-mandrake.com]On Behalf Of Paul Dimitriu Sent: 26 October 2002 12:18 To: [EMAIL PROTECTED] Subject: Re: [newbie] VNC Port Sorry, all, I was sniffing glue. I decided to do something silly and read the manual. __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] VNC
Derek, thank a lot for the great hint (and explanation)! A small question: isn't it possible to: 1. start vncserver AT BOOT TIME ? 2. start vncserver without a specific user ? [i.e. having it to display the Linux Login screen ] Thanks a lot in advance. Best regards /stefano » -Original Message- » From: [EMAIL PROTECTED] » [mailto:newbie-owner;linux-mandrake.com]On Behalf Of Derek Jennings » Sent: 24 October 2002 23:20 » To: [EMAIL PROTECTED] » Subject: Re: [newbie] VNC » » » On Thursday 24 Oct 2002 8:15 pm, ivette brusselmans wrote: » installed VNC. How do I start up the programme? When I run Console » VNCserver, i get the following message:[luc@localhost luc]$ vncserver » » Warning: localhost.thuis.com:1 is taken because of /tmp/.X11-unix/X1 » Remove this file if there is no X server localhost.thuis.com:1 » » Warning: localhost.thuis.com:2 is taken because of /tmp/.X11-unix/X2 » Remove this file if there is no X server localhost.thuis.com:2 » » New 'X' desktop is localhost.thuis.com:3 » » Starting applications specified in /home/luc/.vnc/xstartup » Log file is /home/luc/.vnc/localhost.thuis.com:3.log » » [luc@localhost luc]$ » » Any ideas? » » You have started it. It is running on the next available server » which is :3 » Look in your running processes and you will see Xvnc is running » » The next step is to open a client which you do on a remote machine with » vncviewer Hostname:3 username » » where username is the name of the user the server is running » under ( not root) » » You will probably then see a blank screen with an X in the middle » because you » need to put the name of the Window Manager you want to run in » /home/luc/.vnc/xstartup » for example » kde » » I also recommend starting the server like this :- » vncserver -geometry 800x600 -depth 16 :3 » This will force the screen size to something reasonable, or » otherwise it will » be the same size as the servers monitor, which can cause lots of awkward » scrolling on a smaller remote screen. » Limiting the colour depth is also advisable, because it greatly » reduces the » bandwidth needed over the link. And forcing it to a particular » screen number » lets you know in advance what screen to ask for in the viewer. » » To close the server use » vncserver -kill :3 » If you do not you get those files left behind in /tmp/.X11-unix/ » which have » to be erased before that screen can be used again. » » HTH » » derek » » » Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC uninstall install
uninstalled VNC with rpmdrake. When I try to install it again, get the message that it is already installed. But I can't find the icon anywhere in KDE. And when I type vncserver in console, nothing happens. 1 mandrake box server 1 win98 box client with VNC installed and running How come? Doesn't KDE make an icon automatically when program is installed? thanx _ Je kan ook Messenger berichten op je mobiele telefoon ontvangen! http://www.msn.nl/services/hotmailsmsv271551/messenger/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC uninstall install
ivette brusselmans wrote: uninstalled VNC with rpmdrake. When I try to install it again, get the message that it is already installed. But I can't find the icon anywhere in KDE. And when I type vncserver in console, nothing happens. 1 mandrake box server 1 win98 box client with VNC installed and running How come? Doesn't KDE make an icon automatically when program is installed? Not normally. Some programs are KDE integrated, so they will automatically add themselves to the system menu (not necessarily your own user menu - that depends on your preferences, I think) but I've never known a program automatically add an icon to your desktop, and I wouldn't really want them to. I think your problem may be a corrupted RPM database (VNC was uninstalled but not removed from the database). As root, type rpm --rebuilddb That _might_ fix it. Sir Robin -- You almost never hear that word computer anymore, do you? They're part of everything now. They used to be boxes with keyboards, you know. - Tad Williams Robin Turner IDMYO Bilkent Üniversitesi Ankara Turkey http://www.bilkent.edu.tr/~robin Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] VNC
installed VNC. How do I start up the programme? When I run Console VNCserver, i get the following message:[luclocalhost luc]$ vncserver Warning: localhost.thuis.com:1 is taken because of /tmp/.X11-unix/X1 Remove this file if there is no X server localhost.thuis.com:1 Warning: localhost.thuis.com:2 is taken because of /tmp/.X11-unix/X2 Remove this file if there is no X server localhost.thuis.com:2 New 'X' desktop is localhost.thuis.com:3 Starting applications specified in /home/luc/.vnc/xstartup Log file is /home/luc/.vnc/localhost.thuis.com:3.log [luclocalhost luc]$ Any ideas? _ Wil je je beveiligen tegen Ongewenste Post? Klik hier voor tips http://www.msn.nl/services/hotmail/ongewenst/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] VNC
ivette brusselmans, Thursday 24 October 2002 20:15: installed VNC. How do I start up the programme? When I run Console VNCserver, i get the following message:[luclocalhost luc]$ vncserver Warning: localhost.thuis.com:1 is taken because of /tmp/.X11-unix/X1 Remove this file if there is no X server localhost.thuis.com:1 Warning: localhost.thuis.com:2 is taken because of /tmp/.X11-unix/X2 Remove this file if there is no X server localhost.thuis.com:2 New 'X' desktop is localhost.thuis.com:3 Starting applications specified in /home/luc/.vnc/xstartup Log file is /home/luc/.vnc/localhost.thuis.com:3.log [luclocalhost luc]$ Any ideas? I think it /is/ starting. Find out with ps -A|grep vnc. Delete those lock files in /tmp/.X11-unix/ and restart it so it will run on X server 1. I launch it with: $vncserver -depth 16 -geometry 800x600 On the other box I do: $vncviewer server i.p.:1 Also, I think /etc/X11/kdm/Xaccess needs a * on one line. RichardA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Re[6]: [newbie] vnc
u're welcome. sorry i couldn't have helped more. On Tue, 27 Aug 2002 19:34:47 +1000 Colin Jenkins [EMAIL PROTECTED] wrote: Hello Stormjumper, Tuesday, August 27, 2002, 2:57:35 AM, you wrote: S k. on my installation (mdk 8.2, tightvnc-server-1.2.4-1mdk) S vncserver resides in /usr/X11R6/bin S line 42 says S $fontPath = unix/:-1; tried that, no difference. I can load say diskfree and the fonts are ok in vnc, but firestarter fonts are wrong. seems some proggys are ok but others are not. think i'll just leave it till 9.0 comes out and do a fresh install. Thank for the help anyway... -- Best regards, Colinmailto:[EMAIL PROTECTED] _ ___ ..registered linux user #223862 .. __ ___ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Re[4]: [newbie] vnc
k. on my installation (mdk 8.2, tightvnc-server-1.2.4-1mdk) vncserver resides in /usr/X11R6/bin line 42 says $fontPath = unix/:-1; unfortunately i dun understand what that means, so i can't explain it to you. however i assume that is erroneous on your system, and since line 44-45 says # Here is another example of setting the font path: # $fontPath = /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/; you can try commenting line 42 and uncommenting line 45. those are the actual directories containing the font files for your system, as well as other directories in /usr/bin/X11/fonts, which you can try adding as well if need be. On Mon, 26 Aug 2002 17:35:25 +1000 Colin Jenkins [EMAIL PROTECTED] wrote: Hello Stormjumper, the error I get when starting tightvnc is: Couldn't start Xvnc; trying default font path. Please set correct fontPath in the vncserver script. the vncserver does start, just the fonts are wrong I can't work out what file is meant by 'vncserver script' I have tried uninstalling and reinstalling ,but no change. S as i said, i'm pretty much a newbie *grin* S so my value as a source of help is pretty much limited. S but offhand, i've 2 suggestions regarding the font path problem. S 1. if you think you've messed up certain vnc scripts, S remove vnc and vncserver (with rpm/rpmdrake/software manager), S and install it back. -- Best regards, Colinmailto:[EMAIL PROTECTED] _ ___ ..registered linux user #223862 .. __ ___ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: Re[2]: [newbie] vnc
as i said, i'm pretty much a newbie *grin* so my value as a source of help is pretty much limited. but offhand, i've 2 suggestions regarding the font path problem. 1. if you think you've messed up certain vnc scripts, remove vnc and vncserver (with rpm/rpmdrake/software manager), and install it back. 2. put the error message here. someone might know what the message means. On Wed, 21 Aug 2002 19:36:33 +1000 Colin Jenkins [EMAIL PROTECTED] wrote: Hello Stormjumper, Wednesday, August 21, 2002, 3:10:15 AM, you wrote: S hi Colin, S i'm pretty much a newbie myself, S so what i'm putting here is just what works, S rather than what is correct. S but anyway, what i do is to edit /etc/X11/Xsession S near the end, around line 150, S there's this line S [ $SESSIONxxx != xxx ] exec $SSH_AGENT sh -c S $(/usr/sbin/chksession -x=$SESSION) S i simply added the following S # [ $SESSIONxxx != xxx ] exec $SSH_AGENT sh -c S # $(/usr/sbin/chksession -x=$SESSION)[ S # $SESSIONxxx != xxx ] exec $SSH_AGENT sh -c S # $(/usr/sbin/chksession -x=IceWM)[ $SESSIONxxx != S # xxx ] exec $SSH_AGENT sh -c $(/usr/sbin/chksession S # -x=XFce) S and commented/decommented whatever my mood/work called for. S (take note the line wrapping is due to the email program. S in Xsession it's only 3 separate lines.) __ ___ Magic, just what I wanted just one prob. in my messing around, I seem to have broken somthing.. when I star the vncserver on linux, I get an error with the font path and when I start the client on windows, I get those little squares instead of the fonts. It says to correct the font path in the vncserver script. any ideas on what I need to do? -- Best regards, Colinmailto:[EMAIL PROTECTED] _ ___ ..registered linux user #223862 .. __ ___ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re[2]: [newbie] vnc
Hello Stormjumper, Wednesday, August 21, 2002, 3:10:15 AM, you wrote: S hi Colin, S i'm pretty much a newbie myself, S so what i'm putting here is just what works, S rather than what is correct. S but anyway, what i do is to edit /etc/X11/Xsession S near the end, around line 150, S there's this line S [ $SESSIONxxx != xxx ] exec $SSH_AGENT sh -c $(/usr/sbin/chksession -x=$SESSION) S i simply added the following S # [ $SESSIONxxx != xxx ] exec $SSH_AGENT sh -c $(/usr/sbin/chksession -x=$SESSION) S [ $SESSIONxxx != xxx ] exec $SSH_AGENT sh -c $(/usr/sbin/chksession -x=IceWM) S # [ $SESSIONxxx != xxx ] exec $SSH_AGENT sh -c $(/usr/sbin/chksession -x=XFce) S and commented/decommented whatever my mood/work called for. S (take note the line wrapping is due to the email program. S in Xsession it's only 3 separate lines.) __ ___ Magic, just what I wanted just one prob. in my messing around, I seem to have broken somthing.. when I star the vncserver on linux, I get an error with the font path and when I start the client on windows, I get those little squares instead of the fonts. It says to correct the font path in the vncserver script. any ideas on what I need to do? -- Best regards, Colinmailto:[EMAIL PROTECTED] ..registered linux user #223862 .. _ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc
If you want to make changes on a per-user basis, take a look at ~/.vnc/xstartup , which is where the information gets pulled from. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online http://www.findaschool.org At 01:38 AM 8/21/2002 +0800, you wrote: hi, i forgot to mention that my solution in the previous post is actually changing the default wm for the entire system, so you may want to change it back after you run vncserver, if it affects your system behaviour in my case, i use kdm locally, which doesn't seem to be affected by whatever changes i make to /etc/X11/Xsession. On Tue, 20 Aug 2002 20:16:10 +1000 Colin Jenkins [EMAIL PROTECTED] wrote: Hello Stormjumper, Tuesday, August 20, 2002, 7:49:36 PM, you wrote: S which machine is running the server, S and which machine is running the client? sorry for the confusion, it's been a long day :) yep, the server is running on mandrake, client on winxp, using the latest tightvnc rpms. it works fine if I have kde running, but if I run gnome I still get a kde desktop on windows. If I run any other wn I just get a black screenhad a look at the scripts you mentioned, can't see any vnc related file in /usr/X11R6/bin and /etc/X11/Xsession didnt give me any clues (mind you, I don't have much idea what i'm looking for :) . how do you select which wm you want to use from windows tightvnc client? or is it supposed to run the one which the vnc server starts in? -- Best regards, Colinmailto:[EMAIL PROTECTED] _ ___ ..registered linux user #223862 .. __ ___ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] vnc
Hi all, been using tightvnc for a while on my home network (was using KDE) . Decided to switch to to a more lightweight desktop, but can't get it working. (have tried xfce, icewm and fluxbox with no success. the connection is accepted (from my windows box), but I just get a blank screen. -- regards, Colin mailto:[EMAIL PROTECTED] ..registered linux user #223862 .. _ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] vnc
which machine is running the server, and which machine is running the client? your message seems abit ambiguous, so i'll assume you're running the server on Mandrake and the client is on Windoze. if you get a blank (black?) screen, it may be that X is started, but without initialising any window managers. vncserver is actually a script in /usr/X11R6/bin which eventually calls /etc/X11/Xsession you can try tracing thru the scripts and see if you can see anything that needs correction. are you using Mandrake specific rpms? i'm using tightvnc-1.2.4-1mdk and tightvnc-server-1.2.4-1mdk with Mandrake 8.2 and they worked out of the box, so you can try those if u're not already using them. On Tue, 20 Aug 2002 17:58:34 +1000 Colin Jenkins [EMAIL PROTECTED] wrote: Hi all, been using tightvnc for a while on my home network (was using KDE) . Decided to switch to to a more lightweight desktop, but can't get it working. (have tried xfce, icewm and fluxbox with no success. the connection is accepted (from my windows box), but I just get a blank screen. -- regards, Colin mailto:[EMAIL PROTECTED] _ ___ ..registered linux user #223862 .. __ ___ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com