- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: vnc problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 07:17 PM
05-16-2005 07:17 PM
i have redhat Enterprise Linux As v.4 , i try to start vncviewer in it , the vncserver package is installed and i start the service then i start the vncserver on the server ,but when i open it from the vncviewer the screen appears as in the attachment.
BR
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 08:05 PM
05-16-2005 08:05 PM
Re: vnc problem
do you run the vnc server as root?
the file /etc/sysconfig/vncservers defines the servers to run when you use vnc as service. could you show it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 08:06 PM
05-16-2005 08:06 PM
Re: vnc problem
That'd be the VNC server's X server not having a windows manager running, thus only showing the VNC tools.
What does your '/etc/sysconfig/vncserver' file look like?
It should normally have a line simialr to:
VNCSERVERS="0:root"
Where '0' is the display number, and 'root' is the user the server is to run as.
If you are also running an X server on the console, the '0' would be at least '1' (as the console is always display '0').
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 08:17 PM
05-16-2005 08:17 PM
Re: vnc problem
[root@ORA1 sysconfig]# more vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the line below to start a VNC server on display :1
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
# <>.
#VNCSERVERS="1:myusername"
#VNCSERVERARGS[1]="-geometry 800x600"
and i start vncserver as a root
>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 09:29 PM
05-16-2005 09:29 PM
Re: vnc problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 09:58 PM
05-16-2005 09:58 PM
Re: vnc problem
uncomment VNCSERVERS and set it as,
VNCSERVERS=1:root
and see whether it solves your problem
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 11:03 PM
05-16-2005 11:03 PM
Re: vnc problem
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
i try to put VNCSERVERS=1:root put also it does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 11:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 11:49 PM
05-16-2005 11:49 PM
Re: vnc problem
Verify it is installed:
# which twm
/usr/X11R6/bin/twm
You can do another thing. You say you run vncserver from root, so I think you run command:
# vncserver :1
if you did so, try this in another shell
# export DISPLAY=:1
# twm
this should bring the twm window manager into the vnc display.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 11:59 PM
05-16-2005 11:59 PM