Solved

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

Posted on 2011-03-03
6
710 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
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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