Wednesday, May 15, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 781  / 2 Years ago, thu, january 27, 2022, 1:06:19

I just wondered if some old computers laying around here could still be used for some games if I completely cut off the display manager. Is there a way to start a gui program from the command line in a new (and only) Xsession, even without lxde? I doubt it doesn't need compiz, but can I somehow configure it to only show that window?



If there is, is it still easy to have at least a small border (or frame or something like that) with a cross to terminate and close the Xserver?
I'd like to use it eg. for Minecraft or Starbound.



Thanks!
-Peter


More From » command-line

 Answers
5

I found >Start ubuntu without a desktop environment but start an X application< to be helpful here.



The best answer works for me - exept, when I put the path /media/myusername/I/have/it/on/another/partition/linux64/starbound in, it doesn't show up to choose. I read the tryExec= field looks, if the program is present, else it is ignored. It is not required though, so I'll try without that next.



UPDATE: I figured it out somehow. I played around a little, and it appears that it won't read the /usr/share/xsessions files, since their owner is root.
I had places a .sh script there to mount the partition, too, if not already aviable, but I moved it into ~/bin and now it works fine with that.



Thanks for your help, everyone!


[#21225] Friday, January 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
algicuade

Total Points: 317
Total Questions: 89
Total Answers: 106

Location: Saint Pierre and Miquelon
Member since Fri, Jan 28, 2022
2 Years ago
;