Solved

running xterm in Linux VNC shows up invisible until clicked....

Posted on 2011-03-03
6
713 Views
Last Modified: 2012-08-13
I have VNC running on a Linux box and if you run xterm when remoted in, it shows up as just the clear outline of the terminal window and it's attached to the mouse pointer. When you click once it shows up as it's supposed to with the prompt and color, etc.

Does anyone know how to disable that so xterm just comes up instantly without requiring any interaction from the user?

This is RHEL5.6 with VNCserver
0
Comment
Question by:willlandymore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 35029234
Sounds like you are getting twm desktop.  You need to change your normal desktop, you need to add or uncomment the following lines in the xstartup script.

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
0
 
LVL 1

Author Comment

by:willlandymore
ID: 35029292
tried that already.

I uncommented the lines and then restarted the server but it's behaving the same way.
0
 
LVL 1

Accepted Solution

by:
willlandymore earned 0 total points
ID: 35029448
gnome-session & on the last line in the xstart script seems to have resolved it.
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 10

Expert Comment

by:Martin_J_Parker
ID: 35029451
How did you restart the server?
Did you do a
   vncserver -kill :1
command followed by a
   vncserver :1
command ?
0
 
LVL 10

Expert Comment

by:Martin_J_Parker
ID: 35029462
Too late!  Nice fix.
Cheers,
M.
0
 
LVL 1

Author Closing Comment

by:willlandymore
ID: 35067814
fixed the issue
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

707 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