VNCServer - Xvnc dead but subsys locked

Environment:
Oracle Linux Server release 6.5
Linux version 2.6.39-400.215.3.el6uek.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Fri Jun 20 00:37:05 PDT 2014
I attempted to configure vncserver.  First I ran 11gr2 pre-install package from Oracle.  Later, we decided to go with 12c so I ran 12cR1 pre-install package.  I performed a yum update.  I configured the vncserver with the procedure below.  I get the following error message, "Xvnc dead but subsys locked." when # service vncserver status.  It starts working but fails within seconds.  The normal sys admin is on vacation and I am fairly limited in linux troubleshooting.
# rpm -qa |grep vnc
tigervnc-1.1.0-8.el6_5.x86_64
tigervnc-server-1.1.0-8.el6_5.x86_64
* create groups *
# /usr/sbin/useradd -u 600 -d /home/grid -g oinstall -G asmadmin,asmdba,asmoper,dba -m -s /bin/bash grid
# /usr/sbin/useradd -u 700 -d /home/oracle -g oinstall -G dba,oper,backupdba,dgdba,kmdba,asmdba -m -s /bin/bash oracle
# passwd grid
# passwd oracle
# su grid
# vncpasswd
# su oracle
# vncpasswd
Make the following changes and additions to /etc/sysconfig/vncservers:
# vi /etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
# Uncomment the lines below to start a VNC server on display :2
# as my 'myusername' (adjust this to your own).  You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted!  For a secure way of using VNC, see this URL:
# http://kbase.redhat.com/faq/docs/DOC-7028
# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
# Use "-localhost" to prevent remote VNC clients connecting except when
# doing so through a secure tunnel.  See the "-via" option in the
# `man vncviewer' manual page.
# VNCSERVERS="2:myusername"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
VNCSERVERS="2:grid 3:oracle"
VNCSERVERARGS[2]="-geometry 1024x768 -nolisten tcp"
VNCSERVERARGS[3]="-geometry 1024x768 -nolisten tcp"
# service vncserver start
# service vncserver stop
# chkconfig vncserver on
# service vncserver status
Xvnc (pid 19361 19292) is running...
# service vncserver status
Xvnc dead but subsys locked

I am not using the client to connect yet.  The service displays a failure.  I checked one of the users that should be started when the service vncserver start command is executed and I show the following error message in /home/<user>/.vnc/<fqhn>:2.log:
vncconfig: unable to open display "<fqhn>:2"
xrdb: Connection refused
xrdb: Can't open display '<fqhn>:2'
xmodmap:  unable to open display '<fqhn>:2'
mkdtemp: private socket dir: Permission denied
Fatal server error:
Could not create lock file in /tmp/.tX2-lock
Note: Substituted Fully Qualified Host Name (fqhn) and user in <>.
It seems that I needed to change the permissions on my /tmp directory.
drwxrwxr-x.   6 root root      4096 Jul  2 08:18 tmp
chmod 1777
drwxrwxrwt. 22 root root 4096 Jul  2 09:01 /tmp
It seems to be working now.  Thank you for your help.

Similar Messages

  • What should i do i buy a second hand iphone 4s but its lock to the previous owner in find my iphone pls help me i cant use my iphone for a year already

    pls. help me about find my iphone lock. because i buy a second hand iphone 4s but still lock to the previous owner when i restore factory settings still searching for the previous owner of this phone still now i cant use this phone

    Hello jimmy ii
    The only option is to contact that person to have them remove Activation Lock from the iPhone. They can do it online and do not have to come to you. Check out the article below for more information.
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    http://support.apple.com/kb/TS4515
    Regards,
    -Norm G.

  • HT1329 My old computer is dead, but I have all my songs on my iPod.  Is there a way to simply move my music from my iPod to my iPad without it deleting anything off the iPod?  It took a lot of work to put my library in, and I don't want to loose that work

    My old iTunes computer is dead, but all my music is still on one of the first versions of the IPod.  Can I transfer my music library to my iPad.  I believe my iPad is the first one that was released.

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    B-rock

  • My iphone 4 wont turn on after hours of charging, normally i would press the lock button and home button together but my lock button stopped working afue weeks ago. Help!

    My iphone 4 wont turn on after hours of charging, normally i would press the lock button and home button together but my lock button stopped working afue weeks ago. Help!

    Hello Kimbo1991,
    It sounds like your phone is not successfully booting even though you have reset the device. I would next recommend attempting a backup and restore to iTunes with this article:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    If you are unable to restore with iTunes I would next put the device into recovery mode, and attempt the restore again:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • I buy second hand phone, but its lock, now i want to use zain SIM in it so how i can unlock it

    i buy second hand phone, but its lock, now i want to use zain SIM in it so how i can unlock it

    Contact the original cellular provider, as they are the only ones that can provide unlocking.
    Stedman

  • Bought a used imac but its locked by old username and password

    bought a used imac but its locked by old username and password

    The first thing you should do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. If you don't have the media, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able toauthorize it under your ID. In that case, contact iTunes Support.

  • I bought my iphone unlocked from carephone warehouse, I had a problem with the phone and apple swapped it over but they locked it to tmobile!!! what can i do?? I have changed contracts and can not use my phone!

    I bought my iphone from carephone warehouse, sim free and with no contract. 5 months down the line I had a problem with the phone and I booked a genius appointment, they swapped my phone and gave me a new phone but they locked my phone to tmobile!!! I now do not use tmobile and I have an iphone which is locked to tmobile!!! I bought an unlocked phone and apple have locked it!!! what can i do?

    In response to this, Carphone Warehouse (and Phones4U) sell what is commonly referred to as "sim free" handsets - these are not the same as unlocked. Sim free handsets will automatically lock to the first network sim card that the phone is activated with, and that will be permanently. The only way to unlock the handset would be to go through the network (T-Mobile I understand) and request they unlock it for you. More than likely, there will be a charge as you are no longer a T-Mobile customer.
    If you ever want to purchase a new unlocked iPhone, the only place you can buy one is from Apple directly. Any other place will most likely sell sim free handsets.

  • I have an ipad 2 but got locked, just want to know if it is possible unlocked

    hello
    a question, I have an ipad 2 but got locked, just want to know if it is possible unlocked

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.htmlhttp://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tbhttp://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Devicehttp://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htmhttp://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Ipod have 22,773,688 minutes. someone stole ipod got it back but its lock and cant get into it.help

    My ipod has 22,773,688 minutes. Someone stole ipod got it back but its locked and cant get in it?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                          
    If recovery mode does not work try DFU mode.                         
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings         
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I have an iPhone 4s and it went dead but it was not the battery life. won't restart.

    I have an iPhone 4s and it went dead but I'm pretty sure it wasn't the battery. I've plugged it into the charger and it won't charge. I've plugged it into my computer, and it doesn't recognize it. HELP!!

    See Here for
    Frozen or unresponsive iPhone
    Try this First...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    http://support.apple.com/kb/ht1430

  • Hello, I can´t active my iPad because appears the following mesage: "Not Enough Storage, This iPad cannot backed up because there is not enough iCloud storage available. You can manage your storage in settings". I did click on Settings but still locked.

    Hello, I can´t active my iPad because appears the following mesage: "Not Enough Storage, This iPad cannot backed up because there is not enough iCloud storage available. You can manage your storage in settings". I did click on Settings but still locked.

    Hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone should restart. This will have no affect on your data.

  • My iPhone 3GS is dead but fully backed up to iTunes.  How can I transfer my data to a new iPhone?

    My iPhone 3GS is dead but fully backed up to iTunes.  How can I transfer my data to a new iPhone?

    Restore from backup of your old iphone.
    iOS: Transferring information from your current iPhone, iPad, or iPod ...

  • My ipad is disabled conect to itunes but it lock in passcode how to fix it

    my ipad is disabled conect to itunes but it lock in passcode how to fix it

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
    1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    2. iOS- Forgotten passcode or device disabled after entering wrong passcode
    3. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    4. iOS- Understanding passcodes
    5. What to Do If You've Forgotten Your iPhone's Passcode
    6. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
    7. Restoring iPod touch after forgotten passcode
    8. RecBoot: Easy Way to Put iPhone into Recovery Mode - if all else fails.
    Forgotten Restrictions Passcode Help
    1. How to Recover Forgotten iPhone, iPad Restrictions Passcode
        If this method does not work, then you will need to fully Restore your
        device as New

  • I need to change my security question to buy apps but it locked me out cause I put it in but it wrong I guess

    I need to change my security question to buy apps but it locked me out cause I put it in but it wrong I guess

    Start here
    http://www.apple.com/support/appleid/
    I ended up having to have them call me to get things reset.

  • HT4061 I brought a Iphone 4s from someone and they never give me their apple id and password. Now I the phone but its lock , how do I unlock it ?

    I brought a Iphone 4s from someone and they never give me their apple id and password. Now I the phone but its lock , how do I unlock it ?

    You don't. Take it back to them and ask them to unlock it. If they refuse, or if they have now vanished off the face of the earth, you own a brick. There is no way past the activation lock without the proper credentials.

Maybe you are looking for

  • Call register and bluetooth

    A customer has come back to me with a problem with regards to the call register on his factory fitted b'tooth car kit. (Ford Galaxy)  Basically, The handset is fully suppoerted by the kit (as per manufacturer's guidelines). It connects up, reads phon

  • Flash Player 10.0.22.87 Not working in IE8

    Good Morning        Here is my problem.    I had a working version of Flash Player on my laptop. Adobe Pops up with an Update for it so i clicked install and allowed it to update my Flash Player to the latest version.  Now here's the kicker. The file

  • FLV video ends opens new swf

    I imported a FLV (progressive download) into flash. At the end of the video I need a new swf to open. I've been searching for the action script to do this with no luck. If someone could point me in the right direction I'd really appreciate it. Thanks

  • XML message with no matching workflow instance

    Hi all, I have a JMS application that sends XML messages to WLPI. I want to ask: 1. what will happen to the XML message if it doesn't match any workflow instance? 2. is there a way for the JMS application to know that the XML message didn't match any

  • Windows Vista Installation Hangs on "Completing Installation" on Dell Inspiron 1720

    I have a Dell Inspiron 1720 that I am working on. The original problem with this computer was that it was accidently shut off during a Windows Update. The computer will only load to a black screen with a white movable cursor.  Unable to resolve that