Solved

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

Posted on 2011-03-03
6
703 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 54
reserve ip address for mac address in ubuntu dhcp server 2 72
cannot connect to openvpn server 9 74
centos linux 65 126
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…
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 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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

770 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