Results 1 to 2 of 2
Linux Mint 13/Maya (Ubuntu 12.04 LTS)
Okay, I am stumped.
I am trying to set up tightvncserver via xinetd for graphical log-in and after fixing a bunch of bugs on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-28-2012 #1
xinetd + tightvncserver
Linux Mint 13/Maya (Ubuntu 12.04 LTS)
Okay, I am stumped.
I am trying to set up tightvncserver via xinetd for graphical log-in and after fixing a bunch of bugs on the command line, I have it working manually but it will not work automatically; it launches and closes in under a second. Same command line, so now I don't get it. What am I doing wrong?
---
/etc/services entry
/etc/xinetd.confCode:vnc800 5904/tcp # VNC Server - 800x600
/etc/xinetd.d/vnc800Code:# Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { # Please note that you need a log_type line to be able to use log_on_success # and log_on_failure. The default is the following : # log_type = SYSLOG daemon info log_type = FILE /var/log/xinetd log_on_success = PID HOST EXIT log_on_failure = HOST ATTEMPT } includedir /etc/xinetd.d
/var/log/syslogCode:service vnc800 { disable = no socket_type = stream protocol = tcp group = tty wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd :4 -query localhost -geometry 800x600 -depth 16 -once -fp /usr/share/fonts/X11/misc port = 5904 }
/var/log/xinetd (partial)Code:Jun 27 22:54:55 Server xinetd[16248]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=18] Jun 27 22:54:55 Server xinetd[16248]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28] Jun 27 22:54:55 Server xinetd[16248]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26] Jun 27 22:54:55 Server xinetd[16248]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25] Jun 27 22:54:55 Server xinetd[16248]: Reading included configuration file: /etc/xinetd.d/fex [file=/etc/xinetd.d/fex] [line=26] Jun 27 22:54:55 Server xinetd[16248]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=18] Jun 27 22:54:55 Server xinetd[16248]: Reading included configuration file: /etc/xinetd.d/vnc800 [file=/etc/xinetd.d/vnc800] [line=12] Jun 27 22:54:55 Server xinetd[16248]: removing chargen Jun 27 22:54:55 Server xinetd[16248]: removing chargen Jun 27 22:54:55 Server xinetd[16248]: removing daytime Jun 27 22:54:55 Server xinetd[16248]: removing daytime Jun 27 22:54:55 Server xinetd[16248]: removing discard Jun 27 22:54:55 Server xinetd[16248]: removing discard Jun 27 22:54:55 Server xinetd[16248]: removing echo Jun 27 22:54:55 Server xinetd[16248]: removing echo Jun 27 22:54:55 Server xinetd[16248]: removing time Jun 27 22:54:55 Server xinetd[16248]: removing time Jun 27 22:54:55 Server xinetd[16248]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in. Jun 27 22:54:55 Server xinetd[16248]: Started working: 3 available services
and of course there is no log from TightVNC server.Code:12/6/27@22:44:21: START: vnc800 pid=14863 from=127.0.0.1 12/6/27@22:44:21: EXIT: vnc800 status=1 pid=14863 12/6/27@22:53:30: START: vnc800 pid=15855 from=127.0.0.1 12/6/27@22:53:30: EXIT: vnc800 status=1 pid=15855 12/6/27@22:53:39: START: vnc800 pid=15856 from=127.0.0.1 12/6/27@22:53:39: EXIT: vnc800 status=1 pid=15856 12/6/27@22:55:02: START: vnc800 pid=16252 from=127.0.0.1 12/6/27@22:55:02: EXIT: vnc800 status=1 pid=16252 12/6/27@22:58:05: START: vnc800 pid=16408 from=127.0.0.1 12/6/27@22:58:05: EXIT: vnc800 status=1 pid=16408
- 07-23-2012 #2
Shouldn't this line in the configuration file:
"includedir /etc/xinetd.d"
contain the full path name, "/etc/xinetd.d/vnc800"?


Reply With Quote
