Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-21-2008, 04:47 PM   #1
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Rep: Reputation: 15
trying to run vnc using xinetd on fedora 9

OK, I'm about to pull my hair out trying to get this done. Can someone please post some instructions on how to get vnc working through xinetd. Actually, I just need to be able to login to my box through VNC, even if it's not through xinetd. And I would like to not have to enter my VNC password, but just have a gnome login window come up. Can someone please help me?
Old 08-22-2008, 12:14 PM   #2
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I use xvnc myself and then build a SSH tunnel to the server (VNC is not secure). It requires a bit of configuration but is not hard to set-up, however it still requires a password for VNC and won't go to a login screen for gnome. Advantage of also using an SSH Tunnel is you only have to have the SSH port (22) open, Xvnc usually uses 59xx where xx is the currently running vnc session, IE the 1st session would be 5901, 2nd 5902. Generally I only use 5901.

It does need some minor configuration, else it won't even take you through to gnome or kde, but leave you in a rather bare GUI that basically all you can do is open terminal windows...

Last edited by r3sistance; 08-22-2008 at 12:20 PM.
Old 09-16-2008, 12:09 PM   #3
LQ Newbie
Registered: Aug 2008
Posts: 19

Rep: Reputation: 0
trying to run vnc using xinetd on fedora 9

1. on the fedora 9 box log in as the user to connect and open a terminal window

2. type: vncserver :1 -name "username"
it will prompt you for a password, and verify password for that user to connect with.
this creates a file in that users /<user's-home-dir>/.vnc (hidden) subdirectory named xstartup

3. edit /(user's home dir)/.vnc/xstartup and uncomment the following 2 lines:
# exec /etc/X11/xinit/xinitrc

save the file, this gives you your default desktop instead of a lightweight one

4. download realvnc viewer to your windows pc, connect to <x.x.x.x>:1

you may have to start / stop / kill the vncserver once or twice in there

One difference between this and the VNC typical of a windoze box is that you are not viewing/using an existing desktop for the person already logged in, you are starting a new x-sesison for this.

Last edited by cngordon; 09-16-2008 at 12:31 PM.


gnome, vnc, xinetd

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which services to run from xinetd ? hondo Linux - Server 2 03-19-2007 03:54 PM
can't connect to VNC server started by xinetd andymadigan Linux - Networking 4 02-21-2006 04:18 PM
start VNC through xinetd in RH9 UltraSoul Linux - Networking 0 07-28-2005 02:12 PM
how to run xinetd ? tuan_tutu Linux - Networking 3 01-30-2005 02:05 PM
proftpd will not run under xinetd jon_k Linux - Software 1 12-18-2004 05:14 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:19 AM.

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