LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-08-2013, 04:44 PM   #1
xavi_slacky
Member
 
Registered: Jun 2013
Posts: 41

Rep: Reputation: Disabled
X-options arguments to Xvnc(1) for vncserver(1) program


Hi to all,

Well, I want up VNC server with 'vncserver -dpi 150 -config /etc/X11/xorg.conf' on Slackware 14.

"-dpi 150 -config /etc/X11/xorg.conf" is X-options.

output of error:

# vncserver -dpi 150 -config /etc/X11/xorg.conf
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.

Unrecognized option: -config
use: X [:<display>] [option]
-a # mouse acceleration (pixels)
-ac disable access control restrictions
-audit int set audit trail level
-auth file select authorization file
bc enable bug compatibility
-bs disable any backing store support
-c turns off key-click
c # key-click volume (0-100)
-cc int default color visual class
-co file color database file
-core generate core dump on fatal error
-dpi int screen resolution in dots per inch
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f # bell base (0-100)
-fc string cursor font
-fn string default font name
-fp string default font path
-help prints message with these options
-I ignore all remaining arguments
-ld int limit data space to N Kb
-lf int limit number of open files to N
-ls int limit stack space to N Kb
-nolock disable the locking mechanism
-logo enable logo in screen saver
nologo disable logo in screen saver
-nolisten string don't listen on protocol
-p # screen-saver pattern duration (minutes)
-pn accept failure to listen on all ports
-nopn reject failure to listen on all ports
-r turns off auto-repeat
r turns on auto-repeat
-s # screen-saver timeout (minutes)
-su disable any save under support
-t # mouse threshold (pixels)
-terminate terminate at server reset
-to # connection time out
-tst disable testing extensions
ttyxx server started from init on /dev/ttyxx
v video blanking for screen-saver
-v screen-saver without video blanking
-wm WhenMapped default backing-store
-x string loads named extension at init time
-query host-name contact named host for XDMCP
-broadcast broadcast for XDMCP
-indirect host-name contact named host for indirect XDMCP
-port port-num UDP port number to send messages to
-once Terminate server after one session
-class display-class specify display class to send in manage
-cookie xdm-auth-bits specify the magic cookie for XDMCP
-displayID display-id manufacturer display ID for request
-geometry WxH set framebuffer width & height
-depth D set framebuffer depth
-pixelformat format set pixel format (BGRnnn or RGBnnn)
-udpinputport port UDP port for keyboard/pointer data
-rfbport port TCP port for RFB protocol
-rfbwait time max time in ms to wait for RFB client
-nocursor don't put up a cursor
-rfbauth passwd-file use authentication on RFB protocol
-httpd dir serve files via HTTP from here
-httpport port port for HTTP
-deferupdate time time in ms to defer updates (default 40)
-economictranslate less memory-hungry translation
-lazytight disable "gradient" filter in tight encoding
-desktop name VNC desktop name (default x11)
-alwaysshared always treat new clients as shared
-nevershared never treat new clients as shared
-dontdisconnect don't disconnect existing clients when a new non-shared
connection comes in (refuse new connection instead)
-viewonly let clients only to view the desktop
-localhost only allow connections from localhost
-interface ipaddr only bind to specified interface address
-inetd Xvnc is launched by inetd
-compatiblekbd set META key = ALT key as in the original VNC
-version report Xvnc version on stderr
Unrecognized option: -config
use: X [:<display>] [option]
-a # mouse acceleration (pixels)
-ac disable access control restrictions
-audit int set audit trail level
-auth file select authorization file
bc enable bug compatibility
-bs disable any backing store support
-c turns off key-click
c # key-click volume (0-100)
-cc int default color visual class
-co file color database file
-core generate core dump on fatal error
-dpi int screen resolution in dots per inch
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f # bell base (0-100)
-fc string cursor font
-fn string default font name
-fp string default font path
-help prints message with these options
-I ignore all remaining arguments
-ld int limit data space to N Kb
-lf int limit number of open files to N
-ls int limit stack space to N Kb
-nolock disable the locking mechanism
-logo enable logo in screen saver
nologo disable logo in screen saver
-nolisten string don't listen on protocol
-p # screen-saver pattern duration (minutes)
-pn accept failure to listen on all ports
-nopn reject failure to listen on all ports
-r turns off auto-repeat
r turns on auto-repeat
-s # screen-saver timeout (minutes)
-su disable any save under support
-t # mouse threshold (pixels)
-terminate terminate at server reset
-to # connection time out
-tst disable testing extensions
ttyxx server started from init on /dev/ttyxx
v video blanking for screen-saver
-v screen-saver without video blanking
-wm WhenMapped default backing-store
-x string loads named extension at init time
-query host-name contact named host for XDMCP
-broadcast broadcast for XDMCP
-indirect host-name contact named host for indirect XDMCP
-port port-num UDP port number to send messages to
-once Terminate server after one session
-class display-class specify display class to send in manage
-cookie xdm-auth-bits specify the magic cookie for XDMCP
-displayID display-id manufacturer display ID for request
-geometry WxH set framebuffer width & height
-depth D set framebuffer depth
-pixelformat format set pixel format (BGRnnn or RGBnnn)
-udpinputport port UDP port for keyboard/pointer data
-rfbport port TCP port for RFB protocol
-rfbwait time max time in ms to wait for RFB client
-nocursor don't put up a cursor
-rfbauth passwd-file use authentication on RFB protocol
-httpd dir serve files via HTTP from here
-httpport port port for HTTP
-deferupdate time time in ms to defer updates (default 40)
-economictranslate less memory-hungry translation
-lazytight disable "gradient" filter in tight encoding
-desktop name VNC desktop name (default x11)
-alwaysshared always treat new clients as shared
-nevershared never treat new clients as shared
-dontdisconnect don't disconnect existing clients when a new non-shared
connection comes in (refuse new connection instead)
-viewonly let clients only to view the desktop
-localhost only allow connections from localhost
-interface ipaddr only bind to specified interface address
-inetd Xvnc is launched by inetd
-compatiblekbd set META key = ALT key as in the original VNC
-version report Xvnc version on stderr

How is the correct sintax of X-options for vncserver(1) program ?

Thanks, see you.
 
Old 07-10-2013, 04:22 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,218

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
As you see -config option is not recognized by xvncserver. You need to specify paths to fonts. You can use orginal "/etc/X11/xorg.conf" by writing there something like:
Code:
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/75dpi"
EndSection
Or with newer versions you can create file "/etc/vnc.conf" or "~/.vncrc" like
Code:
$fontPath = "/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/75dpi";
Check what fonts you have or install some.

Last edited by eSelix; 07-10-2013 at 04:26 PM.
 
Old 07-11-2013, 11:29 AM   #3
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 232

Rep: Reputation: 38
I do not mean to hijack this thread - but I have a rather related problem:
1: we have an application that makes use of :0.0,:0.1 ... :0.3
2: we do not want to startx (as such), but to use vncserver instead (the machine might well be headless)
3: as far as I know (and I might well be wrong), Xvnc does not read xorg.conf (where the additional displays are defined)

So, my question is: How to let Xvnc know that I want 4 screens on the particular display-node ':0' ??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X-options arguments to Xvnc(1) for vncserver(1) program xavi_slacky Slackware 1 07-08-2013 08:03 PM
configuring Xtightvnc/Xvnc/vncserver to listen via specific IP Skaperen Linux - Software 2 10-23-2011 02:51 PM
vncserver was working, now just gives black screen. Xvnc Free Edition 4.1.2 zushiba Linux - Server 6 10-02-2009 10:13 AM
How to get vncserver (Xvnc) and its apps to survive logout nicely???? [RHEL 5.1] rickhg12hs Red Hat 12 06-17-2009 04:54 PM


All times are GMT -5. The time now is 04:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration