Notices
Non Scooby Related Anything Non-Scooby related

How to set screen res for CDE on Solaris 8

Thread Tools
 
Search this Thread
 
Old 13 August 2001, 05:18 PM
  #1  
simon_prickett
Scooby Regular
Thread Starter
 
simon_prickett's Avatar
 
Join Date: Oct 2000
Posts: 1,013
Likes: 0
Received 0 Likes on 0 Posts
Post

Hi there,

Our Sun has thrown its toys out of the pram and defaulted to a really poor screen resolution. pgxconfig reports that the graphics adaptor (raptor) is set to a high res, and open windows works fine after I've hacked the OWconfig file.

Does anyone know what the equivalent file for CDE is? Darned if I can find it. At the moment, CDE just hangs on login, but the login screen appears fine. Openwindows works perfectly.

Tried the Answerbook, Big Admin and docs.sun.com to no avail.

Grrr,

Any help much appreciated,

Simon.
Old 14 August 2001, 02:16 PM
  #2  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

What hardware are you running?

Steve.
Old 14 August 2001, 02:20 PM
  #3  
simon_prickett
Scooby Regular
Thread Starter
 
simon_prickett's Avatar
 
Join Date: Oct 2000
Posts: 1,013
Likes: 0
Received 0 Likes on 0 Posts
Post

Hi Steve,

Ultra 80, Raptor GFX card, Solaris 8.

It was working, then I rebooted the machine for the first time in ages, and it packed up :-(

Simon.
Old 14 August 2001, 02:34 PM
  #4  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

I'd truss pgxconfig and see what it's trying to do. Unless you're on a SunRay it ought to be all you need to change to change CDE's resolution. Grep for stat() and/or open() calls.

Steve.
Old 14 August 2001, 02:38 PM
  #5  
simon_prickett
Scooby Regular
Thread Starter
 
simon_prickett's Avatar
 
Join Date: Oct 2000
Posts: 1,013
Likes: 0
Received 0 Likes on 0 Posts
Post

Thanks Steve,

pgxconfig thinks it is running in 1280 mode at 75 hz which it shows the test screen for OK. It writes the OWConfig file for this, and this works fine when I start /usr/openwin/bin/openwin but nothing gives when I start CDE, I'm not sure if pgxconfig is supposed to write something in /usr/dt or somewhere like that?

I'll have a poke around again this afternoon, thanks for the quick replies.

Simon.
Old 14 August 2001, 02:51 PM
  #6  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

You'll see all the files pgxconfig wants to use with truss(1), might shed some light. I searched Google but didn't find anything useful.

Steve.
Old 14 August 2001, 03:04 PM
  #7  
simon_prickett
Scooby Regular
Thread Starter
 
simon_prickett's Avatar
 
Join Date: Oct 2000
Posts: 1,013
Likes: 0
Received 0 Likes on 0 Posts
Post

Thanks Steve, appreciate all the timely help, will be sure to post any solution I find.

I've tried docs.sun.com, bigadmin, google etc, too.

Oh well, all good fun!

Simon.
Old 14 August 2001, 03:16 PM
  #8  
DrEvil
Scooby Regular
 
DrEvil's Avatar
 
Join Date: Oct 2000
Location: Surrey, UK
Posts: 8,384
Likes: 0
Received 0 Likes on 0 Posts
Post

Check your settings:

# m64config -prconf |grep Current

Current resolution setting: 1152x900x76

Current depth: 24

You cannot go higher than 1152x900 in 24 bit mode on the PGX24 framebuffer.

===

Does the above shed any light? Try checking the resolution with the above command...

Alex
Old 14 August 2001, 03:38 PM
  #9  
simon_prickett
Scooby Regular
Thread Starter
 
simon_prickett's Avatar
 
Join Date: Oct 2000
Posts: 1,013
Likes: 0
Received 0 Likes on 0 Posts
Post

Sorry all, doesn't make any difference...

Would .Xauthority and/or .TTauthority files make any difference here.

Reason I ask is that we've been using the machine to display X apps running over SSH on a remote machine recently, and I'd never restarted X since doing this. I now notice .Xauthority and .TTauthority files on the filesystem with relatively recent dates.

????

Simon.
Old 14 August 2001, 04:10 PM
  #10  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

Nope, .Xauthority decides what can be displayed on your local X, .TTauthority is the same but for ToolTalk (iirc).

Steve.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Ganz1983
Subaru
5
02 October 2015 09:22 AM



Quick Reply: How to set screen res for CDE on Solaris 8



All times are GMT +1. The time now is 05:34 AM.