Solved

How do I enable 8bit mode linux desktop?.

Posted on 2004-04-17
5
198 Views
Last Modified: 2013-12-15
Hi,
I am working on linux 7.2, I am using gnome desktop.
I can login from original desktop to second desktop  by ctrl + alt F2 , allows me to login second desktop, however I would like to know how to open GUI desktop?. ordinary "startx" command does't help.
so can anyone help me how to enable 8bit desktop mode?.
thanks in advance
sivasankar
0
Comment
Question by:r_sivasankar
  • 3
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 10849690
You can't start another X server and Gui display on an alternate console. The X server that is running the original, login, desktop takes over the video card.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10851139
You _can_ start a second X server. I do this all the time: I have three X servers running right now on my Linux system. One is the local X session, one is is a remote session running on my Solaris machine, and the third is a remote session to another Linux box.

You may run into problems when you run two different X sessions connected to the same config files in your home directory, but other than that it would work just fine.

Run X --help to find out which parameters the command supports. If you want to run a completely different configuration, you should probably create a copy of the XF86Config file and use the -xf86config <file> parameter. You can also specify the bit depth with the -depth <n> parameter.

The trick to get more than one server running is to use the :1 (or :2, :3) display number. The default display is :0, which is on the 7th virtual console (Alt-Ctrl-7), with :1 you get a server running on the 8th console...

X gives you just the server, nothing else. You probably want your normal desktop. This is done with startx. You can pass a display number to startx as well
startx -- :1
(I cannot test this right now, but it should work).
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10851142
BTW: If you do have a remote machine that runs xdm with remote logins enables, you can do this:

X -query <remote server> :1

This will convert your Linux box into a X terminal.
0
 
LVL 5

Expert Comment

by:willy134
ID: 10864286
X --depth 8
runs x at depth 8
X --depth 8 :1
as described above.

startx --depth 8 should also work.
I have several times used several X desktops on a local machine because one desktop needs to be 8bit for some application.  Then I use ctrl-alt-f7/f8 to switch between the two.  I also have to start the display manager by hand

export display=:1
startkde (if that doesn't run X itself)
xterm //as a backup

--willy
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 50 total points
ID: 10864468
As I already mentioned, -depth is one of the options that X supports :-)

For startx you need to indicate that you are specifying server options:
xinit <client options> -- <server options> This means that the command should look like this:

xinit -- -depth 8 :1

(and, it's only one '-' for server options)
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux redhat 7.2 10 70
VMware Workstation 12 Player 16 71
How code a 301 redirect for folder files -> 1 file 2 39
Upgrade BIOS / EUFI at Scale 4 28
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now