Language:
switch to room list switch to menu My folders
Go to page: [1] 2 3 4 5 ... Last
↑↑↑ Old messages ↑↑↑            ↓↓↓ New messages ↓↓↓
[#] Fri Dec 04 2020 22:32:01 EST from ParanoidDelusions

Subject: Pi to Debian migration complete

[Reply] [ReplyQuoted] [Headers] [Print]

Well... I got it up and running on the i5. It is live now.  

telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd -L /usr/local/citadel/citadel


was what needed to be added to inetd.conf to get the text client working right. 

I realized that it was working fine on Raspbian - and thought I'd take a chance being that Raspbian is a Debian variant, and just cut the telnet line from the .conf on the Pi and pasted it into the .conf on the i5, restarted inetd -and the weird echo issues went away. 

ctdlmigrate and sendcommand both failed more often than they worked, and other things broke during the migration - but for the most part, it is working - and file attachments work fine now. 

I suspect the majority of my issues were permission and path issues, with a decent dose of NRTFM and not exactly understanding what I was reading in TFM. 

I kind of recall the Citadel Support room being the same thing when I was trying to set up Citadel on the Pi... more of a running journal of my problems and progress as I stumbled toward a solution... 

But I plan on building the second box out again and again until I can figure out how to consistently build a backup and migrate the database from my production box to the test one. 


And I'll probably write up documentation aimed at the ultra-novice Linux user as I do that. 
 


[#] Fri Dec 04 2020 23:48:15 EST from ParanoidDelusions

Subject: Re: Pi to Debian migration complete

[Reply] [ReplyQuoted] [Headers] [Print]

LOL. Hibernate/Suspend got me. Have that disabled now, I'm pretty sure. Evidently Debian claims they have to enable it by default to meet European/US energy requirements. I suppose the Pi doesn't have that issue. 


If it isn't one thing, it is another... 

 



[#] Sat Dec 05 2020 12:54:53 EST from ParanoidDelusions

Subject: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]

Is there somewhere in the documentation that discusses how to make the initial login view of Citadel look like Uncensored does when you open it in WebCit. Mine comes up with a login prompt automatically. Is this done with styles and .xml: 

What Uncensored looks like: 

 

What The Sanitarium looks like



[#] Sat Dec 05 2020 13:48:47 EST from IGnatius T Foobar

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]

Is there somewhere in the documentation that discusses how to make
the initial login view of Citadel look like Uncensored does when you
open it in WebCit. Mine comes up with a login prompt automatically.

I don't know if it's in the documentation, but you use the -g option to webcit to define the start page that appears when a user first lands on the site.
Mine is: -g/dotgoto?room=Welcome%20to%20uncensored%21 So it takes new users to a read-only wiki room whose home page is a welcome screen.

[#] Sat Dec 05 2020 13:55:03 EST from IGnatius T Foobar

Subject: Re: install not working

[Reply] [ReplyQuoted] [Headers] [Print]

Two changes are needed to get this going:

in webcit: context_loop.c:

Comment out the line around line 28:

Thanks for reporting this issue and a possible fix. I have made a note of the issue in our issue tracker and will attempt these builds on old and new ubuntu.

The packages in the repository are definitely problematic. They are not maintained by the Citadel project and can become outdated from time to time.

[#] Sat Dec 05 2020 21:02:37 EST from ParanoidDelusions

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]

So, this is one of those times when I understand the high level concept, but not the application. 

You're saying that you've set it up so that when a user connects, it launches "webcit -g/path" 
And at that path is "Welcome%20to%20uncensored%21


Subject: Re: Initial Citadel Welcome Screen
Is there somewhere in the documentation that discusses how to make
the initial login view of Citadel look like Uncensored does when you
open it in WebCit. Mine comes up with a login prompt automatically.

I don't know if it's in the documentation, but you use the -g option to webcit to define the start page that appears when a user first lands on the site.
Mine is: -g/dotgoto?room=Welcome%20to%20uncensored%21 So it takes new users to a read-only wiki room whose home page is a welcome screen.

And that is what they see? 

I mean... it is super cool - and I wish I could make my Citadel do that. But I don't know where I would start. Would it redirect to display, in the window, a webpage on my Apache server? 

That would work for me. Mine doesn't need to be as cool as yours. I'm not as good at this as you are, clearly. My Citadel is mostly an accident of sheer determination. 

 

 



[#] Sun Dec 06 2020 13:29:23 EST from IGnatius T Foobar

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]

You're saying that you've set it up so that when a user connects, it
launches "webcit -g/path" 
And at that path is "Welcome%20to%20uncensored%21" 

More or less. The "-g" option just tells it where to redirect "/" to.

The path "/dotgoto?room=XX" is the WebCit command to goto a room, where XX is the name of the room.

I have a room called "Welcome to UNCENSORED!" which is a wiki room whose home page is a welcome screen. To use its name in a URL we have to escape the spaces to %20 and the exclamation point to %21.

You could send the landing page pretty much anywhere. It would probably work with an external reference but I haven't tried it.

As to where this is configured ... you put it wherever WebCit is started.
For most sites that's going to be /etc/systemd/system/webcit-http.service and /etc/systemd/system/https.service

[#] Sun Dec 06 2020 15:25:55 EST from IGnatius T Foobar

Subject: Re: Error with easyinstaller build on Ubuntu 20.10 with fresh install

[Reply] [ReplyQuoted] [Headers] [Print]

 

Mon Nov 23 2020 11:53:02 AM EST from hamiltra @ Uncensored Subject: Error with easyinstaller build on Ubuntu 20.10 with fresh install

I did a fresh install of Ubuntu 20.10 (amd64) and tried the citadel-suite without success.  it was a very old version 917 which was throwing a lot of segfault messages into the syslog.  Uninstalled that version and did some cleanup.  Then, I tried the build from scratch using easyinstall shell and to keep the files as was posted in this forum last week, but then I got an error:

Thanks for reporting, and for pointing out the fix.  This has been corrected in 1e99d3eab849c3c41341d2d9b055ea7ee6a058a3 and will appear in the next release.

 



[#] Sun Dec 06 2020 19:12:06 EST from ParanoidDelusions

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]

Ok. I understand that a little better. Webcit launches with a switch -g/dotgoto?room=Welcome%to%uncensored%21 

And that room is a wiki with the welcome window that is displayed. 

The room is hidden, though, right? regular users can't see or post to it. 

 

Sun Dec 06 2020 13:29:23 EST from IGnatius T Foobar @ Uncensored Subject: Re: Initial Citadel Welcome Screen
You're saying that you've set it up so that when a user connects, it
launches "webcit -g/path" 
And at that path is "Welcome%20to%20uncensored%21" 

More or less. The "-g" option just tells it where to redirect "/" to.

The path "/dotgoto?room=XX" is the WebCit command to goto a room, where XX is the name of the room.

I have a room called "Welcome to UNCENSORED!" which is a wiki room whose home page is a welcome screen. To use its name in a URL we have to escape the spaces to %20 and the exclamation point to %21.

You could send the landing page pretty much anywhere. It would probably work with an external reference but I haven't tried it.

As to where this is configured ... you put it wherever WebCit is started.
For most sites that's going to be /etc/systemd/system/webcit-http.service and /etc/systemd/system/https.service

 



[#] Sun Dec 06 2020 19:13:15 EST from ParanoidDelusions

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]

Actually, this room: 



[#] Sun Dec 06 2020 21:30:51 EST from ParanoidDelusions

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]

So, I think that webcit is called in /etc/systemd/system/webcit-http.service and /webcit-https.service - if I understand how systemd works. 

in webcit-https.service, I see this line: 

ExecStart=/usr/local/webcit/webcit -s -p4916 uds /usr/local/citadel

so that would change to something like:

ExecStart=/usr/local/webcit/webcit -g Welcome%20to%20Roomname%21 -p4916 uds /usr/local/citadel 


Where there was a room, as a Wiki, on my Citadel called "Welcome To Roomname!"

And the same edit would be made to webcit-https.service? 

ExecStart=/usr/local/webcit/webcit -g Welcome%20to%20Roomname%21 -p8916 uds /usr/local/citadel


Do I just edit the files webcit-https.service and webcit-http.service with vi or nano to make these changes?

 Do I have this right? 




Sun Dec 06 2020 13:29:23 EST from IGnatius T Foobar @ Uncensored Subject: Re: Initial Citadel Welcome Screen
You're saying that you've set it up so that when a user connects, it
launches "webcit -g/path" 
And at that path is "Welcome%20to%20uncensored%21" 

More or less. The "-g" option just tells it where to redirect "/" to.

The path "/dotgoto?room=XX" is the WebCit command to goto a room, where XX is the name of the room.

I have a room called "Welcome to UNCENSORED!" which is a wiki room whose home page is a welcome screen. To use its name in a URL we have to escape the spaces to %20 and the exclamation point to %21.

You could send the landing page pretty much anywhere. It would probably work with an external reference but I haven't tried it.

As to where this is configured ... you put it wherever WebCit is started.
For most sites that's going to be /etc/systemd/system/webcit-http.service and /etc/systemd/system/https.service

 



[#] Sun Dec 06 2020 21:45:55 EST from ParanoidDelusions

Subject: bbs@uncensored.citadel.org

[Reply] [ReplyQuoted] [Headers] [Print]

I have a fuzzy memory of documentation on how to set this up, but I can't find it now on the citadel.org documentation pages. 

How do you set up BBS to not require a password and launch the textclient automatically from a SSH session? 




[#] Sun Dec 06 2020 21:57:52 EST from ParanoidDelusions

Subject: Re: bbs@uncensored.citadel.org

[Reply] [ReplyQuoted] [Headers] [Print]

Does it involve making sure that the bbs account has just user permissions, no password, and their startup shell is /usr/local/citadel/citadel 
So that a ssh connection to bbs@ssh.wallofhate.com automatically logs in and starts the citadel text client? 

Sun Dec 06 2020 21:45:55 EST from ParanoidDelusions @ Uncensored Subject: bbs@uncensored.citadel.org

I have a fuzzy memory of documentation on how to set this up, but I can't find it now on the citadel.org documentation pages. 

How do you set up BBS to not require a password and launch the textclient automatically from a SSH session? 




 



[#] Sun Dec 06 2020 22:24:31 EST from ParanoidDelusions

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]


 Do I have this right? 

As to where this is configured ... you put it wherever WebCit is started.
For most sites that's going to be /etc/systemd/system/webcit-http.service and /etc/systemd/system/https.service

Missed this. Yeah, I guess I've got it right. 

 

Sun Dec 06 2020 13:29:23 ESTfrom IGnatius T Foobar @ Uncensored Subject: Re: Initial Citadel Welcome Screen
You're saying that you've set it up so that when a user connects, it
launches "webcit -g/path" 
And at that path is "Welcome%20to%20uncensored%21" 

More or less. The "-g" option just tells it where to redirect "/" to.

The path "/dotgoto?room=XX" is the WebCit command to goto a room, where XX is the name of the room.

I have a room called "Welcome to UNCENSORED!" which is a wiki room whose home page is a welcome screen. To use its name in a URL we have to escape the spaces to %20 and the exclamation point to %21.

You could send the landing page pretty much anywhere. It would probably work with an external reference but I haven't tried it.

As to where this is configured ... you put it wherever WebCit is started.
For most sites that's going to be /etc/systemd/system/webcit-http.service and /etc/systemd/system/https.service


 



[#] Sun Dec 06 2020 22:30:14 EST from ParanoidDelusions

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]

But I have to set up Citadel to let users who are not logged in browse the server, right? I can't just make one room visible, it has to be set globally for the entire BBS? 

Otherwise, I get "You must be logged in to access this page" on the regular login screen. 

 

Sun Dec 06 2020 22:24:31 EST from ParanoidDelusions @ Uncensored
Subject: Re: Initial Citadel Welcome Screen

Missed this. Yeah, I guess I've got it right. 

 

 

 



[#] Mon Dec 07 2020 00:13:10 EST from ParanoidDelusions

Subject: Re: bbs@uncensored.citadel.org

[Reply] [ReplyQuoted] [Headers] [Print]

So, I tried putting it in /home/bbs/.ssh/rc

"/usr/local/citadel/citadel"



And that executes citadel when I connect via SSH... but it quits immediately and takes me back to the shell:


bbs@testtsbbs:~$ ssh bbs@127.0.0.1
bbs@127.0.0.1's password:
Linux testtsbbs 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Dec  6 21:42:23 2020 from 127.0.0.1
Attaching to server...
[localhost:504]
Citadel 929            
Citadel Server
(null)
 pause    next    stop
 ctrl-s  ctrl-o  ctrl-c

Cannot open '/usr/local/citadel/messages//hello': No such file or directory

Enter your name: bbs@testtsbbs:~$

Sun Dec 06 2020 21:57:52 EST from ParanoidDelusions @ Uncensored Subject: Re: bbs@uncensored.citadel.org

Does it involve making sure that the bbs account has just user permissions, no password, and their startup shell is /usr/local/citadel/citadel 
So that a ssh connection to bbs@ssh.wallofhate.com automatically logs in and starts the citadel text client? 

Sun Dec 06 2020 21:45:55 EST from ParanoidDelusions @ Uncensored Subject: bbs@uncensored.citadel.org

I have a fuzzy memory of documentation on how to set this up, but I can't find it now on the citadel.org documentation pages. 

How do you set up BBS to not require a password and launch the textclient automatically from a SSH session? 




 



 



[#] Mon Dec 07 2020 00:15:30 EST from ParanoidDelusions

Subject: Re: bbs@uncensored.citadel.org

[Reply] [ReplyQuoted] [Headers] [Print]

If I immediately execute "/usr/local/citadel/citadel" after it dumps me back out to the shell, the text client loads and works perfectly, and disconnects the SSH session on exit. 

 



[#] Mon Dec 07 2020 00:38:09 EST from ParanoidDelusions

Subject: Re: bbs@uncensored.citadel.org

[Reply] [ReplyQuoted] [Headers] [Print]

figured it out. 

in .profile

/usr/local/citadel/citadel
exit

Logs in with the account, immediately launches citadel, then when I .tq it exits the SSH session immediately. 

Is this a secure way to do this? 


Mon Dec 07 2020 00:15:30 EST from ParanoidDelusions @ Uncensored Subject: Re: bbs@uncensored.citadel.org

If I immediately execute "/usr/local/citadel/citadel" after it dumps me back out to the shell, the text client loads and works perfectly, and disconnects the SSH session on exit. 

 



 



[#] Mon Dec 07 2020 00:40:04 EST from ParanoidDelusions

Subject: Re: bbs@uncensored.citadel.org

[Reply] [ReplyQuoted] [Headers] [Print]

There is no error checking or sanity to this, so if usr/local/citadel/citadel fails to launch, will it just proceed to the exit command and dump them right back out, or will it throw up an error and stop the script from processing the exit, leaving them in the system at a bash prompt? 

Mon Dec 07 2020 00:38:09 EST from ParanoidDelusions @ Uncensored Subject: Re: bbs@uncensored.citadel.org



Is this a secure way to do this? 


 



[#] Mon Dec 07 2020 09:45:01 EST from ParanoidDelusions

Subject: Re: Initial Citadel Welcome Screen

[Reply] [ReplyQuoted] [Headers] [Print]


So, the documentation says: 


To configure a "public" Citadel system, edit your system configuration to disable "require login". If this option is enabled, users can browse the system in "guest mode" without logging in first. This will also permit the search engines to index your site, so be sure this is what you want.

Guest users (not logged in) will not be permitted to post messages or view private rooms.


But I don't see where to do that. 

In site-wide settings in the Administration menu you can set "Allow anonymous guest access" - but I looked in the .rc files and I don't see any flag for "require login" and I couldn't find any other reference to it in the Citadel documentation. 

But I think that is required in order to make this work? 

I feel like I'm pretty close - but it isn't quite working yet. 


 

Sat Dec 05 2020 13:48:47 EST from IGnatius T Foobar @ Uncensored Subject: Re: Initial Citadel Welcome Screen

I don't know if it's in the documentation, but you use the -g option to webcit to define the start page that appears when a user first lands on the site.
Mine is: -g/dotgoto?room=Welcome%20to%20uncensored%21 So it takes new users to a read-only wiki room whose home page is a welcome screen.

 



Go to page: [1] 2 3 4 5 ... Last