Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Rep:
How is Xvnc confgiured. Run a seperate desktop or redisplay current display:0.
Which link have you followed to get the most done. All depends on where some files are or which ones you choose.
How is Xvnc confgiured. Run a seperate desktop or redisplay current display:0.
Which link have you followed to get the most done. All depends on where some files are or which ones you choose.
This one does a good job with vnc.
Brian
Thanks for the quick reply,
I have gone this route with the one you posted, the only problem is that the service does not start back up on its own. I have to actually log into X Windows and run "service vncserver start" once again.
I have followed so many links now, the main 2 I have tried is the xinetd way, by adding into
/etc/services:
vnc 5901/tcp
and into /etc/xinetd.d/vnc:
vnc
{
disabled = no
server = /usr/bin/Xvnc
server_args = blah blah
..
..
}
I have also tried the Xservers file in /etc/X11/xdm/Xserver:
:1 local /usr/bin/Xvnc blah blah blah
and anytime I reboot and "ps x | grep vnc" it does not return anything, until I start the vnc server back up again.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Rep:
Still a bit confused with your setup but I normally use the command chkconfig to set the runlevels for the services to start. So for a vncserver I do this. First /etc/init.d/vncserver exist.
To start the service.
service vncserver start
To make autostart on boot
chkconfig --level 345 vncserver on
chkconfig will set the S option infront of the vncserver script in runlevel 3 which is the scripts in /etc/rc3.d to runlevel 5 /etc/rc5.d
Still a bit confused with your setup but I normally use the command chkconfig to set the runlevels for the services to start. So for a vncserver I do this. First /etc/init.d/vncserver exist.
To start the service.
service vncserver start
To make autostart on boot
chkconfig --level 345 vncserver on
chkconfig will set the S option infront of the vncserver script in runlevel 3 which is the scripts in /etc/rc3.d to runlevel 5 /etc/rc5.d
Brian
Wow, you sir, are a genius. Sorry I forgot to mention I'm a total newb to linux heh. Thank you very much, case FINALLY closed.
Actually, one more question if you have time...
Is there anyway to point the vnc server to show the login screen as opposed to a desktop, so the vnc user can login as whomever they wish ?
Once added restart the X server and now there will be the default X that comes up which is display :0 and if you leave yours at display:1. All you nned to do is use :0 instead of :1 on the vnc client app.
Once added restart the X server and now there will be the default X that comes up which is display :0 and if you leave yours at display:1. All you nned to do is use :0 instead of :1 on the vnc client app.
Brian
Thank you once again sir, the second link worked out perfectly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.