Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VNCServer - Starting up on boot

Posted on 2004-09-28
9
Medium Priority
?
711 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
9 Comments
 
LVL 6

Accepted Solution

by:
knollbert earned 2000 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

610 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