VNC problem

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat VNC problem
# 1  
Old 03-17-2009
VNC problem

Hello all,
I have the folowing problem:
When I connected to a VNC server instance, the screen on the vncserver was frezzed. So, I executed the following commands in order to reestablish the VNC instance:

service vncserver stop
service vncserver start

No problem at this point, but now when I try to access to the VNC server instance the screen seems no Gnome desktop and I can see only a mouse icon like an X, but no command or menu to activate.

Anyone have been faced with this?

Thank you in advance.
# 2  
Old 03-21-2009
Edit ~/.vnc/xstartup.

Add gnome-session (or startkde if you like).
# 3  
Old 03-27-2009
start / stop VNC?

Hello Denka,
Thanks for your input. One more question: should I have to stop/start VNC after the change?

I have done you suggestion, and try to access via VNC client, but none have changed.

Thank you in advance.
# 4  
Old 03-28-2009
Did you change the xstartup file for the same user as configured in /etc/sysconfig/vncservers?
# 5  
Old 03-31-2009
VNC Server Setup In Redhat Linux

Hi.
Just a small suggestion.
I found a document on wiki; imho it is very useful for setting up things correctly for VNC :

VNC Server Setup In Redhat Linux - The D.U.C.K. Project

Hope it may solve some of your doubts..

Smilie
# 6  
Old 04-29-2009
do you want to see in your vnc console ? Graphic or non graphic.

Check your filewall first.

If graphic,after running command vncserver,
edit the file ~/.vnc/xstartup like this


Code:
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER  <-- uncomment this line
exec /etc/X11/xinit/xinitrc  <-- uncomment this line

[ -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 &


and then run command

Code:
vncserver -kill :1



run command
Code:
vncserver

again to create vnc session.

Last edited by quan0509; 04-29-2009 at 12:44 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

vnc problem

Hello, I install VNC server 5.2.1 on AIX 5.3 and when i try to connect with VNC viewer it get error message : "The connection was refused by the host computer" Hope u guys can help me Thanks (3 Replies)
Discussion started by: moudmm
3 Replies

2. Solaris

VNC viewer problem

hi all i cant connect to vnc viewer ... when i try it showing follwing error message write/select : connection aborted (10053) Do you wish to attempt to reconnect to 1##.2##.###.1# # help me any one solved before this problem (3 Replies)
Discussion started by: coolboys
3 Replies

3. UNIX for Dummies Questions & Answers

Problem setting display using vnc viewer

Hi All, I am having a linux machine and i used to work on this machine either directly or by using vncviewer from my windows machine. So everytime i launch new terminal on my vnc view i need to set DISPLAY. So i added the following code in my .cshrc if ($?VNCDESKTOP == 1) then setenv... (1 Reply)
Discussion started by: sarbjit
1 Replies

4. UNIX for Dummies Questions & Answers

tight vnc problem

Hi every one please help to find a way for remote connect to a graphical sco unix Xsession whit tight vnc i had installed tightvnc on sco unix 5.0.6 and i connect to new session with tight vnc client but i want to connect to started X session and control it xstartup file ... (0 Replies)
Discussion started by: kaydream
0 Replies

5. UNIX for Dummies Questions & Answers

Problem with VNC

Hi all, I have vncserver installed on Sun Solaris 8. The xstartup file looks like: #!/bin/sh && xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & /usr/dt/bin/dtwm & I have installed VNC on /usr/local/bin. When I try to... (0 Replies)
Discussion started by: naw_deepak
0 Replies

6. Red Hat

Problem with VNC

Hi all, I have a RHEL 5.0 vnc server. It is running on runlevel 5. When I try to connect with vnc client on Windows machine, it connects with no graphics. A terminal comes look like runlevel 3. When I check the run level on the terminal, it shows 5. I have both desktop (Gnome & KDE) installed... (4 Replies)
Discussion started by: naw_deepak
4 Replies

7. Windows & DOS: Issues & Discussions

VNC copy paste problem

Hi, Am unable to cut & paste between the VNC windows client and local Windows machine. In few VNC windows client, i was able to do. (2 Replies)
Discussion started by: param_it
2 Replies

8. Linux

VNC problem

Hi All, I really love this forum, i put here many problem and i got the solution. thanks to all forum guys. I am putting another problem here actually this problem in my VNC session to start the VNC session i am running : #vncserver -geometry 1024x768 -depth 24 New... (0 Replies)
Discussion started by: daya.pandit
0 Replies

9. UNIX for Advanced & Expert Users

make problem with "vnc"

i'm starting to think i post too much. alright a new problem... i'm trying to do the "make World" for Xvnc, and i keep running into the following error: # make World Building Release 6.3 of the X Window System. I hope you checked the configuration parameters in ./config/cf to see if... (2 Replies)
Discussion started by: xyyz
2 Replies

10. UNIX for Dummies Questions & Answers

Vnc

Anyone know of a site where I can download a copy (non-evaluation copy and preferably free. ;) nods to Neo's post in UNIX Operating System thread) of VNC for RedHat 8? Thanks in advance. (7 Replies)
Discussion started by: google
7 Replies
Login or Register to Ask a Question