X runs over vnc for one of my servers but not the other...

Posted on 2005-04-27
Last Modified: 2013-12-06
What packages need to be installed/enabled in order for me to get the GUI desktop over VNC. These are RHEL 3 and Fedora Core 2 respectively. I use the RHEL for production and the other for development.
Question by:smetterd
    LVL 38

    Accepted Solution

    Edit ~/.vnc/xstartup

    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER    #<=== uncomment this line
    exec /etc/X11/xinit/xinitrc      #<=== uncomment this line

    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    gnone-session &   #<=== change from "twm &" to "gnome-session &"or "startkde &"
    Then restart vncserver.
    LVL 2

    Author Comment

    Perfecto! Thanks so much.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
    This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
    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…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    758 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

    11 Experts available now in Live!

    Get 1:1 Help Now