Hello everybody, I apologize if it's not the right place to ask, I don't even know if there is anybody reading here but I have a question that is driving me crazy and couldn't find an answer anywhere. The problem is this. I have a CentOS 6.4 installation running at runlevel 3, no Xserver running. Since display :0 is free, I would like that running the command:
vncserver an Xvnc process starts running hooking to display :0. This does not happen. It always hooks to display :1 (or the lowest free, except :0). I could not find a setting to change this behaviour to save my life. If I run vncserver :0 Everything goes smoothly and I can use display :0 with no problem at all. I just can't change the default behaviour. Where it can be set? I read guides, and they mention editing the file /etc/sysconfig/vncservers VNCSERVERS="1:larry 2:moe 3:curly" VNCSERVERARGS[1]="-geometry 640x480" VNCSERVERARGS[2]="-geometry 640x480" VNCSERVERARGS[3]="-geometry 800x600" (and create the users, their password, etc. etc.). This does not work. First of all: this is not what I want. I do not want that when larry launches the vncserver it runs on display :1, when moe does, it runs on display :2 etc. etc.. I would like that whoever launches the server, gets display :0. The command should always launch display :0, even if I launch it with user jonh, who is not mentioned in VNCSERVERS. Secondarily: the geometry parameter is not taken into account: whenever and however I launch the server, it always has geometry 1200x960, which is the last I set directly via gnome menu: System -> Preferences -> Display. This one should get overridden, but it's not. I do not know where I can change this but I suspect it is X related, not tiger-vnc related. Yet I do not understand why the geometry is overridden. Last but certainly not least, this whole configuration only works if I launch the vncserver as a service, which I do not, and do not want to. If I run: service vncserver start Then if I am larry I fire up display :1, moe :2, curly :3 and so on. But if I launch the command as: vncserver Whoever I am, I always wind up with a process listening on display :1 (unless I explicitly pass a different display of course), so it seems the parameter file in that case is not even read. So... where's the file that holds the indication to launch display :1 when executed as a command instead of a service? Many thanks for your help! Marco ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Tigervnc-users mailing list Tigervnc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-users