Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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've got a machine with mandrake 9.0 that will be running without a monitor or mouse. I want to remote into it with vnc but I don't know how to start vnc during startup. I've added the line /usr/bin/perl vncserver to rc.local but that did jack. I also tried the line /usr/bin/vncserver but that didn't do anything either. /usr/bin is where vncserver, vncpasswd, vncconnect, vncviewer, and Xvnc are so I don't know why it doesn't work. So if anyone could tell me how to set up vnc to start when linux boots up it would very appreciated.
Add what line to my rc script? And how should it look in my rc script? I'm a newb and the rc script has a bunch of coding in it so is it just supposed to be below all of the codeing? /usr/bin/perl vncserver :2?
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46
Rep:
I'm assuming you have x configured?
Not sure about your distro, but I think it should be very similar. On my BSD machine, the vncserver binary is located in the usr/x11r6/bin. It needs to be able to properly initialize x. So that needs to be configured before getting vnc to work.
Just running vncserver from a command prompt should initialize it.
Simply add that line of code to the rc config line in the /etc directory.
This wirks perfectly from the command prompt but does not work from the rc.local file. Someone out there must be using VNC to control a headless server in Linux. Please Help!!!
This wirks perfectly from the command prompt but does not work from the rc.local file. Someone out there must be using VNC to control a headless server in Linux. Please Help!!!
Thanks
running this via your rc.local script will make it run as root, not as your normal user... if you want it to run as a normal user then try using
I'm trying to do the same thing as dipper17. I want vncserver to run during startup with a pc that doesn't have a monitor or mouse. I'm also a huge newbie to linux to if you have an answer I need a step by step to understand it. Thanks for all of the advice so far.
Well, I haven't heard of vnc but Webmin is a good remote program. All you need is a browser, preferable with Java-plugin. I always use webmin for all my configuration-needs. The only thing I do from the server is installing rpms.
vnc is an excellent remote program that allows you to do anything remotely and its a multiplatform programs so I can use it to remote into multiple windows and linux machines from one location
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.