LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 02-28-2007, 05:32 AM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
xinit in solaris 10


Hi.

I'm still exploring my system and was wondering why the only xinit I have is found in /usr/openwin/bin. Can I use this to launch my X server? And if yes, why is it there? I wanted to write a xinit frontend (such as startx) and blocked my task at this very beginning... Really, what I want to accomplish is the possibility of logging in the terminal and starting X using my own .xinitrc.

Thanks,
Enrico.

Last edited by crisostomo_enrico; 03-01-2007 at 03:01 AM.
 
Old 02-28-2007, 06:43 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You can sure use /usr/openwin/bin/xinit. /usr/openwin is the legacy X11 location under Solaris.

You need to first disable the automatic X server launch. (/usr/dt/bin/dtconfig -d)

Xorg specific binaries are in /usr/X11R6/bin.
 
Old 03-01-2007, 03:03 AM   #3
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by jlliagre
You need to first disable the automatic X server launch. (/usr/dt/bin/dtconfig -d)
Thanks jlliagre, it _almost_ works! I launched dtconfig -d and it reports desktop login as being disabled. Unfortunately, as soon as I log out from the console, the desktop environment is started again!
 
Old 03-01-2007, 07:30 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I did work. I suggest you to read the dtconfig manual page to understand the current behavior.
 
Old 03-01-2007, 07:37 AM   #5
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
well, I read it and probably got some problem with it. The man page states that:

OPTIONS

-d Disables desktop auto-start feature. At end of boot cycle, platform's
native text based login mechanism will be used. [removed, I copied from wrong docs... :S]

So:

> -d Disables desktop auto-start feature. At end of boot cycle, platform's
> native text based login mechanism will be used.
Yesterday I rebooted, so I think I should have seen text based login.

Where am I wrong? I'm surely missing something!

Last edited by crisostomo_enrico; 03-01-2007 at 07:39 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xinit X problem BattousaiX Linux - Software 2 01-31-2012 04:08 PM
Kdrive and xinit slothpuck Linux - Software 0 01-24-2005 01:50 PM
xinit command ftgow Linux - Software 2 06-10-2004 05:01 PM
question about XINIT evaross1 Linux - Software 3 05-12-2004 03:00 AM
mozilla + xinit vapz Linux - Software 0 07-09-2003 02:56 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration