You are not logged in.
Pages: 1
I downloaded and installed the latest rolling 32bit version. Everything was going smooth until I loaded x11vnc. Now shutdown and reboots do nothing. Here is the setup:
1, loaded 'x11vnc' through 'Package Manager'
2, added 'x11vnc' to /etc/rcS.conf:
[c]RUN_DAEMONS="firewall httpd ntpd openssh x11vnc"[/c]
3, made sure /etc/daemons had startup configs:
[c]
X11VNC_OPTIONS="-rfbauth /etc/vnc.secret -auth /var/run/slim.auth -allow
10.,192.168.,127.0.0.1 -forever -loop -tightfilexfer -permitfiletransfer
-display :0"
[/c]
After a reboot, I see x11vnc runs and I am able to VNC into it from another workstation. The problem is when I try to reboot, either from the CLI or desktop "tux->logout->shutdown or reboot". Nothing happens... I checked /etc/init.d/rc.shutdown and I do not see any issues. When I checked the shutdown logs, I see that it thinks x11vnc is not running - but it is....
[c]tux@slitaz-beach:/etc$ pgrep -l vnc
1289 /usr/bin/x11vnc
1309 /usr/bin/x11vnc
tux@slitaz-beach:/etc$ cat /var/log/slitaz/shutdown.log
System is going down for reboot or halt.
19:40:42 up 7:01, 0 users, load average: 0.01, 0.04, 0.04
Iptables rules are disabled...
Stopping httpd deamon: httpd... [ Done ]
Stopping ntpd deamon: ntpd... [ Done ]
Stopping OpenSSH server: OpenSSH... [ Done ]
x11vnc is not running.
[/c]
If I execute '/etc/init.d/x11vnc stop' - the system reboots immediately.
Any ideas?
-Beach
Offline
Root must kill x11vnc server before regular user can exit xsession to slim login,reboot,or poweroff.
Configure sudo with no prompt for password.
[c]# leafpad /usr/bin/tazbox[/c]
Scroll down to logout)
Sections exit,reboot,halt
Add:
[c]sudo pkill xllvnc[/c]
before existing command to exit xsession, reboot, poweroff.
4|*exit)
case $XDG_CURRENT_DESKTOP in
LXDE)
sudo pkill x11vnc
[ -n "$_LXSESSION_PID" ] && kill $_LXSESSION_PID
3|*reboot)
sudo pkill x11vnc
reboot || reboot -f ;;
2|*halt)
sudo pkill x11vnc
poweroff ;;
Offline
Worked perfectly! Thanks Mojo!
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]