Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I found many threads about this now but nothing helped me.
Most times directories or files were missing on my system (wrong distribution?) or I just did not get it.
Thats very frustratin now... so I hope someone here can help me.
I have a Suse 8.2 PC here and want to run a VNC Server. The programm should start with the PC / System. It should run without a login of a user.
Ok this is a quick and dirty method, you should use /etc/init.d/skeleton as a reference and write a proper runlevel script, but anyway here it goes:
create a file /etc/init.d/vncserver with the following content:
/bin/su user1 -c "usr/X11/bin/vncserver :1"
change user1 to whatever user you want to start the vnc server with(better not use root)
then make a symlink to runlevel 5 or whatever's your default runlevel
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.