Re: vnc experience

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Cameron,
thanks for your reply.  Adding the check for xterm helped.  There is no "xterm" in the path.  I made a symbolic link to gnome-terminal and called it xterm and when I get my green background and click and select "xterm" from the menu, an xterm actually opens.
Thanks ... thi is workable although I have to play with the xterm to see if there are any issue - there were font messages in xstartup.out after I made the link.
 
Thanks again for your help.  Ideally, xterm will be open when I vnc in rather than my having to click on the background to get a menu and select xterm ... do you know an easy way to do this ?  If not, that is fine ... this is at least workable.
Many thanks
 


----- Original Message -----
From: Cameron Simpson <cs@xxxxxxxxxx>
To: Alex Troubadour <fasnet99@xxxxxxxxx>; General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Cc: 
Sent: Friday, August 19, 2011 12:29 AM
Subject: Re: vnc experience

On 17Aug2011 08:48, Alex Troubadour <fasnet99@xxxxxxxxx> 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@xxxxxxxxxx> 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.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux