07-16-2019
Starting Applications With X At Login
So, I wanted to see if I could just use X without a desktop. I installed Debian from a netinstall on a vm and installed xorg with apt. Logged in as a normal user with startx and had a big black background. Seemed like everything was working as expected, so I went to configure tint2 at start up. I tried putting it in .xinitrc and .xsessions, but neither worked even though a lot of online tutorials suggested this. Even tried making a script in /etc/profile.d/, but that didn't work either.
I should note I also tried restarting X and rebooting to make sure things worked or didn't. Not sure if maybe some syntax has changed for this, but any suggestions would be much appreciated.
Last edited by rbatte1; 07-16-2019 at 10:59 AM..
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am an Oracle DBA who has previously worked only on NT machines. I need to install Oracle on an AIX box. This Unix server has only a CRT monitor. The Oracle installation REQUIRES a graphical means of seeing the Unix machine. I've been told that I should telnet from a PC that can display X... (2 Replies)
Discussion started by: jbrax
2 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I have some UNIX servers (all flavor to be honest: SOLARIS, AIX, HP-UX) running some applications.
I would like to publish these applications to remote client mainly running Windows XP.
I know i can remotely access the desktop thanks to Cygwin,Hummingbird EXCEED...
But I don't... (2 Replies)
Discussion started by: Platinium
2 Replies
3. Shell Programming and Scripting
i have to write a script that which would send mails
For all the transient apps
1. How many apps are running
2. Since when is the app running
plz help me in this...............
plz help me, its urgent,.................
plzzzzzzzzzzzzzzzzzzzzzzzzzzz (2 Replies)
Discussion started by: ali560045
2 Replies
4. UNIX for Advanced & Expert Users
Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications.
For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Discussion started by: gonzofish
2 Replies
5. Shell Programming and Scripting
Hi,
I am developing a script that invokes a program, and that program is going to prompt for some input every now and then based on some parameters.
My script shall provide input to the program, automatically, by processing the text output by the program..
say..
when the program asks ... (3 Replies)
Discussion started by: icecoldaswin
3 Replies
6. Linux
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Discussion started by: engineeringme
1 Replies
7. Shell Programming and Scripting
Hi Experts,
Can anyone suggest me kindly, whether designing some small GUI applications are possible in shell scripting.....
Like a small calculator kind of stuff.......
I fit is possible guide me with some examples.
Thanks,
Newbie....... (0 Replies)
Discussion started by: kritibalu
0 Replies
8. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
LEARN ABOUT ULTRIX
startx
STARTX(1) General Commands Manual STARTX(1)
NAME
startx - initialize an X session
SYNOPSIS
startx [ [ client ] options ... ] [ -- [ server ] [ display ] options ... ]
DESCRIPTION
The startx script is a front end to xinit(1) that provides a somewhat nicer user interface for running a single session of the X Window
System. It is often run with no arguments.
Arguments immediately following the startx command are used to start a client in the same manner as xinit(1). The special argument '--'
marks the end of client arguments and the beginning of server options. It may be convenient to specify server options with startx to
change on a per-session basis the default color depth, the server's notion of the number of dots-per-inch the display device presents, or
take advantage of a different server layout, as permitted by the Xorg(1) server and specified in the xorg.conf(5) configuration. Some
examples of specifying server arguments follow; consult the manual page for your X server to determine which arguments are legal.
startx -- -depth 16
startx -- -dpi 100
startx -- -layout Multihead
To determine the client to run, startx first looks for a file called .xinitrc in the user's home directory. If that is not found, it uses
the file xinitrc in the xinit library directory. If command line client options are given, they override this behavior and revert to the
xinit(1) behavior. To determine the server to run, startx first looks for a file called .xserverrc in the user's home directory. If that
is not found, it uses the file xserverrc in the xinit library directory. If command line server options are given, they override this
behavior and revert to the xinit(1) behavior. Users rarely need to provide a .xserverrc file. See the xinit(1) manual page for more
details on the arguments.
The system-wide xinitrc and xserverrc files are found in the /etc/X11/xinit directory.
ENVIRONMENT VARIABLES
DISPLAY This variable gets set to the name of the display to which clients should connect. Note that this gets set, not
read.
XAUTHORITY This variable, if not already defined, gets set to $(HOME)/.Xauthority. This is to prevent the X server, if not
given the -auth argument, from automatically setting up insecure host-based authentication for the local host.
See the Xserver(1) and Xsecurity(7) manual pages for more information on X client/server authentication.
FILES
$(HOME)/.xinitrc Client to run. Typically a shell script which runs many programs in the background.
$(HOME)/.xserverrc Server to run. The default is X.
/etc/X11/xinit/xinitrc Client to run if the user has no .xinitrc file.
/etc/X11/xinit/xserverrc Server to run if the user has no .xserverrc file.
SEE ALSO
xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5)
X Version 11 xinit 1.3.2 STARTX(1)