Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Recent posts

#91
Applications / lightdm won't start
Last post by Splinx64 - February 04, 2024, 10:23:52 AM
Hello everybody,

for about two weeks I have the problem that I cannot login via lightdm. The screen remains black, while booting there is not the splash screen.

In this situation I only have access to my system via SSH. Changing to another console doesn't work.

But, when I boot into recovery mode and instead of login as root, but go continue with CTRL+D, than lightdm starts like normal.
When I in recovery mode log in as root and call 'systemctl start graphical.target', than lightdm starts like normal too and I can log in as user.

In last time I did following things:

- de- and reinstalled nvidia driver
- de- and reinstalled lightdm and lightdm-gtk-greeter
- initramfs updated

But unfortunately nothing of them helped.

Here some outputs of commands, I did in normal boot mode, when lightdm didn't work.

~$ inxi -SG
System:
  Host: haus Kernel: 6.6.13-amd64 arch: x86_64 bits: 64 Console: pty pts/1 Distro: SparkyLinux 8
    (Seven-Sisters)
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 Rev. A] driver: nvidia v: 525.147.05
  Device-2: Microsoft LifeCam HD-3000 driver: snd-usb-audio,uvcvideo type: USB
  Display: server: X.org v: 1.21.1.11 driver: X: loaded: fbdev,modesetting,nouveau,nvidia,vesa
    gpu: nvidia tty: 128x45
  API: EGL v: 1.5 drivers: nvidia,swrast platforms: gbm,surfaceless,device
  API: OpenGL Message: GL data unavailable in console for root.

'haus' is my host name.

~$ systemctl status lightdm
● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-02-04 09:19:53 CET; 6min ago
       Docs: man:lightdm(1)
   Main PID: 1378 (lightdm)
      Tasks: 5 (limit: 38268)
     Memory: 9.9M (peak: 10.4M)
        CPU: 65ms
     CGroup: /system.slice/lightdm.service
             ├─1378 /usr/sbin/lightdm
             └─1395 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

Feb 04 09:19:53 haus systemd[1]: Starting lightdm.service - Light Display Manager...
Feb 04 09:19:53 haus systemd[1]: Started lightdm.service - Light Display Manager.

~$ dkms status
nvidia-current/525.147.05, 6.6.13-amd64, x86_64: installed

~$ systemctl get-default
graphical.target

In this time I also installed SLiM. It works fine, without any problems, while booting the splash screen also appears. But I prefer lightdm

Maybe anybody of you have a solution to solve my problem.

Thank you forward for your help.
#92
Hardware / How to know ink level and star...
Last post by paul74 - January 30, 2024, 11:10:40 AM
Hello,

We use an Epson xp-335 in wifi from different PC's using Sparky 7.2 and 8 versions.

This printer use drvless.ppd set during installation via CUPS.

But we cannot display ink levels and start head cleaning process via "properties" panel.

I installed software Mtink under SparkyLinux 8, but it doesn't work, it reqquests user to be specified in lp group.
I added username" to lp and lpadmin but I always got same problem.

Mtink is installed via Synaptic.

Thank you in advance for your ideas and solutions.

#93
Newbie questions / Re: How to change the Network ...
Last post by AxL - January 28, 2024, 05:17:01 PM
Quote from: mirto on January 20, 2024, 08:05:18 PM[....]
I have a motherboard with 2 network interfaces

Sparky names the interfaces "eth0" and "eth1" (names assignment to hardware address changes at every boot)
I need to use the "enp38s0" and "enp39s0" naming schema.

How can I do this?
[....]


See:
#94
Newbie questions / Re: How to change the Network ...
Last post by smithloo - January 28, 2024, 03:29:57 PM
I've got the same question
does anyone help?
just visit us https://www.qualitybacklink.net/
#95
Applications / Re: bluetooth client openbox
Last post by potholehotline - January 27, 2024, 05:45:26 AM
thank you very much, clear instructions, simple and easy way to use bluetooth on openbox
#96
Installation / [Solved] Using Swap File Inste...
Last post by duststuff - January 26, 2024, 04:20:51 PM
The wiki mentions that you need a swap partition to install / run Sparky but my understanding is that you can use a swap file instead if you wish. Following is one method for creating and enabling a swap file on your system. (Each of the commands needs to be run with elevated privileges, represented by 'sudo' in these examples.)

1. Create a file of the desired size in the desired location with the desired name:
sudo fallocate -l 4G /swapfileNotes: 'fallocate' is the program being run. '-l 4G' tells it to create a file with a 'length' (i.e. size) of 4 GB. '/swapfile' tells it to create the file in the root ('/') directory and name it 'swapfile'.

2. Give the file the necessary access permissions:
sudo chmod 0600 /swapfile
3. 'Convert' the file into a swap-type file:
sudo mkswap /swapfileIf you want to confirm this worked, you can run this command:
sudo file /swapfile
4. Enable the file for swap use:
sudo swapon /swapfileAt this point, the system should have access to this file to use as swap space if needed. If you have 'inxi' installed, you can run the following command to confirm this:
inxi --swap
In order for this to be persistent and available for the system on subsequent boots, you need to add the following line to the /etc/fstab file:
/swapfile none swap defaults 0 0
I found this solution via an online comment and it has been working for me. There are probably other ways of accomplishing this same thing. Others can feel free to offer any additional information or advice they think might be helpful in regards to the use of swap files.
#97
Newbie questions / Re: deb files are opening not ...
Last post by duststuff - January 26, 2024, 03:46:31 AM
You're welcome. :-) Glad to hear you got it working as expected, and also that Sparky 8 works with your device -- hopefully you won't have too many more 'surprises' like this and/or they won't take too much energy / time to resolve. :-)
#98
Newbie questions / Re: deb files are opening not ...
Last post by nucman - January 26, 2024, 03:36:46 AM
Thank you again for your response. You led me down the correct path. I have gdebi-gtk on my system and I was able to manually browse to it, check the box to always open, and now running a deb file in the GUI works as I am expecting. It opens the package manager and offers to install. Definitely weird it changed/disappeared but you're probably right it's related to the rolling updates.

I mainly picked Sparky 8 because I'm using an Intel NUC11, which has been problematic with other Linux installs. I've gone back and forth between Windows and Linux on this device because I couldn't get Linux to work with the hardware as desired. Fortunately so far everything is working great for the most part so I'll stick with it. Thanks again!
#99
Newbie questions / Re: deb files are opening not ...
Last post by duststuff - January 25, 2024, 11:50:49 PM
On my Linux Mint Debian Edition 6 (based on Debian 12, "Bookworm"), when I open a DEB file it opens a "GDebi Package Installer" GUI window that gives you the option to install, lets you check out what dependencies might be installed, etc. I'm pretty sure this is the 'gdebi' package you're referring to, which can be used in the terminal but is not limited to that (I confirmed this by a bit of a search on the web). I'm reasonably certain that this would work as the default app for the behavior that you already saw and are expecting. So you may want to check / confirm that it is actually currently installed. If it is, and it still doesn't show up in the right-click menu, see if there's an option in that same menu to create a custom command. If so, the command you would want to use is as follows:
gdebi-gtkNote that this is a Debian-based response, and I'm not sure if Sparky uses its own solution for this or not. You could browse the Sparky wiki section on package management (and perhaps other sections) to see if it mentions anything. In any case, I'm reasonably certain that gdebi would work if you want to use it.

I'm not exactly sure why it worked before for you but not now, but my best guess is that Sparky 8 may be a 'rolling' version, which would mean it's based on the current 'testing' version of Debian. If so, based on other comments on this forum, sometimes upgrades with this type of version can remove packages for some reason and then later they are made available again (probably related to trying to fix bugs, or perhaps potential conflicts with other packages, not sure). If this applies to your situation, you prefer something more stable, and you don't want / need to have the latest versions of software, then you may want to go with Sparky 7, which I think is based on the current 'stable' version of Debian. You can see the entry on code names in the Sparky wiki to see which Sparky versions are based on which Debian versions and then check out the debian.org pages to get details on the different versions, etc. There's also a fair amount of Q&A on versions in these forums if you want to search for something specific. Hope this helps you figure out a good solution for your setup.
#100
Newbie questions / Re: deb files are opening not ...
Last post by nucman - January 25, 2024, 08:32:05 PM
Thanks for the reply. I updated my post with my system settings. My primary question in regards to your suggestions is what GUI app should I be using to open deb files to install? When I right click and open with.. I get my list of installed apps but none seem to be correct. (gdebi is not listed as it's cli).

When I go to Default Apps in settings the only apps listed to open a deb file is Ark, which is just the decompression tool. Which is the app that is opening the deb [now]. I have two other deb files in my Downloads and they for sure just installed. So not sure what changed.

View the most recent posts on the forum