font sizes in gnome terminal are smaller when running
realVNC realVNC
Williams, Chris (Marlboro)
ChristopherB.Williams "at" amd.com
Wed Jul 30 17:06:02 2008
The 'vncserver' command is a perl wrapper around the actual Xvnc binary.
You might want to look at what command is being run for the actual Xvnc
binary too. I use a simple command to start the vnc server:
Xvnc :2 -desktop <host>:2 (<username>) -httpd /usr/share/vnc/classes
-auth /home/<username>/.Xauthority -geometry 1552x1100 -depth 16
-rfbwait 30000 -rfbauth /home/<username>/.vnc/passwd -rfbport 5902 -pn
-SecurityTypes=none
There is an -fp option you can pass to the Xvnc server it pass it font
options I think but I don't know how to use it. Apparently you can point
it to a font server like -fp unix/:7100
I'm using gnome terminal version:
gnome-terminal-2.7.3-2
You might want to see what options you can pass to gnome-terminal and
clean up files in $HOME/.gconf/apps/gnome-terminal. I don't see anything
in 'gnome-terminal --help' but maybe there is some other gconf or GNOME
setting somewhere.
-Chris
-----Original Message-----
From: vnc-list-admin "at" realvnc.com [mailto:vnc-list-admin "at" realvnc.com] On
Behalf Of Kevin Klein
Sent: Tuesday, July 29, 2008 10:40 AM
To: vnc-list "at" realvnc.com
Subject: RE: font sizes in gnome terminal are smaller when running
realVNC realVNC
I still haven't found a solution. If I run "ps -ef | grep xfs", I
receive
the following results:
xfs 3679 1 0 Jul10 ? 00:00:00 xfs -droppriv -daemon
kklein 20599 18316 0 09:13 pts/0 00:00:00 man xfs
kklein 20602 20599 0 09:13 pts/0 00:00:00 sh -c (cd /usr/X11R6/man
&&
(echo ".ll 13.1i"; echo ".pl 1100i"; /bin/gunzip -c '/usr/X11R6/man/ma
n1/xfs.1x.gz'; echo; echo ".pl \n(nlu+10") | /usr/bin/gtbl |
/usr/bin/nroff
-c -mandoc | /usr/bin/less -isr)
kklein 20603 20602 0 09:13 pts/0 00:00:00 sh -c (cd /usr/X11R6/man
&&
(echo ".ll 13.1i"; echo ".pl 1100i"; /bin/gunzip -c '/usr/X11R6/man/ma
n1/xfs.1x.gz'; echo; echo ".pl \n(nlu+10") | /usr/bin/gtbl |
/usr/bin/nroff
-c -mandoc | /usr/bin/less -isr)
kklein 20963 18316 0 09:33 pts/0 00:00:00 grep xfs
I assume from the first entry that xfs is running?
All of the fonts except the GNOME terminal window look correct.
Also, here is the exact command I am using to start the VNC server, if
it
makes any difference:
vncserver :1 -geometry 1680x1050 -depth 24
What is the exact command you are using to initialize your VNC server?
Kevin
> Subject: RE: font sizes in gnome terminal are smaller when running
> realVNC
> Date: Mon, 28 Jul 2008 13:25:51 -0400
> From: "Williams, Chris (Marlboro)" <ChristopherB.Williams "at" amd.com>
> To: <vnc-list "at" realvnc.com>
>
> Did you find a solution to this yet?
> I'm runing a vnc server, vnc-server-4.0-11.el4, on a rhel 4 server and
> my GNOME fonts look normal. I didn't pass any special options to the
> vnc server or the gnome-terminal binary. The fonts don't look great, I
> have a problem with fonts in Linux in general but at least their not
too
> small and readable.
>
> Are you runnign the x font server xfs?
> And I would say smaller dpi would give you smaller fonts and larger
dpi
> would give you larger fonts. But as I understand it, you should choose
a
> dpi which closely matches your display?
>
> -Chris
>
> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com [mailto:vnc-list-admin "at" realvnc.com]
On
> Behalf Of Kevin Klein
> Sent: Thursday, July 24, 2008 3:18 PM
> To: vnc-list "at" realvnc.com
> Subject: Re: font sizes in gnome terminal are smaller when running
> realVNC
>
> Running "xdpyinfo | grep -i dpi" (without the quotes) does not return
> any
> results. Running "xdpyinfo | grep -i "dots per inch" returns the
> following:
>
> resolution: 99x98 dots per inch
>
> I tried your suggestion of using the -dpi flag, but it doesn't affect
> the
> size of the text inside the GNOME console for some reason. It does
> change
> the size of the text everywhere else, however.
>
> Also, did you mean to say that a smaller dpi gives smaller fonts, and
a
> larger dpi gives larger fonts? That was my experience when I was
> changing
> the value of the -dpi flag.
>
> Kevin
>
>
> On Thu, Jul 24, 2008 at 12:20 PM, Mihai Badea <rumburake "at" yahoo.com>
> wrote:
>
> hi kevin,
> did you check your dpi? dpi in a real xsession may be different than
> in a
> vncsession.
> use |xdpyinfo | grep -i dpi" to check it.
> try to set your desired dpi to the vnc server with the option "-dpi
> 75" for
> example
> smaller values will offer bigger fonts and viceversa
> br,
> rumburak
>
> ----- Original Message ----
> From: Kevin Klein <kklein1 "at" gmail.com>
> To: vnc-list "at" realvnc.com
> Sent: Thursday, 24 July, 2008 5:54:18 PM
> Subject: font sizes in gnome terminal are smaller when running realVNC
>
> I am running GNOME 2.0 under Red Hat Enterprise Linux AS release 3,
> and am
> using realVNC to create a VNC server on this computer. I am then
> accessing
> this machine remotely using the free realVNC viewer 4.1.2 under
> windows XP
> Pro.
>
> The problem I am having is that the fonts in the GNOME terminal window
> show
> up much smaller when I run a GNOME terminal in the VNC session
> compared to
> when I run a GNOME terminal locally (i.e., when I am actually sitting
> down
> at the computer). I have already checked the profile settings of the
> GNOME
> terminals in the VNC sessions, and the font size and type are
> identical to
> what is shown when I am logged in locally. For some reason, the
> actual
> text
> in a GNOME terminal window is much smaller when I am in the VNC
> session.
> If
> I change the font size in the VNC session, then the font size also
> changes
> in the GNOME terminal windows of the local desktop, but then they
> appear
> much larger than what I want. Is there any way to make the appearance
> of
> the fonts consistent between the local desktop and the VNC sessions?
>
> I tried using the regular xterm application, and the fonts used look
> identical between the local desktop and a VNC session. I am not sure
> why
> this problem only occurs with the GNOME terminal.
>
> I searched the mailing list and found a couple posts relating to font
> size
> discrepancies between VNC sessions and local desktops, but none of
> them
> addressed the GNOME terminal specifically. I even used the "xset fp="
> command (without the quotes) to make the font path in the VNC session
> match
> the font path in my local desktop, but that didn't help.
>
> Does anyone know what the problem could be?
>
> Thanks
>
> Kevin
>
>
_______________________________________________
VNC-List mailing list
VNC-List "at" realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list