In Fluxbox trying to cli a text editor and file and no go x org error.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In Fluxbox trying to cli a text editor and file and no go x org error.
Trying to get ma' thumbnailer working, it is not producing thumbnails for mp4 movies. So when I went to open up the file for it to take a look see, I got this instead of the application opening the file. Both Kwrite, and greany.
Fluxbox
Code:
(userx@slacko⚡️~)>>$ sudo kwrite /usr/share/thumbnailers/pcmanfm.thumbnailer
No protocol specified
kwrite: cannot connect to X server :0
(userx@slacko⚡️~)>>$ sudo geany /usr/share/thumbnailers/pcmanfm.thumbnailer
No protocol specified
Geany: cannot open display
regarding the other issue you got, FYI, to have video thumbnail in pcmanfm you need ffmpegthumbnailer: note that, like written in the README, "supported videoformats depend on the configuration flags of [its dependency] ffmpeg".
regarding the other issue you got, FYI, to have video thumbnail in pcmanfm you need ffmpegthumbnailer: note that, like written in the README, "supported videoformats depend on the configuration flags of [its dependency] ffmpeg".
installed already -- ffmpegthumbnailer -- that is why I was investigating the pcmanfm.thumbnailer file ..
This does work in Void Linux, I had it working in here once,
Thanks though.. though I might have to check which one I installed, it was a while ago... it is one of them little things that need to be fixed to get it working (again). I'm just getting around to it.
Eventually, run the following command as the user that you want to get access with, on the server:
xauth info
This will show the 'Authority file' that will be used (/root/.Xauthority by default, for root, or something like /home/theuser/.Xauthority). If it shows the correct .Xauthority file then you don't have to worry about the XAUTHORITY environment variable actually (actually, I wouldn't know when it wouldn't, except if you want to manipulate a non-standard place of that file).
Remove that file (if it even exists):
rm /root/.Xauthority
Replace /root/.Xauthority with the correct XAUTHORITY file for your case.
Recreate it, but empty (this is needed for a lot of commands):
touch /root/.Xauthority
At this point you'll get the No protocol specified error, even if you got Invalid MIT-MAGIC-COOKIE-1 before. Find the authority file that the X server is using at the moment:
replace 'c0eaf749aa252101a0f57d5087089db7' with what was returned by the list command for you. Now your .Xauthority should be size 51 bytes and you can connect to the X server (again).
regarding the other issue you got, FYI, to have video thumbnail in pcmanfm you need ffmpegthumbnailer: note that, like written in the README, "supported videoformats depend on the configuration flags of [its dependency] ffmpeg".
Haha like I thought, it was just one of them little things missing like, ffmpeg itself .. lol fixed that too..
If you really want to run GUI apps as root (which most of the time, there shouldn't be a reason for it, but it can happen occasionally), you can use kdesu, which is included in a full Slackware install (it is obviously part of KDE), or you could get gksu from SBo. This will set the environment correctly and shouldn't affect permissions in your regular user's home folder (which is a common issue when using su or sudo for GUI apps).
If you really want to run GUI apps as root (which most of the time, there shouldn't be a reason for it, but it can happen occasionally), you can use kdesu, which is included in a full Slackware install (it is obviously part of KDE), or you could get gksu from SBo. This will set the environment correctly and shouldn't affect permissions in your regular user's home folder (which is a common issue when using su or sudo for GUI apps).
Like you said on occasions. Mostly I use nano but yeah I just like working with a gui when the file maybe big or copy paste mab required, (ooh I know that already, got a be careful with copy paste).
But there was an incident not long ago when I was having problems with my clock no syncing with my other distro, had I copy pasted instead of relying on my finders. they took a break and the word never got finished being completely typed out. Due to my fingers not doing what they should have when my brain did. the time wasn't being set properly. that being said on copy paste.
yeah GUI, It is easier to scroll down and for me to do things to it. especially with a desktop file, I'll chop out all of that non needed added defs to shorten it up.
I'm just use to running sudo program name - edit - save - done.
kdesu in fluxbox
gksu I've used before.
got a get / change habits I suppose.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.