Bug#607775: vnc4server: can not start vncserver, even with running xserver on graphic card

2016-09-04 Thread Ola Lundqvist
Thanks!

// Ola

On Sun, Sep 4, 2016 at 5:32 PM, Juergen Kosel  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> Hello,
>
>
> Am 03.09.2016 um 23:23 schrieb Ola Lundqvist:
>> Hi again
>>
>> I see that I have the answer in the report. Sorry.
>>
>> You should be able to change /etc/vnc.conf to make it start.
>>
>> If you do, please let me know what you changed it to, to make it
>> work.
>
> I took the vnc.conf.gz from /usr/share/doc/vnc4server/examples/ as
> template and corrected the $fontpath as in the attachment.
>
> Greetings
> Juergen
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
> Comment: Using GnuPG with Icedove - http://www.enigmail.net/
>
> iD8DBQFXzD5wYZbcPghIM9IRAolQAKCe0B1TCV0ZQqluczzc6fnkyioBOACeKlv3
> mfwYilKZLpS3VF+vyLggk0k=
> =eK2D
> -END PGP SIGNATURE-



-- 
 --- Inguza Technology AB --- MSc in Information Technology 
/  o...@inguza.comFolkebogatan 26\
|  o...@debian.org   654 68 KARLSTAD|
|  http://inguza.com/Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---



Bug#607775: vnc4server: can not start vncserver, even with running xserver on graphic card

2016-09-04 Thread Juergen Kosel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello,


Am 03.09.2016 um 23:23 schrieb Ola Lundqvist:
> Hi again
> 
> I see that I have the answer in the report. Sorry.
> 
> You should be able to change /etc/vnc.conf to make it start.
> 
> If you do, please let me know what you changed it to, to make it
> work.

I took the vnc.conf.gz from /usr/share/doc/vnc4server/examples/ as
template and corrected the $fontpath as in the attachment.

Greetings
Juergen


-BEGIN PGP SIGNATURE-
Version: GnuPG v2
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iD8DBQFXzD5wYZbcPghIM9IRAolQAKCe0B1TCV0ZQqluczzc6fnkyioBOACeKlv3
mfwYilKZLpS3VF+vyLggk0k=
=eK2D
-END PGP SIGNATURE-
# /etc/vnc.conf written by Marcus Brinkmann. This file is in the Public Domain.
#
# This is the configuration file for the vncserver package.
# It is perl syntax, but only variable assignment is allowed.
# A semicolon will be added if missing.
# Every value has suitable defaults, except the xfont path!
#
# This file will be sourced by `vncserver' and `vncpasswd'.
# After this file, $(HOME)/.vncrc will be sourced, so values can be
# overwritten on a per-user basis. If you want to reactivate the default
# value there, you have to specify an empty value. For example, $fontPath
# will set to the default value after
#
# $fontPath = "/foo";
# $fontPath = "/usr/share/fonts/X11/fonts/";
#
# If you are missing something, please let me know.
# marcus.brinkm...@ruhr-uni-bochum.de

# System configuration
# 
#
# This section contains entries that should be true for all users.

# $vncClasses should be the path to the java classes of server.
# $vncClasses = "/usr/share/vncserver";

# $XFConfigPath   can be set to the global XF86Config file. This will be
# parsed to gain default values for $fontPath and $colorPath.
# If you want to disable this feature, point it to an
# invalid file, "/foo" for example.
# $XFConfigPath = "/etc/X11/XF86Config-4";

# $fontPath should be a comma seperated list of fonts to be added to the font
#   path. If not specified, and $XFConfigPath is valid, vncserver
#   will read the $fontPath from there. If both are not set, the
#   default will apply.
# Example: $fontPath = "tcp/localhost:7100"; # would make vnc to use xfs.
# Example: $fontPath = "";
$fontPath .= "/usr/share/fonts/X11/misc/,";
$fontPath .= "/usr/share/fonts/X11/100dpi/:unscaled,";
$fontPath .= "/usr/share/fonts/X11/75dpi/:unscaled,";
$fontPath .= "/usr/share/fonts/X11/Type1/,";
$fontPath .= "/usr/share/fonts/X11/100dpi/,";
#   $fontPath .= "/usr/share/fonts/X11/75dpi/,";
#   $fontPath .= "/usr/share/fonts/X11/Speedo/,";
#   $fontPath .= "/usr/share/fonts/X11/freefont/,";
#   $fontPath .= "/usr/share/fonts/X11/sharefont/";
# I don't know what the default is, though.

# $colorPath should be the RGB file to be used by X. This can also be taken from
#XF86Config file if specified by $XFConfigPath
# $colorPath = "/usr/X11R6/lib/X11/rgb";

# User configuration
# --
#
# This section contains entries that may change from user to user.

# $vncUserDir contains the filename for the log files directory of Xvnc
# (the server) and the viewers that are connected to it.
# $vncUserDir = "$ENV{HOME}/.vnc";

# $vncPasswdFile contains the filename of the password file for Xvnc.
# $vncPasswdFile = $vncUserDir . "/passwd";

# $vncStartup points to a script that will be started at the very beginning.
# $vncStartup = "/etc/X11/Xsession";

# $xauthorityFile should be the path to the authority file that should be used
# by your vnc X server.
# $xauthorityFile = "$ENV{HOME}/.Xauthority";

# $defaultDesktopName should be set to the default name of the desktop.
# This can be changed at the command line with -name.
# $defaultDesktopName = "X";

# $geometry sets framebuffer width & height. Default will be calculated if
#   server is started from within a running X servers. Can be changed at
#   the commandline (-geometry). A fixed default will be used if
#   vncserver is not invoked in a running X session.
# Example:  $geometry ="640x480";
#
# For xrandr support:
# $geometry = ["800x600", "1024x768", "640x480"];

# $depth   sets the framebuffer color depth. Must be between 8 and 32.
# $pixelformat sets the default pixelformat.
#  The default will be calculated if none of both is specified
#  and when vncserver is called from within a running X servers.
#  Can be changed at the command line with option -depth.
#  A fixed default value will be used if vncserver is not
#  invoked in a running X session.
# Example:  $depth = "16";
#   $pixelformat = "rgb565";

# $getDefaultFrom sets the display from which you can query the default of
# the abo

Bug#607775: vnc4server: can not start vncserver, even with running xserver on graphic card

2016-09-03 Thread Ola Lundqvist
Hi Juergen

This was the old font path. Has it changed?
What is the new path to use?

// Ola

On Thu, Sep 1, 2016 at 6:49 PM, Juergen Kosel  wrote:
> Package: vnc4server
> Version: 4.1.1+X4.3.0-37.6
> Followup-For: Bug #607775
>
> Dear Maintainer,
>
> the bug still exist in Debian Jessie:
>
> LANG=C vnc4server
> Found /usr/share/vnc-java for http connections.
>
> New 'acer-ilzleite:1 (juergen)' desktop is acer-ilzleite:1
>
> Starting applications specified in /home/juergen/.vnc/xstartup
> Log file is /home/juergen/.vnc/acer-ilzleite:1.log
>
>
> Xvnc Free Edition 4.1.1 - built Apr  2 2015 21:54:27
> Copyright (C) 2002-2005 RealVNC Ltd.
> See http://www.realvnc.com for information on VNC.
> Underlying X server release 4030, The XFree86 Project, Inc
>
>
> Thu Sep  1 18:40:39 2016
>  vncext:  VNC extension running!
>  vncext:  Listening for VNC connections on port 5901
>  vncext:  Listening for HTTP connections on port 5801
>  vncext:  created VNC server for screen 0
> error opening security policy file /etc/X11/xserver/SecurityPolicy
> Could not init font path element unix/:7100, removing from list!
> Could not init font path element /usr/lib/X11/fonts/misc, removing from list!
> Could not init font path element /usr/lib/X11/fonts/cyrillic, removing from 
> list!
> Could not init font path element /usr/lib/X11/fonts/100dpi/:unscaled, 
> removing from list!
> Could not init font path element /usr/lib/X11/fonts/75dpi/:unscaled, removing 
> from list!
> Could not init font path element /usr/lib/X11/fonts/Type1, removing from list!
> Could not init font path element /usr/lib/X11/fonts/CID, removing from list!
> Could not init font path element /usr/lib/X11/fonts/Speedo, removing from 
> list!
> Could not init font path element /usr/lib/X11/fonts/100dpi, removing from 
> list!
> Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list!
>
> Fatal server error:
> could not open default font 'fixed'
>
>
> The previous mails had assumed,
> that the problem is caused by a not properly configured X11.
>
> apt-file list xfonts-100dpi
> xfonts-100dpi: /etc/X11/fonts/100dpi/xfonts-100dpi.alias
> xfonts-100dpi: /usr/share/doc/xfonts-100dpi/changelog.gz
> xfonts-100dpi: /usr/share/doc/xfonts-100dpi/copyright
> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB08.pcf.gz
> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB10.pcf.gz
> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB12.pcf.gz
> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB14.pcf.gz
> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB18.pcf.gz
>
> I have no idea, why vnc4server expects the fonts in
> /usr/lib/X11/fonts/
>
> Greetings
> Juergen
>
> -- System Information:
> Debian Release: 8.5
>   APT prefers stable
>   APT policy: (990, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
> Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages vnc4server depends on:
> ii  libc6   2.19-18+deb8u4
> ii  libgcc1 1:4.9.2-10
> ii  libstdc++6  4.9.2-10
> ii  libx11-62:1.6.2-3
> ii  libxext62:1.3.3-1
> ii  libxtst62:1.2.2-1+b1
> ii  x11-common  1:7.7+7
> ii  xbase-clients   1:7.7+7
> ii  xserver-common  2:1.16.4-1
> ii  zlib1g  1:1.2.8.dfsg-2+b1
>
> Versions of packages vnc4server recommends:
> ii  xfonts-base  1:1.0.3
>
> Versions of packages vnc4server suggests:
> ii  vnc-java  3.3.3r2-8
>
> -- no debconf information



-- 
 --- Inguza Technology AB --- MSc in Information Technology 
/  o...@inguza.comFolkebogatan 26\
|  o...@debian.org   654 68 KARLSTAD|
|  http://inguza.com/Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---



Bug#607775: vnc4server: can not start vncserver, even with running xserver on graphic card

2016-09-03 Thread Ola Lundqvist
Hi again

I see that I have the answer in the report. Sorry.

You should be able to change /etc/vnc.conf to make it start.

If you do, please let me know what you changed it to, to make it work.

// Ola

On Sat, Sep 3, 2016 at 11:22 PM, Ola Lundqvist  wrote:
> Hi Juergen
>
> This was the old font path. Has it changed?
> What is the new path to use?
>
> // Ola
>
> On Thu, Sep 1, 2016 at 6:49 PM, Juergen Kosel  wrote:
>> Package: vnc4server
>> Version: 4.1.1+X4.3.0-37.6
>> Followup-For: Bug #607775
>>
>> Dear Maintainer,
>>
>> the bug still exist in Debian Jessie:
>>
>> LANG=C vnc4server
>> Found /usr/share/vnc-java for http connections.
>>
>> New 'acer-ilzleite:1 (juergen)' desktop is acer-ilzleite:1
>>
>> Starting applications specified in /home/juergen/.vnc/xstartup
>> Log file is /home/juergen/.vnc/acer-ilzleite:1.log
>>
>>
>> Xvnc Free Edition 4.1.1 - built Apr  2 2015 21:54:27
>> Copyright (C) 2002-2005 RealVNC Ltd.
>> See http://www.realvnc.com for information on VNC.
>> Underlying X server release 4030, The XFree86 Project, Inc
>>
>>
>> Thu Sep  1 18:40:39 2016
>>  vncext:  VNC extension running!
>>  vncext:  Listening for VNC connections on port 5901
>>  vncext:  Listening for HTTP connections on port 5801
>>  vncext:  created VNC server for screen 0
>> error opening security policy file /etc/X11/xserver/SecurityPolicy
>> Could not init font path element unix/:7100, removing from list!
>> Could not init font path element /usr/lib/X11/fonts/misc, removing from list!
>> Could not init font path element /usr/lib/X11/fonts/cyrillic, removing from 
>> list!
>> Could not init font path element /usr/lib/X11/fonts/100dpi/:unscaled, 
>> removing from list!
>> Could not init font path element /usr/lib/X11/fonts/75dpi/:unscaled, 
>> removing from list!
>> Could not init font path element /usr/lib/X11/fonts/Type1, removing from 
>> list!
>> Could not init font path element /usr/lib/X11/fonts/CID, removing from list!
>> Could not init font path element /usr/lib/X11/fonts/Speedo, removing from 
>> list!
>> Could not init font path element /usr/lib/X11/fonts/100dpi, removing from 
>> list!
>> Could not init font path element /usr/lib/X11/fonts/75dpi, removing from 
>> list!
>>
>> Fatal server error:
>> could not open default font 'fixed'
>>
>>
>> The previous mails had assumed,
>> that the problem is caused by a not properly configured X11.
>>
>> apt-file list xfonts-100dpi
>> xfonts-100dpi: /etc/X11/fonts/100dpi/xfonts-100dpi.alias
>> xfonts-100dpi: /usr/share/doc/xfonts-100dpi/changelog.gz
>> xfonts-100dpi: /usr/share/doc/xfonts-100dpi/copyright
>> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB08.pcf.gz
>> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB10.pcf.gz
>> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB12.pcf.gz
>> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB14.pcf.gz
>> xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB18.pcf.gz
>>
>> I have no idea, why vnc4server expects the fonts in
>> /usr/lib/X11/fonts/
>>
>> Greetings
>> Juergen
>>
>> -- System Information:
>> Debian Release: 8.5
>>   APT prefers stable
>>   APT policy: (990, 'stable')
>> Architecture: amd64 (x86_64)
>> Foreign Architectures: i386
>>
>> Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
>> Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
>> Shell: /bin/sh linked to /bin/dash
>> Init: systemd (via /run/systemd/system)
>>
>> Versions of packages vnc4server depends on:
>> ii  libc6   2.19-18+deb8u4
>> ii  libgcc1 1:4.9.2-10
>> ii  libstdc++6  4.9.2-10
>> ii  libx11-62:1.6.2-3
>> ii  libxext62:1.3.3-1
>> ii  libxtst62:1.2.2-1+b1
>> ii  x11-common  1:7.7+7
>> ii  xbase-clients   1:7.7+7
>> ii  xserver-common  2:1.16.4-1
>> ii  zlib1g  1:1.2.8.dfsg-2+b1
>>
>> Versions of packages vnc4server recommends:
>> ii  xfonts-base  1:1.0.3
>>
>> Versions of packages vnc4server suggests:
>> ii  vnc-java  3.3.3r2-8
>>
>> -- no debconf information
>
>
>
> --
>  --- Inguza Technology AB --- MSc in Information Technology 
> /  o...@inguza.comFolkebogatan 26\
> |  o...@debian.org   654 68 KARLSTAD|
> |  http://inguza.com/Mobile: +46 (0)70-332 1551 |
> \  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
>  ---



-- 
 --- Inguza Technology AB --- MSc in Information Technology 
/  o...@inguza.comFolkebogatan 26\
|  o...@debian.org   654 68 KARLSTAD|
|  http://inguza.com/Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---



Bug#607775: vnc4server: can not start vncserver, even with running xserver on graphic card

2016-09-01 Thread Juergen Kosel
Package: vnc4server
Version: 4.1.1+X4.3.0-37.6
Followup-For: Bug #607775

Dear Maintainer,

the bug still exist in Debian Jessie:

LANG=C vnc4server 
Found /usr/share/vnc-java for http connections.

New 'acer-ilzleite:1 (juergen)' desktop is acer-ilzleite:1

Starting applications specified in /home/juergen/.vnc/xstartup
Log file is /home/juergen/.vnc/acer-ilzleite:1.log


Xvnc Free Edition 4.1.1 - built Apr  2 2015 21:54:27
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 4030, The XFree86 Project, Inc


Thu Sep  1 18:40:39 2016
 vncext:  VNC extension running!
 vncext:  Listening for VNC connections on port 5901
 vncext:  Listening for HTTP connections on port 5801
 vncext:  created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element unix/:7100, removing from list!
Could not init font path element /usr/lib/X11/fonts/misc, removing from list!
Could not init font path element /usr/lib/X11/fonts/cyrillic, removing from 
list!
Could not init font path element /usr/lib/X11/fonts/100dpi/:unscaled, removing 
from list!
Could not init font path element /usr/lib/X11/fonts/75dpi/:unscaled, removing 
from list!
Could not init font path element /usr/lib/X11/fonts/Type1, removing from list!
Could not init font path element /usr/lib/X11/fonts/CID, removing from list!
Could not init font path element /usr/lib/X11/fonts/Speedo, removing from list!
Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list!
Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list!

Fatal server error:
could not open default font 'fixed'


The previous mails had assumed,
that the problem is caused by a not properly configured X11.

apt-file list xfonts-100dpi
xfonts-100dpi: /etc/X11/fonts/100dpi/xfonts-100dpi.alias
xfonts-100dpi: /usr/share/doc/xfonts-100dpi/changelog.gz
xfonts-100dpi: /usr/share/doc/xfonts-100dpi/copyright
xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB08.pcf.gz
xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB10.pcf.gz
xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB12.pcf.gz
xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB14.pcf.gz
xfonts-100dpi: /usr/share/fonts/X11/100dpi/charB18.pcf.gz

I have no idea, why vnc4server expects the fonts in
/usr/lib/X11/fonts/

Greetings
Juergen

-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vnc4server depends on:
ii  libc6   2.19-18+deb8u4
ii  libgcc1 1:4.9.2-10
ii  libstdc++6  4.9.2-10
ii  libx11-62:1.6.2-3
ii  libxext62:1.3.3-1
ii  libxtst62:1.2.2-1+b1
ii  x11-common  1:7.7+7
ii  xbase-clients   1:7.7+7
ii  xserver-common  2:1.16.4-1
ii  zlib1g  1:1.2.8.dfsg-2+b1

Versions of packages vnc4server recommends:
ii  xfonts-base  1:1.0.3

Versions of packages vnc4server suggests:
ii  vnc-java  3.3.3r2-8

-- no debconf information