Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
strace is your friend.
probably with -f option. It'll give you pages of output, just look twoards the end, and see what fails. It'll show you what syscall the program is making (you'll see the file it's trying to get I/O rights on)
I usually do..
strace -f <program> &> programdump
Then just open programdump in your favourite editor, and look twoards the end.
Location: 3rd electron on the left getting mugged by the nutrinos at Quarks
Distribution: Pop_OS
Posts: 140
Original Poster
Rep:
Well here is what I got: tail c10 svga_io_dump
munmap(0x40016000, 4096) = 0
open("/home/gelnven/.svgalibrc", O_RDONLY) = -1 ENOENT (No such file or directory)
ioperm(0x3b4, 0x2c, 0x1) = -1 EPERM (Operation not permitted)
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
write(1, "svgalib: Cannot get I/O permissi"..., 37svgalib: Cannot get I/O permissions.
) = 37
munmap(0x40016000, 4096) = 0
exit_group(1) = ?
okay, not exactly sure what I'm looking for but I'm guessing it's either the line that says no such file or the one that says operation not permitted? But from what I understand (although I could be wrong) if the file /etc/vga/vgalib.config exists there is not a requirement for the .svgalibrc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.