Solved

VNCServer - Starting up on boot

Posted on 2004-09-28
9
707 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Zimbra on Amazon Linux help 7 108
Using Linux to replace Windows Server 2008 R2 for network drives 5 127
Internal CA server 6 88
Migrating a Linux server to VMware 3 104
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

685 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