Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 10:17:27 -0700
From:      "Corey Snow" <corey@snowpoint.com>
To:        "Brian J. McGovern" <bmcgover@cisco.com>
Cc:        questions@freebsd.org
Subject:   Re: X Windows question 
Message-ID:  <3D2AB837.26622.76C3E9F@localhost>
In-Reply-To: <200207091717.g69HHaEr093561@bmcgover-pc.cisco.com>
References:  Your message of "Tue, 09 Jul 2002 10:00:07 PDT."             <3D2AB427.31639.75C5DA2@localhost> 

next in thread | previous in thread | raw e-mail | index | archive | help
On 9 Jul 2002, at 13:17, Brian J. McGovern wrote:

>  > On 9 Jul 2002, at 10:34, Brian J. McGovern wrote:
>  > 
>  > >  > I have a FreeBSD 4.5-RELEASE box, with which I'd like to tinker with 
>  > >  > X. However, I don't want to use the box itself for viewing, but a 
>  > >  > Windows X Server (Cygwin with XFree86).
>  > >  > 
>  > >  > Do I have to install the entire XFree system, or can I just install 
>  > >  > an X window manager and be done with it? I'm not sure how to get 
>  > >  > started. If I just wanted to use the FreeBSD box itself for display 
>  > >  > as well as running programs, this would be easy.
>  > >  > 
>  > >  > Thanks for any assistance,
>  > >  > 
>  > >  > Corey Snow
>  > > 
>  > > On the FreeBSD side, it should be as easy as setting DISPLAY to the Window
> s
>  > > box, and then running the application.
>  > > 
>  > > On the windows side, you may need some extra effort to set up authenticati
> on
>  > > and the like. I think, overall, it took me about 40 seconds to get things
>  > > working, but I have a decade of experience using X, and know what all the
>  > > errors mean. 
>  > > 
>  > 
>  > I should have been more clear- I can accomplish this much, or I did 
>  > after some experimentation. I'm familiar with this much about X and 
>  > have used it in several other environments.
>  > 
>  > In this case, however, I'd like to have my FreeBSD box not run the X 
>  > server at all, but only run the X clients and the window manager, 
>  > using my Cygwin install as an X server, which I have working already. 
>  > I'd like to use XDMCP to access the FreeBSD machine, get a login 
>  > prompt and start using a Gnome desktop (or maybe KDE, I don't know 
>  > which one I prefer).
>  > 
>  > Thanks for your answer,
>  > 
>  > Corey Snow
>  > 
> 
> Oh... XDMCP. Should have mentioned that up front... :)
> 

Yes, I should have- sorry, it was very late and I was on a tear.

> Most of the stuff you want will be in /usr/X11R6/lib/xdm. First thing you'll
> want to do is comment out the line in Xservers for :0, to turn off the local
> X management (unless you want to keep it).
> 

Nah, I only want to do graphical stuff on my workstation. This 
machine is on a KVM and I don't need to burden it with anything that 
I'll never use standing at the console. Much more comfy to do it 
remote via X.

> At this point, you should be able to start xdm, and get management via a
> direct broadcast to the FreeBSD system. However, if you want to broadcast...
> 

I've managed to get a login prompt, but the window that appears after a successful login just says something like "SessionChooserWidget" or something like that, with a button that says "Default/Failsafe" and a button that says "Cancel". Clicking either of the buttons closes the session and dumps 
me back to login. Clicking the "widget" line causes xsm to dump core. :)

> 
> Next, edit xdm-config. The last line of the current file is 
> DisplayManager.requestPort. As the comment says, comment it out. You then
> should be able to broadcast and use the chooser.
> 

I think this is where my problem is- I'm pretty sure the chooser 
isn't there or insn't installed properly. See, I did this:

#cd /usr/ports/x11/XFree86-4-clients
#make
#make install

Assuming that this would just be the client stuff, not the server. It 
installed fine, and xdm is there. I'm currently building the Gnome 
port. I'll play with it some more once that's done.

> Its been awhile since I've played with these pieces, but it should be pretty
> easy to get going.
> 

Thanks for your assistance, Brian-

Corey Snow



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D2AB837.26622.76C3E9F>