1753768 Members
5212 Online
108799 Solutions
New Discussion юеВ

X -query not working

 
Michael Aos
Advisor

Re: X -query not working

Oops, sorry, I was starting to get confused in what you wanted to do.

If you're wanting to get an HP CDE (dtlogin) on your RedHat Linux box, then setting up an HP-UX font server did the trick for me.

If you just want a gdm / xdm login prompt on your HP-UX box, then setting up xdm or gdm should do it for you. No font server required.

Mike
Michael Dalanek
Advisor

Re: X -query not working

Michael,

thanks for the replies. Yes, Im on my HP workstation in command line mode (no CDE) and Im trying to X -query to my Redhat PC. Cant get it to work at all. The question is how do you setup gdm or xdm so it will work ??
Mark Fenton
Esteemed Contributor

Re: X -query not working

Here's the gdm.conf I'm using (RH 6.2, sorry, but I think it'd be essentially the same for 7.0....) which seems to work normally:

And yes, all I had to do was edit the .conf and restart gdm.

[root@linux2 gdm]# cat gdm.conf
[daemon]
Chooser=/usr/bin/gdmchooser --disable-sound --disable-crash-dialog
DefaultPath=/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin
DisplayInitDir=/etc/X11/gdm/Init
Greeter=/usr/bin/gdmlogin --disable-sound --disable-crash-dialog
Group=gdm
HaltCommand=/sbin/shutdown -h now
KillInitClients=1
LogDir=/var/gdm
PidFile=/var/run/gdm.pid
PostSessionScriptDir=/etc/X11/gdm/PostSession/
PreSessionScriptDir=/etc/X11/gdm/PreSession/
RebootCommand=/sbin/shutdown -r now
RootPath=/sbin:/usr/sbin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin
ServAuthDir=/var/gdm
SessionDir=/etc/X11/gdm/Sessions/
User=gdm
UserAuthDir=
UserAuthFBDir=/tmp
UserAuthFile=.Xauthority

[security]
AllowRoot=1
RelaxPermissions=1
RetryDelay=3
UserMaxFile=65536
VerboseAuth=1

[xdmcp]
Enable=1
HonorIndirect=1
MaxPending=4
MaxPendingIndirect=4
MaxSessions=16
MaxWait=30
MaxWaitIndirect=30
Port=177

[gui]
GtkRC=
MaxIconWidth=128
MaxIconHeight=128

[greeter]
Browser=1
DefaultFace=/usr/share/pixmaps/nobody.png
DefaultLocale=english
Exclude=bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody
Font=-adobe-helvetica-bold-r-normal-*-*-180-*-*-*-*-*-*
GlobalFaceDir=/usr/share/faces/
Icon=/usr/share/pixmaps/gdm.xpm
LocaleFile=/etc/X11/gdm/locale.alias
Logo=/usr/share/pixmaps/gnome-logo-large.png
Quiver=0
SystemMenu=1
Welcome=Welcome to %n
Welcome[de]=Willkommen auf %n
Welcome[fr]=Bienvenue sur %n
Welcome[ja]=%n ??????????
[chooser]
DefaultHostImg=/usr/share/pixmaps/nohost.png
HostImageDir=/usr/share/hosts/
ScanTime=3

[debug]
Enable=0

[servers]
0=/usr/bin/X11/X
1=/usr/bin/X11/X

Best regards.
Michael Dalanek
Advisor

Re: X -query not working

Mark,

thanks for the info. Tried it but still the same problem. Ive even tried rebuilding my HP workstation so its nice and clean, still same problem.

Anybody got any more ideas ?