×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Headless KStars

  • Posts: 357
  • Thank you received: 113

Replied by nou on topic Headless KStars

Try edit config.txt in boot and add this

hdmi_force_hotplug=1
hdmi_mode=16
3 years 6 days ago #70219

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic Headless KStars

This seems a bit reminiscent of when I was troubleshooting dual monitors on the Pi4. The second monitor would show the splash screen, then go blank.
I had to uncomment dtoverlay=vc4-kms-v3d in /boot/config.txt
Then because I wanted each display to be the same screen rather than an extended desktop, I had to overlap Monitor 1 and 2 in the Screen Configuration, layout editor.
3 years 6 days ago #70224

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420

Replied by Wouter van Reeven on topic Headless KStars

All, see this thread here:

www.indilib.org/forum/stellarmate/9453-f...-ubuntu-install.html

The topic starter is not using a Raspberry Pi.
3 years 6 days ago #70229

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 182

Replied by Jose Corazon on topic Headless KStars

We are turning around in circles here. All these problems have been solved many times over here on this forum.

It is usually a simple matter of just editing the config.txt file in the boot section of the Pi4.

Also, x11VNC works just fine. Couldn't be more straightforward.

Set the framebuffer to the size of your monitor in the config.txt file

set the hdmi_hotplug and the hdmi_mode (82 in my case for 1920x1080)

set x11vnc -storepasswd

add x11vnc -usepw -shared -forever to the Ubuntu Startup Items

That should do it.
3 years 6 days ago #70237

Please Log in or Create an account to join the conversation.

  • Posts: 300
  • Thank you received: 57

Replied by Scott Denning on topic Headless KStars

Not a Pi. No config.txt. No "boot section"
3 years 6 days ago #70239

Please Log in or Create an account to join the conversation.

  • Posts: 185
  • Thank you received: 28

Replied by Richard Beck on topic Headless KStars

I have been running a NUC with NoMachine for some time now. I don't recall a black screen (other than a slow startup that looks black lately).

I use the HDMI dummy plug and make sure I'm running the same release of NoMachine on both machines. I am running Debian Sid on the monitoring desktop and Kubuntu on the NUC.
3 years 6 days ago #70240

Please Log in or Create an account to join the conversation.

  • Posts: 1119
  • Thank you received: 182

Replied by Jose Corazon on topic Headless KStars



Even easier on the mini-PC:

1.  Go to Synaptic, install x11vnc
2.  Go to Applications > Internet > X11VNC server
3. Click OK, then follow the instructions in the menu to start x11vnc at startup
4. Add another startup item under System > Preferences > Personal > Startup Applications to define Screen size:  xrandr --fb 1920x1080  (or the screen size you want)

Restart.  You should now be able to log into your VNC server using Remmina on Linux, Remote Desktop on the Mac, ChickenVNC on the Mac, etc. 

No dummy plug required.

These instructions are for UbuntuMATE.  I prefer that Desktop environment.  Easier to navigate than Unity.
 
The following user(s) said Thank You: Wouter van Reeven
Last edit: 3 years 6 days ago by Jose Corazon.
3 years 6 days ago #70245

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 1

Replied by MountainAir on topic Headless KStars

OK everyone, thank you for the assistance. There is a lot of good, specific advice here to try. I've attempted several of these prior to opening this thread, but often with some slight variations found elsewhere online.

Amazon delivered my HDMI dummy plugs early, and bam -- everything works just fine with NoMachine, including re-sizing the client window triggering a resizing of the Remote Desktop. I'm up and running -- thanks for the suggestion, AirScott!
3 years 6 days ago #70247

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Headless KStars

This worked for me:  

Install this dummy device<code>sudo apt-get install xserver-xorg-video-dummy</code>
Then create /etc/X11/xorg.conf with the following details:

<code>Section "Device"
  Identifier "Configured Video Device"
  Driver "dummy"
EndSection

Section "Monitor"
  Identifier "Configured Monitor"
  HorizSync 31.5-48.5
  VertRefresh 50-70
EndSection

Section "Screen"
  Identifier "Default Screen"
  Monitor "Configured Monitor"
  Device "Configured Video Device"
  DefaultDepth 24
  SubSection "Display"
  Depth 24
  Modes "1024x800"
EndSubSection

EndSection</code>

Restart
Last edit: 3 years 4 days ago by AirBourn.
3 years 4 days ago #70279

Please Log in or Create an account to join the conversation.

  • Posts: 300
  • Thank you received: 57

Replied by Scott Denning on topic Headless KStars

This looks quite useful. This is on a NUC or mini-PC running ubuntu?

And with this you can skip the $4 plug in the HDMI port?

Thank you!
Scott
3 years 4 days ago #70281

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Headless KStars

It's an MSECORE mini PC running Ubuntu 20
3 years 4 days ago #70291

Please Log in or Create an account to join the conversation.

  • Posts: 1222
  • Thank you received: 565

Replied by Hy Murveit on topic Headless KStars

FWIW re black screens, I do get them from time to time (i.e. just now). However, I've found a workaround which is to quit the NoMachine client on my macbook, restart the mac's NoMachine program, and reconnect to my Raspberry Pi. (I don't do anything to my Raspberry Pi.)  It always has returned to normal after I reconnect.
3 years 2 days ago #70394

Please Log in or Create an account to join the conversation.

Time to create page: 0.621 seconds