Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] x11VNC and Fluxbox

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
JohnBallard0313
Posts: 5
Joined: 2023-05-17 20:24

[Software] x11VNC and Fluxbox

#1 Post by JohnBallard0313 »

I'm back! I'm sorry to bother you all again, but I've run into another issue.

I have ran the following command, and now have a booting fluxbox gui interface.

Code: Select all

sudo mkdir /etc/systemd/system/getty@tty1.service.d
sudo nano /etc/systemd/system/getty@tty1.service.d/override.conf
add this to the file:

Code: Select all

[Service]
Type=simple
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin $username %I $TERM
save and exit

Code: Select all

nano .profile (not as root)
Add this to the bottom:

Code: Select all

#Startx Automatically
[ "$(tty)" = "/dev/tty1" ] && exec startx
save and exit.

Code: Select all

sudo update-alternatives --config x-session-manager
sudo update-alternatives --install /usr/bin/x-session-manager x-session-manager /usr/bin/startfluxbox 40
Now, I am trying to get x11vnc to start up and let me connect via a specific port. Here are the commands that I am currently using. Please let me know if I am missing anything, or if there is any easier way to do this. I really appreciate your help!

Code: Select all

sudo /usr/bin/xauth generate :0 . trusted
sudo /usr/bin/xauth add ${HOST}:0 . $(xxd -l 16 -p /dev/urandom)
sudo /usr/bin/x11vnc -storepasswd
Then I add the following to my fluxbox startup file

Code: Select all

x11vnc -auth guess -forever -loop - noxdamage -repeat -rfbauth ~/.vnc/passwd -rfbport 5970 -shared -o /var/log/x11vnc.log &
---
Moderator edit (Aki) Tue Jun 6 06:03:46 UTC 2023: message edited to include code tags. Please use code tags to include code or logs, see https://www.phpbb.com/community/help/bbcode#f2r1 . Thanks.

User avatar
Trihexagonal
df -h | participant
df -h | participant
Posts: 149
Joined: 2022-03-29 20:53
Location: The Land of the Dead
Has thanked: 20 times
Been thanked: 16 times
Contact:

Re: [Software] x11VNC and Fluxbox

#2 Post by Trihexagonal »

Why are you doing any of that?

Because I never have and been using Fluxbox on FreeBSD and Kali GNU/Linux for years.


How_To set up Fluxbox from the default Debian Desktop Environment
viewtopic.php?t=152464
When Darkness takes everything embrace what Darkness brings.

User avatar
kent_dorfman766
Posts: 531
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 57 times
Been thanked: 69 times

Re: [Software] x11VNC and Fluxbox

#3 Post by kent_dorfman766 »

FWIW, x11nvc has been been broken for the past couple of years, at least when trying to run it as a scraping server for an existing connection. there is a memory management bug in the vnc .so library that isn't being addressed because "it's hard to diagnose and fix".

I tried switching to tigervncserver but it has its own problem: poor documentation, and overrides the existing Xserver screen layout with no discernable way to stop it from doing that.

Post Reply