Solved

How do I enable 8bit mode linux desktop?.

Posted on 2004-04-17
5
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…

705 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