Solved

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

Posted on 2011-03-03
6
701 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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
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

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access_log 17 101
linux installs 6 50
Linux/Apache File Ownership/Permissions 1 54
Choosing CentOS 16 59
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

863 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

25 Experts available now in Live!

Get 1:1 Help Now