Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6797601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:37:43+00:00 2026-05-26T18:37:43+00:00

I am using Red Hat 5.6 and I have configured VNC for my Unix

  • 0

I am using Red Hat 5.6 and I have configured VNC for my Unix user with no issues. I am able to log into it and it defaults to Gnome. KDE is installed on the machine and I would like to use it. Below is my ~/.vnc/xstartup file.

I tried replacing twm below with “startkde &” but it didn’t work. Gnome seems to be the default desktop even though twm is shown below and even once I change it, it doesn’t work. Even with no desktop listed, Gnome still starts.

Does anyone know why this is happening and how I can start other desktops?

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
vncconfig -nowin &
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:37:43+00:00Added an answer on May 26, 2026 at 6:37 pm

    The script is never getting to the bottom part, as ‘exec’ causes the current process to be replaced by the target of the exec, in this case the script /etc/X11/xinit/xinitrc, which sources the /etc/X11/Xsession script, which in turn does run-parts of /etc/X11/Xsession.d, invoking the default x-session-manager, which is gnome-session.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a web service(using ruby/sinatra/sqs) which runs on Linux Red Hat. I
I am using JBoss 5.1.0.GA on Red Hat Linux 4. We have only webservices
I have compiled C++ project using cmake utility on Red hat Linux 4.1.2. gcc
I have an application that I deploy on both Linux (Red Hat) and Unix
I'm using VIM in red hat 5, with the black background and green letters.
I am investigating a Java issue (using IBM JVM 1.4.2 64-bit) on Red Hat
I'm currently using Oracle db11g on Red Hat Enterprise Linux 5.0. I make an
I have hosted an application in a machine running Red Hat Enterprise Linux 5.
We have a number of Red Hat linux servers in our IT environment. I
I have a fairly simple Django application (v1.3 on Red Hat) for which I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.