LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-21-2009, 08:01 AM   #1
Deluka
Member
 
Registered: Jul 2009
Location: Belguim
Distribution: Fedora 11
Posts: 42

Rep: Reputation: 16
VNC Server login issue


Hey there
I have install and configured a vnc server on my Linux box using this tutorial
I can login but not into the servers set in the /etc/sysconfig/vncservers

Code:
VNCSERVERS="2:Deluka"
VNCSERVERARGS[2]="-geometry 800x600 -depth 16"
If i'm not mistaking i could be able to logging using 192.168.1.4:5902.
Just to be sure i checked the /etc/xinetd.d/vncts.
this is what i have there.
Code:
# default: off
# To use this remote vnc method: 
# * Allow local accesss to Xserver/XDMCP, add to /etc/X11/xdm/Xaccess:
#   localhost	
# Then, this server is accessible at vncviewer <server>:0-5
service vnc-1024x768x16
{
	disable		= no
	type		= UNLISTED
	port		= 5900
	socket_type	= stream        
	wait		= no
	user		= nobody 
	group		= tty
	server		= /usr/bin/vncts
	server_args	= -geometry 1024x768 -depth 16
}
service vnc-800x600x16
{
	disable		= no
	type		= UNLISTED
	port		= 5901
        socket_type     = stream
        wait            = no
        user            = nobody
	group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 800x600 -depth 16
}
service vnc-640x480x16
{
	disable		= no
	type		= UNLISTED
 	port		= 5902
        socket_type     = stream
        wait            = no
        user            = nobody
        group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 640x480 -depth 16
}
service vnc-1024x768x8
{
	disable		= no
	type		= UNLISTED
	port		= 5903
        socket_type     = stream
        wait            = no
        user            = nobody
        group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 1024x768 -depth 8 
}
service vnc-800x600x8
{
	disable		= no
	type		= UNLISTED
	port		= 5904
        socket_type     = stream
        wait            = no
        user            = nobody
        group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 800x600 -depth 8 
}
service vnc-640x480x8
{
	disable		= no
	type		= UNLISTED
	port		= 5905
        socket_type     = stream
        wait            = no
        user            = nobody
        group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 640x480 -depth 8 
}
So for i as far i can tell everything could be oke.
But the only way i can log is by using vncserver :6 and login remotely by using 192.168.1.4:5906 where i log directly into the root.
Those anyone have any idea what's going on here ?
Sorry for the double post can't seem to remove them

Last edited by Deluka; 07-21-2009 at 08:17 AM.
 
Old 07-21-2009, 08:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
VNC is just so so so horrible as you can see there... why use such a massively poor system when good alternatives like NX are available?
 
Old 07-21-2009, 10:40 AM   #3
Deluka
Member
 
Registered: Jul 2009
Location: Belguim
Distribution: Fedora 11
Posts: 42

Original Poster
Rep: Reputation: 16
Talking Solved

Needed to learn to set this VNC up for a my Server+ Training.
Don't now what NX was till you told me.
Well been playing around with with the settings and solved it.

I now can login only to the preset server and everything seems to work.
For the peeps having the same problem here is the content of the /etc/xinetd.d/vncts file.
No more errors on startup and no more login problems


Code:
# default: off
# To use this remote vnc method: 
# * Allow local accesss to Xserver/XDMCP, add to /etc/X11/xdm/Xaccess:
#   localhost	
# Then, this server is accessible at vncviewer <server>:0-5
service vnc-1024x768x16
{
	disable		= yes
	type		= UNLISTED
	port		= 5900
	socket_type	= stream        
	wait		= no
	user		= nobody 
	group		= tty
	server		= /usr/bin/vncts
	server_args	= -geometry 1024x768 -depth 16
}
service vnc-800x600x16
{
	disable		= yes
	type		= UNLISTED
	port		= 5901
        socket_type     = stream
        wait            = no
        user            = nobody
	group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 800x600 -depth 16
}
service vnc-640x480x16
{
	disable		= yes
	type		= UNLISTED
 	port		= 5902
        socket_type     = stream
        wait            = no
        user            = nobody
        group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 640x480 -depth 16
}
service vnc-1024x768x8
{
	disable		= yes
	type		= UNLISTED
	port		= 5903
        socket_type     = stream
        wait            = no
        user            = nobody
        group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 1024x768 -depth 8 
}
service vnc-800x600x8
{
	disable		= yes
	type		= UNLISTED
	port		= 5904
        socket_type     = stream
        wait            = no
        user            = nobody
        group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 800x600 -depth 8 
}
service vnc-640x480x8
{
	disable		= yes
	type		= UNLISTED
	port		= 5905
        socket_type     = stream
        wait            = no
        user            = nobody
        group           = tty
        server          = /usr/bin/vncts
        server_args     = -geometry 640x480 -depth 8 
}

Last edited by Deluka; 07-21-2009 at 10:43 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC Server login issue Deluka Linux - Software 1 07-21-2009 08:14 AM
VNC Server login issue Deluka Linux - Software 1 07-21-2009 08:14 AM
VNC server issue UltraSoul Solaris / OpenSolaris 2 12-07-2006 12:42 AM
Login problems after joining AD and possible VNC issue redir Linux - General 0 01-30-2006 11:03 AM
VNC Login issue with Fedora 4 srobertson2469 Linux - Software 1 12-29-2005 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration