Solved

VNCServer - Starting up on boot

Posted on 2004-09-28
9
705 Views
Last Modified: 2010-04-20
Alright here is some background.  We have 2 dell poweredge servers running RedHat ES3 on them, and they will be running Oracle software.  They will be put in a different building as soon as I figure this out.

I have vncserver running correctly on the 2 servers, and we can access them just fine.  The problem is that when we reboot the server you can not access VNCserver until you log into the server.  This means that you physically have to be at the server.

How can we get VNCserver to start up for 2 users when the computer starts up?  or what kind of workaround is there for this type of problem?
0
Comment
Question by:Intern
  • 6
  • 3
9 Comments
 
LVL 6

Accepted Solution

by:
knollbert earned 500 total points
ID: 12171232
0
 
LVL 1

Author Comment

by:Intern
ID: 12171589
I added this line to the vncserver file

VNCSERVERS="1:oracle"

And when I run "/etc/init.d/vncserver start" it starts up the vncserver session correctly.  Then I added the following line to 'usr/share/doc/pam_krb5-1.73/pam.d/linuxconf' , 'usr/share/doc/pam_krb5-1.73/krb5afs-pam.d/linuxconf', and 'usr/share/doc/nss_ldap-207/pam.d/linuxconf'

account        required     /etc/init.d/vncserver start

It does not start up when the server starts.  What am I doing wrong?
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12171678
did you add the correct link to your
/etc/rc.d/rd.3 folder (may not be right it been a while)
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 1

Author Comment

by:Intern
ID: 12171732
little clarification please -

I found the folder, but what am I supposed to put there? or what file should I modify?
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12171820
like i said its been awhile since i've used RH but try
ln -s /etc/rc.d/init.d/vncserver /etc/rc.d/rc3.d/S79vncserver

ln -s /etc/rc.d/init.d/vncserver /etc/rc.d/rc2.d/k79vncserver
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12171836
ln -s /etc/rc.d/init.d/vncserver /etc/rc.d/rc0.d/k79vncserver
ln -s /etc/rc.d/init.d/vncserver /etc/rc.d/rc1.d/k79vncserver
ln -s /etc/rc.d/init.d/vncserver /etc/rc.d/rc6.d/k79vncserver


too
0
 
LVL 1

Author Comment

by:Intern
ID: 12172328
Works great!!!! Thank you very much.  By the way if you know Samba, I have another question out there.

http://www.experts-exchange.com/Operating_Systems/Linux/Q_21148254.html
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12172689
I Know a little about many things I'll look
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12172694
Just enough to be dangerous
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question