271 reputation
2516
bio website linkedin.com/in/…
location
age
visits member for 3 years, 8 months
seen yesterday

Sep
19
revised Where should I put a script that needs to execute once when the user logs in graphically?
deleted 210 characters in body; edited tags; edited title
Sep
17
comment Where should I put a script that needs to execute once when the user logs in graphically?
When I do ps -ef | grep gdm I get: root 1117 1 0 15:16 ? 00:00:00 /usr/sbin/gdm-binary -nodaemon root 1142 1117 0 15:16 ? 00:00:00 /usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1 root 1156 1142 0 15:16 tty1 00:00:53 /usr/bin/Xorg :0 -background none -verbose -auth /var/run/gdm/auth-for-gdm-8pX5qs/database -nolisten tcp vt1 root 1402 1142 0 15:16 ? 00:00:00 pam: gdm-password (Also echo $DESKTOP_SESSION returns gnome.) Given the output, I think that means default fedora 15 runs gnome display manager.
Sep
17
comment Where should I put a script that needs to execute once when the user logs in graphically?
@Gilles, IMO I already stated "default fedora 15" so that should tell you what display manager.
Sep
17
comment Is there a simple linux command that will tell me what my display manager is?
If it only works for gnome, this command will only help you deduce "yes you have Gnome or no you don't have gnome". When the question wants to find out more than that.
Sep
17
comment Is there a simple linux command that will tell me what my display manager is?
+1, echo $DESKTOP_SESSION also returns gnome to me... but maybe this only works for gnome?
Sep
17
comment Where should I put a script that needs to execute once when the user logs in graphically?
also ~/.bash_profile will only execute for shell-login not graphical login. (i didn't downvote tho...)
Sep
17
accepted Did `sudo init 6` cause my file system to be corrupted?
Sep
17
accepted Does mount always require root privileges?
Sep
17
comment Does mount always require root privileges?
what determines the owner of files after mounting?
Sep
17
accepted Default fedora 15 install, how do you get a network drive to mount after login?
Sep
17
accepted How do you protect a plain text credentials file with the username and password?
Sep
17
comment How do you protect a plain text credentials file with the username and password?
are there any unix.stackexchange.com questions or websites that talk about getting the same output... but don't 'solely depend on file permissions'?
Sep
17
comment Where should I put a script that needs to execute once when the user logs in graphically?
Why doesn't ~/.profile get executed when you do graphical log in?
Sep
17
comment Where should I put a script that needs to execute once when the user logs in graphically?
FYI, the script I have will mount some network drives that are used for software development.
Sep
17
asked Where should I put a script that needs to execute once when the user logs in graphically?
Sep
17
comment Did `sudo init 6` cause my file system to be corrupted?
is sudo init 6 the same as using the GUI to click shut down --> click restart?
Sep
17
comment Did `sudo init 6` cause my file system to be corrupted?
RE - "where did you run sudo init 6, on the virtual machine or on the host ?": I ran sudo init 6 on the VM.
Sep
17
comment Did `sudo init 6` cause my file system to be corrupted?
RE - "where did the error appear?": the error appeared when the VM was booting up.
Sep
16
comment Did `sudo init 6` cause my file system to be corrupted?
although i did delete all shared memory... even though some of the shared memory was not owned by my application. (i incorrectly thought that all the shared memory listed via ipcs -m was from my app... so that is why i killed all of them)
Sep
16
comment Did `sudo init 6` cause my file system to be corrupted?
no i did not edit the /etc/inittab