Sponsored Content
Full Discussion: VNC problem
Operating Systems Linux Red Hat VNC problem Post 302311497 by quan0509 on Tuesday 28th of April 2009 11:33:35 PM
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..
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
vncpasswd(1)							     TightVNC							      vncpasswd(1)

NAME
vncpasswd - set passwords for VNC server SYNOPSIS
vncpasswd [file] vncpasswd -t vncpasswd -f DESCRIPTION
The vncpasswd utility should be used to create and change passwords for the TightVNC server authentication. Xvnc uses such passwords when started with the -rfbauth command-line option (or when started from the vncserver script). vncpasswd allows to enter either one or two passwords. The first password is the primary one, the second password can be used for view-only authentication. Xvnc will restrict mouse and keyboard input from clients who authenticated with the view-only password. The vncpasswd util- ity asks interactively if it should set the second password. The password file name defaults to $HOME/.vnc/passwd unless the -t command-line option was used (see the OPTIONS section below). The $HOME/.vnc/ directory will be created if it does not exist. Each password has to be longer than five characters (unless the -f command-line option was used, see its description below). Only the first eight characters are significant. If the primary password is too short, the program will abort. If the view-only password is too short, then only the primary password will be saved. Unless a file name was provided in the command-line explicitly, this utility may perform certain sanity checks to prevent writing a pass- word file into some hazardous place. If at least one password was saved successfully, vncpasswd will exit with status code 0. Otherwise the returned status code will be set to 1. OPTIONS
-t Write passwords into /tmp/$USER-vnc/passwd, creating the /tmp/$USER-vnc/ directory if it does not exist, and checking the permis- sions on that directory (the mode must be 700). This option can help to improve security when your home partition may be shared via network (e.g. when using NFS). -f Filter mode. Read plain-text passwords from stdin, write encrypted versions to stdout. One or two passwords (full-control and view- only) can be supplied in the input stream, newline terminates a password. Note that in the filter mode, short or even empty pass- words will be silently accepted. SEE ALSO
vncserver(1), Xvnc(1), vncviewer(1), vncconnect(1) AUTHORS
Original VNC was developed in AT&T Laboratories Cambridge. TightVNC additions were implemented by Constantin Kaplinsky. Many other people participated in development, testing and support. Man page authors: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>, Tim Waugh <twaugh@redhat.com>, Constantin Kaplinsky <const@tightvnc.com> August 2006 vncpasswd(1)
All times are GMT -4. The time now is 09:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy