Solved

VNCServer - Starting up on boot

Posted on 2004-09-28
9
703 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
 
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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now