Re: Xvnc + inetd on 5.4
From: Kurt Seel (gongo_at_primetime.com)
Date: 06/29/05
- Next message: jpd: "Re: disk errors in 5.4"
- Previous message: Skeleton Man: "disk errors in 5.4"
- In reply to: Logical: "Xvnc + inetd on 5.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Jun 2005 12:03:21 -0400
Logical wrote:
> I'm trying to turn FreeBSD5.4 into a 'terminal server' of sorts,
> allowing users to VNC in to access various network related utilities.
>
> What I'm seeing is a gray screen when connecting into vnc, which I know
> is indicative of not having a window manager set up.
>
> My question is when running xvnc through inetd, I can specify which user
> to run it as.
>
> I've tried using root and nobody, as well as a 'vnc' user which I
> created. In all cases it seems not to read the ~/.vnc/xstartup file as I
> expect it would (e.g. /root/.xvnc/xstartup).
The .vnc/* files are read by vncserver, a perl script. Xvnc, a
compiled exectable does not.
If you are launching Xvnc from inetd, try using XDM to get a
session, e.g.
Xvnc -query xdm-server-host
You will need an XDM daemon running (I like wdm) on 'xdm-server-host'
>
> I've followed various guides to ensure settings are correct but now I'm
> stumped.
>
> Various config files are below. Any ideas as to what else I need to change?
>
> --
> /root/.vnc/xstartup:
> #!/bin/sh
>
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> xsetroot -solid grey
> vncconfig -iconic &
>
> #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> kdm &
>
- Next message: jpd: "Re: disk errors in 5.4"
- Previous message: Skeleton Man: "disk errors in 5.4"
- In reply to: Logical: "Xvnc + inetd on 5.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|