Solved

VNCServer - Starting up on boot

Posted on 2004-09-28
9
704 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

863 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

19 Experts available now in Live!

Get 1:1 Help Now