Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to run my vnc server with these options: 1000*700;16 color depth; name=vnc....and I made these entries, ....just like it's described on the internet ...
...but if I start my vnc from the server via ssh like this:
Code:
/etc/init.d/vncserver start
the entries, that I've made .....haven't any effect.......but why???
how can I make these static entries for my router and let them affect the vncserver....???
I've researched every possibility, but .... as far as I've found out.... there aren't any others....
the other problem is, that the vncserver also doesn't start if I define on my kde-gui....->redhat-->system settings->server settings-->services.>that redhat has gotto start my vnc-server automatically....
please help me, thanks
pablo
Last edited by pablovschby; 12-07-2003 at 01:14 PM.
So long as this is the first VNC session started, it will always be 1. I always just pass in the options
when I start the server. Ahh, found it. /etc/sysconfig/vncservers. Well, that is the problem. These files are used to start a VNC (or more than 1) session at boot time. They have nothing to do and aren't read when a vncserver is started after boot. You may want to see if a vnc server is running before you try starting a new one. If one is running, the second one will be on :2, the thrid on :3, etc.
Originally posted by RolledOat vncserver -geometry 1000x700 -depth 16 -name VNC -alwaysshared
thanks... yeah...that's my script placed in the folder /etc/rc.d/rc3.d/.....named with "S93vnc".... executable-rights.......there's no problem to run vnc manually....with these parameters...
when my redhat is booting up and executing this script...it reports---> no user is logged on.... -->unsuccessfull......
....mm
P.S. If you have a link as to examples of the VNC options in the sysconfig file, I can take a look. Google and VNC web page didn't show them. Maybe it doesn't like one or more of the input parms and is ignoring the string?
What I always do, that works, is to simply put the required vnc server command in
/etc/rc.local
This is the last file to execute on bootup, and should start the required VNC server session. Have to admit, not a VNC at boot guru.
What I always do, that works, is to simply put the required vnc server command in
/etc/rc.local
This is the last file to execute on bootup, and should start the required VNC server session. Have to admit, not a VNC at boot guru.
R.O.
I added this line to the file /etc/rc.local:
Code:
/etc/rc.d/rc3.d/vnc
.....and this script was executed, yes....but unssucessfull..... and the vnc-server didn't run....
thanks....for advises
well i commented the line with "VNCOPTIONS=" out of my file /etc/sysconfig/vncservers.... cause I don't know either...if this command exists.....unreliable source-....
so...summary:
when I run /etc/rc.d/rc3.d/vnc as root.....the vncserver is doing well....
but if I run it via /etc/rc.local.....it doesn't start...... (the script is executed "unsuccessfull".....in my os...it's in german ..-->[FEHLGESCHLAGEN]....that means failed...
Last edited by pablovschby; 12-07-2003 at 01:39 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.