The query localhost actually just connects to the local xserver. So you are now doing a vnc rfb connection to vncserver, and vncserver is doing an x connection to your xwindows.
Did you need assistance in automating this? Glade to hear that worked. Steve -----Original Message----- From: Juay Kwang Tan [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 11:39 AM To: Steve Palocz Subject: RE: dtlogin and local languages Hi Steve, Yes that works! Could you explain what magic does the -query local do? Thank you very much. ;) Regards, JK --- Steve Palocz <[EMAIL PROTECTED]> wrote: > Hey there, > > Not a waste of time. > > I run on Solaris all the time, but with English. The > one thing I am not > sure of is if you are running the vncserver perl > wrapper or Xvnc with > options. > > > Try this > > Xvnc :1 -geometry 800x600 -depth 8 -query localhost > -once -fp > tcp/localhost:7100 -rfbport 5901 > > This should give you the dtlogin, and give you the > local for the logged > in user after login. > > I can assist you further depending on what this > produces. > > Steve > > > > > -----Original Message----- > From: Juay Kwang Tan [mailto:[EMAIL PROTECTED] > Sent: Friday, June 06, 2003 11:10 AM > To: Steve Palocz; 'Akira Hatakeyama' > Cc: [EMAIL PROTECTED] > Subject: RE: dtlogin and local languages > > Hello everyone, > > I thought I'll put my findings onto 1 mail. > > First, I'm really sorry that I can forgot to state > the > OS! That will be Solaris 8. > > Next, I've got the -fp thing figured out. VNC must > have the font 'fixed' and I made a typo mistake (I'm > gonna slap myself for this) on the font path that > leads to 'fixed'. > > After I got the -fp going, I just put the standard > /usr/openwin/lib/X11/fonts/misc and everything is > fine. Strange thing is I'm fully capable of > displaying > the Korean locale so I'm assuming somehow the locale > uses the fonts in that directory. But honestly, I > can't see how! > > Next, I add in the additional locale font paths > which > I'm assumming can be found in > /usr/openwin/lib/locale/*/X11/fonts/*. However, I'm > still unable to see anything else. I also tried just > copy the entire fontpath output from 'xset q' but to > no avail as well. > > Then, Steve, I tried your font server method. With > this, I can't even see Korean. I'm not sure what > does > the -query local means but when I added that, I had > problems changing the locale. > > As it is right now, I'm about to give up (but if you > have any other ideas which I can try, please let me > know!) as I'm doing this to help my co-workers so > they > can work from home. They can probably do 80% of > their > stuff with just the English locale ;) > > My thanks to those who have help and I'm really > sorry > if I've wasted any of your time for this. > > Regards, > JK > > --- Steve Palocz <[EMAIL PROTECTED]> wrote: > > Could you please tell us which OS you are using. > > > > As in Solaris I set the font path to the font > server > > via -fp > > tcp/localhost:7100 > > > > But in AIX I have to use the paths > > > > Have you tried using the -query localhost option. > > This should give you > > the dtlogin screen and then the cde desktop. > > > > Steve > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Juay Kwang Tan > > Sent: Friday, June 06, 2003 4:46 AM > > To: Akira Hatakeyama > > Cc: [EMAIL PROTECTED] > > Subject: Re: dtlogin and local languages > > > > Hi! > > > > Thanks for all the help so far. However, the > moment > > I > > put a -fp /path/to/all/my/fonts options, a > > /etc/init.d/dtlogin reset refuses to start Xvnc > for > > me. > > > > The following is the entry from my > > /etc/dt/config/Xservers file > > > > :10 Local [EMAIL PROTECTED] root /opt/vnc/Xvnc :10 > > -httpd /opt/vnc/classes -geometry 1152x900 > -rfbwait > > 120000 -rfbauth /.vnc/passwd -rfbport 5910 > > -alwaysshared -depth 24 -fp > > /usr/openwin/lib/locale/zh/X11/fonts/TrueType/ > > > > If I remove the last -fp option, then it will run > > except that I see no local language option except > > for > > Korean. Also, when I login from the console to > CDE, > > xset q's output for fontpath doesn't include those > > for > > local language though. > > > > I hope I'm not missing anything obvious here :/ > > > > Really appreciate all your help so far. > > > > Regards, > > JK > > > > --- Akira Hatakeyama <[EMAIL PROTECTED]> wrote: > > > Greetings. > > > > > > On Thu, Jun 05, 2003 at 11:31:34PM -0700, Juay > > Kwang > > > Tan wrote: > > > > > Did you set Xvnc's font path properly? > > > > > CDE requires lot of non-standard fonts. > > > > > Setting font path as console X will solve > your > > > > > problem. > > > > > > > > > > > > > Hi there, I thought of this before but I'm > > > completely > > > > lost on how do I actually set the font path. > Can > > > you > > > > give an example? > > > > > > There's FAQ for this. > > > > > > > > http://www.uk.research.att.com/vnc/faq.html#q12 > > > > > > quote from there: > > > ] type 'xset q' from within a normal X session. > > One > > > of the things > > > ] reported is the font path used by your current > X > > > server, which > > > ] is generally the right thing to use for Xvnc. > > > > > > -- > > > Akira Hatakeyama E-Mail: [EMAIL PROTECTED] > > > http://www.sra.co.jp/people/akira/index.html > > > chigasaki-minami, tsuzuki ward, yokohama, japan > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Calendar - Free online calendar with sync > to > > Outlook(TM). > > http://calendar.yahoo.com > > _______________________________________________ > > VNC-List mailing list > > [EMAIL PROTECTED] > > To remove yourself from the list visit: > > http://www.realvnc.com/mailman/listinfo/vnc-list > > _______________________________________________ > > VNC-List mailing list > > [EMAIL PROTECTED] > === message truncated === __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
