Click to See Complete Forum and Search --> : XFCE--some windows too large for screen
Sometimes when I open up an application, the window is WAY too large for my screen. I've tried to resize them, but they won't resize. I've tried both clicking on the half size button at top right corner of window after moving it across the screen, and I've tried resizing the edges of the window (which is useless--they don't move).
I've looked in my XF86Config file to see what my resolution is set to. I've got 3 settings "1024x768" "800x600" "640x480". I tried deleting all but 1024x768 but that didn't help. I put the other 2 values back in as it didn't seem to make any difference.
Is there something I'm missing? I tried a google search for xfce and xfce window size but it didn't yield any results. Is there a setting I'm not seeing somewhere? Am I looking in the wrong file?
mdwatts
10-02-2002, 05:41 PM
Do you have Virtual or ViewPort set to anything else but '0 0' in your XF86Config?
Originally posted by mdwatts
Do you have Virtual or ViewPort set to anything else but '0 0' in your XF86Config?
I didn't think to look there. I'll check it out when I get home tonight and get back to you. Thanks for the suggestion!:)
mdwatts,
I checked my XF86Config file and I couldn't find either Virtual or ViewPort anywhere. I checked all the associated XF86Config files as well and none of them had either of those settings. So I ran xf86config and tried to set it up again. Now, my X won't come up at all. I'm pretty sure I've got the right monitor settings, and the vid card is correct. The only thing I wasn't too sure of was the vid card memory. However, I chose a fairly conservative setting for it. I remember when I set up Mandrake 8.1 that my vid card (Trident TGUI9660) required the driver for the TGUI9680 for some reason. It refused to work otherwise. I was fiddling with my settings pretty late last night so after I red the error logs a few times, I decided to get some sleep and try again today. Tonight I'll run xf86config again and select the TGUI9680 instead and see if that will fix it. The log messages gave a lot of errors regarding the Trident card, so I'm almost positive that was it.
Oh yeah, during xf86config, it did ask me if I wanted the virtual desktop to be larger than the screen itself (to which I answered `n'). I'm glad you pointed me toward that earlier or I probably wouldn't have thought about the virtual desktop at all. I'll try again this weekend and keep you posted. Thanks again!
mdwatts
10-04-2002, 05:07 PM
Keep us posted.
You did backup your XF86Config (-4) before you reconfigured, didn't you?
That way you can at least restore the original back to the way it was even though it wasn't working correctly.
I didn't back it up. I don't mind plowing my way through fixes. If I can't get my X to be better than it was after tinkering, I'll most likely go for a reinstall. I don't have anything on my machine yet other than Slackware and I haven't done anything to modify it either. It wouldn't be a total catastrophe to format and reinstall.
I went to Trident Microsystems' website (just for verification of my previous hunch), and found the following:
Which driver do I need if my Device ID is reported as 9660?
The Device ID 9660 should use the TGUI 9680 driver.
So, I'll be running xf86config again this weekend for sure, and selecting Trident TGUI9680 instead for my video card and driver. Still have to find out exactly what my horizontal and vertical sync rates are, though. I hope there's more online than the 3 links I found last night for my Hyundai DeluxScan 15G+. Then again, it was 4 AM, so I probably had a typo or three somewhere. :D
mdwatts
10-05-2002, 07:16 AM
I've always found it quite easy to find monitor specs by either searching the manufacturers website or just by searching using any of the popular search engines.
They don't call you Mr. Google for nothing do they? :p
Actually, the 3 links I found the other night were off of Google. I searched again on Friday right after my post and got all I needed (must of made some typos before--I only had 3 hours of sleep the night before). Anyway, I just wanted to keep you posted.
My X is hosed. I have all the correct monitor specs and vid card specs (I even tried to use the TGUI 9680 selection in xf86config). After running xf86config, I checked my XF86Config file and everything seemed to be in order (this time ViewPort 0 0 did in fact show up--thanks for pointing me in that direction, BTW, I didn't even know it was supposed to be there).
When I startx, it acts like it's going to load up, but just sits there with a blank screen. I tried to switch virtual consoles (Alt+Fx and tried Ctrl+Alt+Fx) as well as toggling the resolutions (Ctrl+Alt+`-', Ctrl+`-', and Alt+`-' just for good measure) and the screen stayed blank. I tried Ctrl+Alt+Backspace which did nothing, then I tried Ctrl+Alt+Del resulting in reboot. I checked /var/log/messages but there was nothing describing the X issue. Maybe I'm looking in the wrong place. I would like to solve this issue without having to reinstall because that's just too simple of a solution. There's got to be a way to figure this out.
I really appreciate you keeping up with this post, mdwatts. Hopefully, I'll be able to return the favor someday.:)
EDIT: Typos
Penrich
10-08-2002, 12:48 PM
Now I'm no expert here, but that last symptom is similar to what I see if I try to run my card (Radeon 7000 PCI) with 3d enabled. I don't know what the support for 3d is on your card, but it may be worth turning it off. For me, I have found the easiest way to do this is to comment out the load glx line in the XF86Config file.
load "glx"
to
# load "glx"
If this doesn't work, I'm going to try and gazump mdwatts here and say "post the contents of your XF86Config" :D
Penrich,
Thanks for the suggestion. I'll try it tonight when I get home. I really hope this works out. If not, it will be a while before I can post my XF86Config file for you guys as I can't get my Linux box online without access to X--I've tried the pppsetup and for some reason it doesn't work (another issue I want to fix but that's going to need another thread). I got it to work using KPPP in XFCE, but for some reason setting up the internet connection from command line just isn't happening. So, I'll have to copy it all down by hand and post from my Winbox. If I do have to do it this way, hopefully I'll copy all the information that's needed (I'm going to leave out all the obvious comment stuff, unless you guys might need it).
Again, I appreciate your and mdwatts's help. I'll keep you posted.
Okay,
I took a look at my XF86Config file and found the following:
# load "glx"
It was already commented out. So, after perusing the threads for a while last night, I came across a command that someone mentioned for a different problem: strace.
I read the man page for strace, created a file in my home directory, left it empty, and then typed the following:
strace -o /home/filename startx
My screen went blank as per usual, and I had to reboot (Ctrl+Alt+Del) as nothing else worked. Once I got logged on, I went straight to my strace file and found about 500 lines of stuff. I copied down all the lines that had errors associated with them, but I left them at home (I was a bit late for work). I will post them later tonight as I don't have them right now.
I know that there were several "No such file or directory" errors. When I did a "whereis" on 3 of the 4 phantom files, I was able to find the files. For instance, one of them it was looking for was
/usr/sbin/xauth or something to that effect, and whereis found it in
/usr/X11/sbin/auth
The other files found with whereis all had the X11 or X11R6 when the "startx" procedure was trying to call from the same path, but without the X11 or X11R6. The one file that I do remember it not finding was
/root/.xserverrc and xserverrc (I can't remember the exact path). When I did a whereis on both .xserverrc and xserverrc, nothing was found. I did a [b]ls -a[/] on /root and the other directory for "xserverrc" but I still could not find it.
I'm curious how running xf86config would get rid of this file or change the paths to the other 3 files. It just doesn't make sense to do this when it worked before. Maybe I entered a "y" when I should've entered an "n" somewhere. I figured it would just change the configurations for the vid card and monitor, not rearrange the location of other files. Weird.
As soon as I get home tonight (around 12:30am EST), I'll start typing out the exact lines of error code. Maybe these will be of some help?
Thanks again guys.
Sorry it took so long to post. Hopefully you guys can make more sense of this than I can. I've omitted all the other stuff that didn't show up as errors, if you need it, I'll have to post it much later on because there's A LOT of stuff in there and it might take a while to copy it all out. Here are the errors I got in strace:
ioctl(3, SNDCTL_TMR_TIMEBASE, 0xbfff6a8) = -1 ENOTTY (Inappropriate ioclt for device)
stat64 ("/root/.xserverrc", 0xbffff46c) = -1 ENOENT (No such file or directory)
stat64 ("/usr/X11R6/lib/X11/xinit/xserverrc", 0xbffff39c) = -1 ENOENT (No such file or directory)
"whereis .xserverrc" and "whereis xserverrc" did not find anything
wait4(-1, 0xbfffcf08, WNOHANG, NULL) = -1 ECHILD (No child processes)
stat64 ("/usr/local/sbin/xauth", 0xbffff21c) = -1 ENOENT (No such file or directory)
stat64 ("/usr/sbin/xauth", 0xbffff21c) = -1 ENOENT (No such file or directory)
stat64 ("/sbin/xauth", 0xbffff21c) = -1 ENOENT (No such file or directory)
stat64 ("/usr/bin/xauth", 0xbffff21c) = -1 ENOENT (No such file or directory)
stat64 ("/bin/xauth", 0xbffff21c) = -1 ENOENT (No such file or directory)
"whereis xauth" showed the following:
/usr/X11R6/bin/xauth
/usr/bin/X11/xauth
/usr/X11/bin/xauth
stat64 ("/usr/local/sbin/xinit", 0xbffff4ac) = -1 ENOENT (No such file or directory)
stat64 ("/usr/sbin/xinit", 0xbffff4ac) = -1 ENOENT (No such file or directory)
stat64 ("/sbin/xinit", 0xbffff4ac) = -1 ENOENT (No such file or directory)
stat64 ("/usr/local/bin/xinit", 0xbffff4ac) = -1 ENOENT (No such file or directory)
stat64 ("/usr/bin/xinit", 0xbffff4ac) = -1 ENOENT (No such file or directory)
stat64 ("/bin/xinit", 0xbffff4ac) = -1 ENOENT (No such file or directory)
"whereis xinit" showed the following:
/usr/X11R6/bin/xinit
/usr/bin/X11/xinit
/usr/X11/bin/xinit
stat64 ("/usr/local/sbin/deallocvt", 0xbffff35c) = -1 ENOENT (No such file or directory)
stat64 ("/usr/sbin/deallocvt", 0xbffff35c) = -1 ENOENT (No such file or directory)
stat64 ("/sbin/deallocvt", 0xbffff35c) = -1 ENOENT (No such file or directory)
stat64 ("/usr/local/bin/deallocvt", 0xbffff35c) = -1 ENOENT (No such file or directory)
"whereis deallocvt" showed the following:
/usr/bin/deallocvt
Open ("/etc/ld.so.preload", 0_RDONLY) = -1 ENOENT (No such file or directory)
"whereis ld.so.preload" showed the following:
/etc/ld.so.conf
/etc/ld.so.cache
Thanks again guys.
nillo
10-10-2002, 04:45 PM
Originally posted by mdwatts
I've always found it quite easy to find monitor specs by either searching the manufacturers website or just by searching using any of the popular search engines.
what if the manufacturer went out of business? haha.... that was the problem when i was trying to configure settings for my monitor and netwrok card...
both of the company's had gone out of business :S haha...oh and the company my dad got the computer went bankrupt andwent out of business... so i cant get any technical support for anything on it...haha
Anyone have any thoughts on this?
I took the easy way out after trying numerous variations in XF86Config which failed every time. I deleted all partitions, repartitioned with fdisk, formatted the new partitions, and reinstalled Slackware 8.1. New problems occurred after tinkering, but I'll just start a different thread for that.;)
Penrich
10-16-2002, 04:28 PM
But did it fix your X problem....;)
Yeah, it did, but then I just had to go and change the defaults again. I don't want my X to be run with the defaults. I want to be able to change the resolutions and let it run with the correct video card and monitor info. So, now I have another problem. :D
I created a new thread in Technical Support forum here (http://www.linuxnewbie.org/forum/showthread.php?threadid=69626) . So far, it doesn't look like anyone that's read the post has any ideas on it. It's only been posted for about 24 hours though, so who knows? Maybe someone will be able to help. I could reset everything in XF86Config back to defaults, but what fun would that be?:D
mdwatts
10-17-2002, 06:15 PM
Originally posted by Odin
I took the easy way out after trying numerous variations in XF86Config which failed every time. I deleted all partitions, repartitioned with fdisk, formatted the new partitions, and reinstalled Slackware 8.1. New problems occurred after tinkering, but I'll just start a different thread for that.;)
That's one way to fix it. :D
Actually I would have recommended you reinstall after ALL those errors. Probably would have taken too much time to figure out the problem and try to fix.
So you've posted a new question in Technical? Can I delete it? :p
Odin0
10-17-2002, 09:05 PM
Originally posted by mdwatts
That's one way to fix it. :D
Actually I would have recommended you reinstall after ALL those errors. Probably would have taken too much time to figure out the problem and try to fix.
So you've posted a new question in Technical? Can I delete it? :p
It's a different topic (I think):D
Say, since you mentioned deleting it, I noticed that my account is no longer valid. I can view my profile, update it, but cannot view my PMs or post any replies, quotes, or new threads in ANY forum. I checked the members list and my name is no longer there. Did you hit the wrong button?:D
It might be because I changed my email address, but I haven't gotten anything in my email for a confirmation or what not. I had to create a new account here at LNO, under this name and got an email for account activation. Is there anyway to get my old account back? Thanks!
Nevermind. I got my reverification email today. :D