Solved

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

Posted on 2011-03-03
6
698 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
  • 3
  • 2
6 Comments
 
LVL 31

Expert Comment

by:farzanj
Comment Utility
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
Comment Utility
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
Comment Utility
gnome-session & on the last line in the xstart script seems to have resolved it.
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 10

Expert Comment

by:Martin_J_Parker
Comment Utility
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
Comment Utility
Too late!  Nice fix.
Cheers,
M.
0
 
LVL 1

Author Closing Comment

by:willlandymore
Comment Utility
fixed the issue
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

744 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

13 Experts available now in Live!

Get 1:1 Help Now