vnc experience

Cameron Simpson cs at zip.com.au
Fri Aug 19 05:29:51 UTC 2011


On 17Aug2011 08:48, Alex Troubadour <fasnet99 at yahoo.com> wrote:
| On red hat enterprise 6, how do you set things so if you run vncserver
| on the server and do a vncviewer connection to it, you do not see a full
| graphical desktop ( with its menus, mozilla, etc. ) ?  I would like
| to have a "plain" background with a simple xterm ( from whcih you could
| call mozilla, etc. ).  It seems if I modify my xstartup I can remove my
| full-blown graphical desktop but then I have a blank vncviewer session
| and do not seem to be able to bring up an xterm window ... left, right,
| "center" clicking dowes not bring up a menu from which I can select
| "xterm" ... nor does it bring up any menu.  On older versions of red hat,
| I was successfully able to do so.  My xstartup file on that box was:
|
| [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
| xsetroot -solid grey
| vncconfig -iconic &
| xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
| twm &
| 
| Doing similarly on rh6 does not seem to work ( at least for me ) ... as I said, I do not seem to be able to bring up an xterm.
|  
| I tried installing twm ( "xorg-x11-twm-1.0.3-5.1.el6.x86_64" ) to no avail.
|  
| Thanks for any help you can provide.

On the face of it there's no twm running. Is there any evidence that
your startup is used at all? Is the background grey, etc?

Is your xstartup file executable? "ls -ld xstartup" should show this.

If the xstartup file _is_ being run, I would guess that your environment in
the xstartup may be lacking.  Try putting this:

  exec >>$HOME/xstartup.out 2>&1
  env|sort
  which twm
  which xterm

at the top of your xstartup file and run up a new vncserver instance.
Then examine xstartup.out and see what it says.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Government is not reason. It is not eloquence. It is a force, like fire, a
dangerous servant and a terrible master.




More information about the redhat-list mailing list