LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-05-2005, 06:35 PM   #1
saarbruck
LQ Newbie
 
Registered: Jun 2005
Distribution: Mandrake LE 2005
Posts: 1

Rep: Reputation: 0
Mandriva LE 2005, Xvnc, kdm and xinetd


Hi,

I'm having a really rough time getting Xvnc to start on demand through xinetd on my new Mandriva 2005 LE install.

xinetd is working fine, I use it to ssh to the Mandriva box.
X is also working fine, I can log in locally as root or a regular user
if I start Xvnc via the vncserver script, I can connect just fine.
I'm not running any firewall scripts


using linuxreviews.org/howtos/xvnc/ as a guide,

1. I configured /etc/kde/kdm/kdmrc to enable XDMCP on port 177
2. I commented out "DisplayManager.requestPort :0" in /etc/X11/xdm/xdm-config
3. /etc/X11/xdm/Xaccess has "* #allow any host to connect"
4. I added "vnc-1024x768x24 5951/tcp" to my /etc/services file
5. I created the file /etc/xinetd.d/xvncserver with the following contents:

service vnc-1024x768x24
{
disable = no
protocol = tcp
socket_type = stream
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = -inetd -query localhost -once -geometry 1024x768 -depth 24
}

When I try connect from the network or the localhost ("vncviewer localhost:51"), I get a vnc window with the proper dimensions, but just a grey hatched background and a cursor... no window manager or login dialog.

I've tried running the service as root and as a real user. I've tried adding the "-fp unix/:7100", "securitytypes=none", and "passwordfile=/home/username/.vnc/passwd" command line options with no luck.

Any ideas? This is driving me nuts!

-s.
 
Old 06-07-2005, 01:57 AM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Edit /etc/sysconfig/vncserver and add a desktop for that user on :51.

Create a file in your user's home dir called .wmrc and add either KDE or GNOME.

service vncserver start

This is much simpler than trying to get a Display Manager login screen.
 
  


Reply



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
KDM in Gentoo Linux 2005.1 BinJajer Linux - Distributions 1 10-18-2005 03:57 PM
Mandriva 2005 LE one cd? FreeyM Mandriva 6 10-11-2005 05:37 PM
Mandriva 2005 LE mortal Mandriva 8 09-26-2005 02:32 PM
mandriva rc2 to mandriva 2005? greythorne Mandriva 1 04-18-2005 08:35 AM
using GDM with Xvnc instead of KDM after Ximian install on SuSE 9.0 Pro? stewharr Linux - Software 1 02-27-2004 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:08 AM.

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