Corsair

joined 1 year ago
[–] Corsair 0 points 4 weeks ago* (last edited 4 weeks ago)

Thanks @[email protected]

StackOverflow says that it can be done by editing xrdp.ini

This post date from 2013 O_o

default /etc/xrdp/xrdp.ini in my version

[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20

[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1

[vnc-any]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask

[neutrinordp-any]
name=neutrinordp-any
lib=libxrdpneutrinordp.so
ip=ask
port=ask3389
username=ask
password=ask

so I don't have [xrdp1]

   

To summarize:

Edit the xrdp.ini file set port = ask connect from the remote machine, and at login if you have no existing session, specify port -1 to resume a session enter the default of 5910

I believe this i working if the previous session was already made remotely.. ?otherwise how I get the port of the local X session ?

   

Is there a specific reason for choosing RDP?\

rdp is usefull if you have windows client client, but that it's.

   

And RustDesk is also a good, more advanced alternative.

great piece of software, but too heavy in my case, I want something simple, that just do one thing good. I don't need

  • End-to-end encryption
  • File transfer
  • Chat features
 

Hi,

I've installed xrdp on Devuan(debian with sysvinit)

when I connect from other machine (linux, windows) with rdp, I get a fresh new desktop (even the wallpaper is the default one) and none of the opened windows on the server (same account) is displayed on the remote client.

Is it the nature of the rdp protocol or is it possible to reconnect to the same xfce session ?

Thanks.

[–] Corsair 1 points 4 weeks ago

it works back, it's just super slow.....

8
submitted 1 month ago* (last edited 4 weeks ago) by Corsair to c/programming
 

Hi,

Is it just me, or posting image is not working anymore on programming.dev ?

Thanks.

 

Hi,

I would like to create a LAN where each node need to authenticate before gaining access to the LAN.

and secondly be able to monitor the data consumption of each node and even limit the speed for a node when exceeded.

is this is possible with RouterOS ?

Thanks.

[–] Corsair 1 points 5 months ago

Thank you very much to all of you for your input !

I see port in few of your feedback.

I was not clear enough, let me rephrase:
is it possible to give a subnet to a node, not based on the port of the switch/router but based on the node ? meaning that the switch/router need to recognize the node ( MAC or login? ) and then will give him access to A or B

Thanks.

 

cross-posted from: https://programming.dev/post/20616555

Hi,

I would like to create a LAN where each node need to authenticate before gaining access to the LAN.

and secondly be able to monitor the data consumption of each node and even limit the speed for a node when exceeded.

I'm looking for something FLOSS. For example a single-board computer with a gnu/Linux etc...

Maybe some distribution or solution already exist for this ?

Thanks.

 

Hi,

I would like to create a LAN where each node need to authenticate before gaining access to the LAN.

and secondly be able to monitor the data consumption of each node and even limit the speed for a node when exceeded.

I'm looking for something FLOSS. For example a single-board computer with a gnu/Linux etc...

Maybe some distribution or solution already exist for this ?

Thanks.

10
submitted 6 months ago* (last edited 6 months ago) by Corsair to c/[email protected]
 

Hi,

I would like to assign different subnet to devices connecting to my switch/router Mikrotik (RouterOS v6.40).

To avoid devices connected on subnet 1 to reach devices on subnet 2 and moreover to disable access to the WWW on one of those two subnet

diagram

Is it possible with RouterOS to set the DHCP server to lease two set of ip (subnet) base on a Whitelist, meaning if a device is on the white list it get subnet1 if not subnet2 ?

Or do you have more practical solutions ?

Thanks.

 

cross-posted from: https://programming.dev/post/19296452

Hi,

I would like to make some simple network simulations

I've tried to make run few (under Linux or Windows)

  • Kathara
  • GNS3
  • EVE-NG (3.1 GB ! to download )
  • omnetpp
  • ns-3
  • Cisco Packet Tracer (Not FLOSS, if I'm not mistaken )

The only one that I managed to install, run and use (set some nodes) was sadly the Cisco Packet Tracer ...

They other have their install process way to much complex or with such layer of dependency or more simply they way the works is too complex (running side VM for each nodes etc..) make it challenging to installing.

Do youn know a FLOSS Network Simulator , this is easy to install ?

Thanks.

 

Hi,

I would like to make some simple network simulations

I've tried to make run few (under Linux or Windows)

  • Kathara
  • GNS3
  • EVE-NG (3.1 GB ! to download )
  • omnetpp
  • ns-3
  • Cisco Packet Tracer (Not FLOSS, if I'm not mistaken )

The only one that I managed to install, run and use (set some nodes) was sadly the Cisco Packet Tracer ...

They other have their install process way to much complex or with such layer of dependency or more simply they way the works is too complex (running side VM for each nodes etc..) make it challenging to installing.

Do youn know a FLOSS Network Simulator , this is easy to install ?

Thanks.

[–] Corsair 1 points 7 months ago* (last edited 7 months ago)

I think I found the cause.

one of the parent div have is properties perspective and it seem to be the problem... (Firefox 115*)

So I created an dirty workaround ;)

10
submitted 7 months ago* (last edited 7 months ago) by Corsair to c/css
 

Hi everyone,

I would like one of my div to have an background-attachment: fixed

But the background still scroll 😤

This div is under html body div div div div div

and it CSS properties are

#TheDiv {
    min-height: 100vh;
    min-width: 100vw;
    background-image: url('/anImage.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    left: 0;
    padding: 40px;
    box-sizing: border-box }

Any Ideas, what could cause the background to scroll anyway ?

Thanks

[–] Corsair 1 points 7 months ago

Thank you @[email protected] & @[email protected] & @[email protected]

for those explanations ! So, as I have my hand on a raspberry , I will give a shot with that first :)

[–] Corsair 3 points 7 months ago

Thank you @[email protected] & @[email protected] for those explanations ! So as I have my hand on a raspberry , I will give a shot with that first :)

 

cross-posted from: https://programming.dev/post/18765600

Hi everyone,

I would like to learn to program and built project using MicroControllers

I'm a Python dev. Therefore I would like to use it to program those.

But I've no idea where to start..

  • For the hardware:
    • What will be the best Raspberry Pi or Arduino ?
      I know they are not the same thing but could tell me in which situation you use more one than the other ? Or do you use something else ?
  • Software
    • I've already my IDE VisualCodium
      What is MicroPython Vs CircuitPython ?

If you have any resources I'm all eras.

Thanks.

 

Hi everyone,

I would like to learn to program and built project using MicroControllers

I'm a Python dev. Therefore I would like to use it to program those.

But I've no idea where to start..

  • For the hardware:
    • What will be the best Raspberry Pi or Arduino ?
      I know they are not the same thing but could tell me in which situation you use more one than the other ? Or do you use something else ?
  • Software
    • I've already my IDE VisualCodium
      What is MicroPython Vs CircuitPython ?

If you have any resources I'm all eras.

Thanks.

[–] Corsair 2 points 7 months ago

Thank you very much for your feedback @[email protected] & @[email protected]

 

Hi,

Often apps offer you a way to "share" some content. While doing so you have a native Android menu that propose you few compatible apps to "share" it.. great... But I don't want to share it I want to save it locally (on the device) Any ideas how to do just that ?

[–] Corsair 2 points 8 months ago (1 children)

Thanks @[email protected] unfortunatly ikea is quite the opposite of

... ~strong ...

[–] Corsair 0 points 11 months ago (1 children)

Thanks @[email protected] weird because I can use XHR as async.. see: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open open(method, url, async)

[–] Corsair 2 points 1 year ago* (last edited 1 year ago)

Thank you all for your input's !! 🤗

I've put the files on a USB flash drive formatted as a classic FAT. Then I mounted it in the VM (I confirm no need the VMware-tools for that :)

[–] Corsair 1 points 1 year ago

Really cool ! (bookmarked*)
Just the essential !
to bad there isn't either a difference between versions or a history of the changes

[–] Corsair 1 points 1 year ago

Thank you very much @[email protected] , any names for GitHub alternatives ?

view more: next ›